g30r93g / homebridge-panasonic

A Homebridge plugin for Panasonic Viera TV's. Written to support the new Homekit TV accessory.
MIT License
21 stars 3 forks source link

TV is none #25

Closed Llewyne closed 5 years ago

Llewyne commented 5 years ago

Whenever I open the home app on my phone Homebridge prints "TV is none". The home app shows the tv as off, but I can turn it off by clicking on the accessory. So the last line here is actually the tv turning off. It is like the power state is reversed somehow.

Note: My TV (model TX-L42ET5E) is not able to power on over network directly, so I use the home app to wake up my ps4, which turns on my TV through HDMI.

[10/26/2019, 10:07:53 AM] [Panasonic Viera] TV is none [10/26/2019, 10:08:58 AM] [Panasonic Viera] TV is none [10/26/2019, 10:14:17 AM] [Panasonic Viera] TV is none [10/26/2019, 10:19:24 AM] [Panasonic Viera] TV is none [10/26/2019, 10:21:33 AM] [Panasonic Viera] TV is none [10/26/2019, 10:23:07 AM] [Panasonic Viera] TV is none [10/26/2019, 10:25:10 AM] [Panasonic Viera] TV is none [10/26/2019, 10:26:32 AM] [Panasonic Viera] TV is none [10/26/2019, 10:26:38 AM] [Panasonic Viera] Powering TV on...

g30r93g commented 5 years ago

Since your TV does not support power on over network, it won't give the correct screen state, which I'm sure you're aware of. Anyway, I'll return the TV as on instead as off. Please be aware that it won't track the state in the plugin code.