hobbyquaker / lgtv2

Control LG WebOS TV using node.js :tv:
MIT License
334 stars 44 forks source link

turnOff command switches TV on when LAN port still awake #15

Open nelisbijl opened 6 years ago

nelisbijl commented 6 years ago

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?

hobbyquaker commented 6 years ago

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.

vincentBesseau commented 5 years ago

Same issue on my TV WebOs 3.

rcarmo commented 5 years ago

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).

DiederikvandenB commented 2 years ago

For other people running in to this: see https://github.com/hobbyquaker/node-red-contrib-lgtv/issues/7#issuecomment-1170030824 on how to track the power state. Works with 2022 models.