Giter Club home page Giter Club logo

homebridge-television-universal-control's People

Contributors

dependabot[bot] avatar pkmnct avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homebridge-television-universal-control's Issues

Crash loop when using Child Bridges

/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Registry.js:108
    service.emit('error', new Error('Service name is already in use on the network'))
                          ^
Error: Service name is already in use on the network
    at Registry._onProbeComplete (/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Registry.js:108:27)
    at Prober.done (/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Prober.js:67:10)
    at Prober.onMDNSresponse (/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Prober.js:61:102)
    at EventEmitter.emit (node:events:394:28)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/multicast-dns/index.js:49:43)
    at Socket.emit (node:events:394:28)
    at UDP.onMessage (node:dgram:931:8)

It works if I reset all my devices, clear the cache, and change the MAC and port, but the moment I restart the bridge for any reason, it will stop working, and go into a reset loop, giving me the above error.

Command line scripts

Is there any chance a protocol could be „command line scripts“? I have a bunch of scripts that control my TV successfully, this function is all I need for integrating this into homekit/bridge.

Plugin Crashing on boot using LIRC

Hi,

Just trying to setup LIRC to work with this plugin. LIRC is installed on the same Raspberry Pi as Homebridge however even with the simplest of configs I get the following callback...

TypeError: Cannot read property 'forEach' of undefined
    at new Television (/usr/lib/node_modules/homebridge-television-universal-control/src/platformAccessory.ts:275:24)
    at TelevisionUniversalControl.discoverDevices (/usr/lib/node_modules/homebridge-television-universal-control/src/platform.ts:88:9)
    at HomebridgeAPI.<anonymous> (/usr/lib/node_modules/homebridge-television-universal-control/src/platform.ts:39:12)
    at HomebridgeAPI.emit (events.js:327:22)
    at HomebridgeAPI.signalFinished (/usr/lib/node_modules/homebridge/src/api.ts:251:10)
    at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:160:14)
    at cli (/usr/lib/node_modules/homebridge/src/cli.ts:80:10)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)

Is there an example config that should always work or is it a case of if there is not a fully configured TV then the plugin will crash?

p.s my current config looks like this:

{
            "groups": [
                {
                    "name": "Living Room TV",
                    "devices": {
                        "lirc": [
                            {
                                "name": "Samsung UE40ES5700",
                                "remote": "UE40ES5700"
                            }
                        ]
                    },
                    "power": {
                        "on": {
                            "commands": [
                                {
                                    "lirc": [
                                        {
                                            "commands": [
                                                "KEY_POWER"
                                            ],
                                            "device": "Samsung UE40ES5700"
                                        }
                                    ]
                                }
                            ]
                        },
                        "off": {
                            "commands": []
                        }
                    },
                    "speaker": {
                        "mute_on": {
                            "commands": []
                        },
                        "mute_off": {
                            "commands": []
                        },
                        "volume_up": {
                            "commands": []
                        },
                        "volume_down": {
                            "commands": []
                        }
                    }
                }
            ],
            "platform": "TelevisionUniversalControl"
}

Many thanks for the help

example configs?

I'm having trouble getting this to communicate with my LG TV over UART. Are there any example configs? Is there a debug flag to show any responses it gets from the device?

Specifically, I'm getting Incorrectly configured serial command in configuration: [{"commands":["ka 0 01\n"],"device":"/dev/ttyUSB0"}]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.