Closed RealNd closed 2 years ago
it depends on the state of the TV (on/off). the id consists of the name and the id itself. apparently the name changes after turning on the TV. how can I fix it?
I am not sure which id you exactly mean, but i do not think that the id of the homebridge accessory(?) changes when you turn on or off the tv. From where does the id come? It seems to me like the third-party voice assistant is generating that.
yes, apparently the bridge id. can it be bind?
I do not know what id that it is and from where it comes. I am not sure if your issues has anything to do with the plugin, it seems for me like an issue with the third-party voice assistant which you are using.
I'm not sure if this is related to the voice assistant
the voice assistant generates an id from the name of the device and its ad_iid
I duplicated the TV in the on/off states
it turns out that the name of the TV in the off state is "TV in the bedroom", ID to turn on the TV = "TV in the bedroom 0291_1_8"
after turning on the TV, the name changes - and the ID "LG TV_1_8" changes
[26/06/2022, 10:44:42] [G-On Alice] Homebridge Device with such id is not found { id: 'LG TV_1_8', capabilities: [ { type: 'devices.capabilities.on_off', state: [Object] } ] } [26/06/2022, 10:44:42] [G-On Alice] Action on 192.168.68.106 34473 undefined null [26/06/2022, 10:44:43] [webostv] [Телевизор в спальне] Connected to TV [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] Got TV information [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] TV webOS version: 4.0 [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] TV turned on! [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] App launched, current appId: com.webos.app.livetv [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] Sound output changed. Current sound output: tv_speaker [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] Channel changed. Current channel: 13, СТС, channelId: 3_70_13_13_2_24_41024 [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] Subscribed to TV services [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] Connected to remote pointer input socket [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] Setup finished [26/06/2022, 10:44:44] [webostv] [Телевизор в спальне] TV setup finished, ready to control tv
[26/06/2022, 11:03:36] [G-On Alice] Homebridge Device with such id is not found { id: 'Телевизор в спальне 0291_1_8', capabilities: [ { type: 'devices.capabilities.on_off', state: [Object] } ] } [26/06/2022, 11:03:36] [G-On Alice] Action on 192.168.68.106 34473 undefined null [26/06/2022, 11:03:37] [webostv] [Телевизор в спальне] TV turned on!
that is, the problem is not even in the ID, but in changing the name of the device
The plugin does not change any id's based on the state(whether it is on or off). The id "LG TV_1_8" is unknown to me and it does not come from my plugin. Again, this is most probably an issue with the third-party voice assistant which you are using.
I use a third-party voice assistant, which after restarting Homebridge loses only the lg TV
[25/06/2022, 16:55:30] [ G-On Alice] Homebridge Device with such id is not found { id: 'TV in bedroom 0291_1_640', capabilities: [ { type: 'devices.capabilities.on_off', state: [Object] } ] }
does the id change every time?