pkmnct / homebridge-television-universal-control Goto Github PK
View Code? Open in Web Editor NEWThis Homebridge plugin enables control of one or more compatible devices using one "Television" in HomeKit.
License: Apache License 2.0
This Homebridge plugin enables control of one or more compatible devices using one "Television" in HomeKit.
License: Apache License 2.0
How do we insert a carriage return in UART commands?
/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.
I don't know what I am doing wrong, but the homekit app only shows one accessory and not this one. Could it be caused by the plugin configuration?
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.
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"}]
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.