iobroker-community-adapters / ioBroker.lgtv

LG WebOS SmartTV adapter for ioBroker
http://iobroker.net/
MIT License
22 stars 21 forks source link

Turn Off is not working #164

Closed basty2 closed 3 months ago

basty2 commented 9 months ago

Describe the bug
The adapter connects with the tv. I can turn on the tv with the adapter.

To Reproduce
Steps to reproduce the behavior:

many commands are working fine:

setState('lgtv.0.states.launch', 'youtube'); setState('lgtv.0.states.power', true); or volume change.

but it is not possible to switch off the tv with one of the following commands:

setState('lgtv.0.states.turnOff', true); or setState('lgtv.0.states.power', false);

Expected behavior
Switch off the TV

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

` lgtv.0 2023-10-15 13:15:07.853 debug Sending turn OFF command to WebOS TV: 192.168.181.60
lgtv.0 2023-10-15 13:15:07.853 debug State change "states.power" - VALUE: false
lgtv.0 2023-10-15 13:11:45.370 debug Sending turn OFF command to WebOS TV: 192.168.181.60
lgtv.0 2023-10-15 13:11:45.370 debug State change "states.power" - VALUE: false
lgtv.0 2023-10-15 13:11:40.499 debug Send WOL to MAC: {a8:23:fe:69:16:8a} OK
lgtv.0 2023-10-15 13:11:40.498 debug GetState mac: {"val":"xyz","ack":true,"ts":1697368259326,"q":0,"from":"system.adapter.lgtv.0","user":"system.user.admin","lc":1697367337007}
lgtv.0 2023-10-15 13:11:40.497 debug State change "states.power" - VALUE: true`

Versions:

Additional context

mcm1957 commented 9 months ago

Looks like tv is switched off but restarted by WOL.

@basty2 Did you see any such sequence (tv seitching off but on again) at your system?

basty2 commented 9 months ago

no I have not recognized. For example, the screen saver was on (fireworks), but it just stays as it is, does not turn off. By the way, the model is OLED55C8LLA

mcm1957 commented 9 months ago

@basty2 Please retest with 2.1.2 (available at latest tomorrow)

@agross If you have any input in regard to this issue please let us know.

mcm1957 commented 3 months ago

no more comment, no feedback for test with 2.1.2 So lets close here

Please open a new issue if problem stiull exists.