hobbyquaker/lgtv2

turnOff command switches TV on when LAN port still awake

nelisbijl opened this issue · 4 comments

If you turn your TV off with the remote and then send the system/turnOff command within the first minute or so, the TV switches back on.
Seems like the LAN port is still accepting connections at that point.
This won't happen if you wait a bit longer. Then a WOL is needed to switch on the TV.

This issue is in a way related to #12

Any idea on how to prevent this?

Sry for the long delay. I have no clue how to prevent this. With my TV (older on with WebOS 2) this issue does not occur.

Same issue on my TV WebOs 3.

Is there a way to figure out power status? I’d love to know when the TV goes into standby (but is still listening on port 3000).

For other people running in to this: see hobbyquaker/node-red-contrib-lgtv#7 (comment) on how to track the power state. Works with 2022 models.