Maassoft / ColorControl

Easily change NVIDIA display settings and/or control LG TV's
GNU General Public License v3.0
918 stars 42 forks source link

Samsung TV turns off and on with the test function, but not in use #364

Open stevetb777 opened 5 months ago

stevetb777 commented 5 months ago

First of all, thank you for this amazing program. It works flawlessly with my LG TV for my gaming setup.

I'm having issues on my main system which has a Samsung TV as the main screen (75" 8K QLED). If I could get this working like a monitor and not need to use the remote to turn off and on all the time, that would be amazing. =D

When I do "Test power off / on" under settings on the Samsung tab it works beautifully. It shuts off, and turns on again when I press the Enter key. In actual use, if I put my computer to sleep it shuts off, but does not come back on after resume from standby (though the box is ticked). Also if Windows turns off the display after X minutes, that works but it does not come back on with keyboard or mouse activity. I set retries to 40 under settings, that did not help.

Thank you so much!!

{"device":{"FrameTVSupport":"false","GamePadSupport":"true","ImeSyncedSupport":"true","Language":"en_US","OS":"Tizen","PowerState":"on","TokenAuthSupport":"true","VoiceSupport":"true","WallScreenRatio":"0","WallService":"false","countryCode":"US","description":"Samsung DTV RCR","developerIP":"0.0.0.0","developerMode":"0","duid":"uuid:29b76356-8461-4b0e-a949-8e6e9d1c3347","firmwareVersion":"Unknown","id":"uuid:29b76356-8461-4b0e-a949-8e6e9d1c3347","ip":"192.168.1.22","model":"20_NIKEM_8K","modelName":"QN75Q900TSFXZA","name":"[TV] Big Screen","networkType":"wireless","resolution":"7680x4320","smartHubAgreement":"true","ssid":"e8:ad:a6:43:fe:b6","type":"Samsung SmartTV","udn":"uuid:29b76356-8461-4b0e-a949-8e6e9d1c3347","wifiMac":"64:E7:D8:6B:0B:D5"},"id":"uuid:29b76356-8461-4b0e-a949-8e6e9d1c3347","isSupport":"{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n","name":"[TV] Big Screen","remote":"1.0","type":"Samsung SmartTV","uri":"http://192.168.1.22:8001/api/v2/","version":"2.0.25"}

Maassoft commented 5 months ago

Have you enabled the setting "Power On with Mobile" on the TV? You can find this under Connection -> Network -> Expert settings. I think the test functionality works because the TV is not fully powered down and simply sending a "POWER" button through the web service still works. But if the TV is stand-by, it requires a Wake-on-Lan packet to wake up again, which only works with the aforementioned setting activated.

stevetb777 commented 5 months ago

Just checked, "Power On with Mobile" is enabled. My TV had a popup asking to grant permissions to ColorControl (or similar) when I first installed it. I do kind of like this not fully powered down thing also, that might be good for screen sleep settings in Windows. Thank you!

stevetb777 commented 5 months ago

FYI I tried sending a magic packet to my TV via the wakeonlan python library and it turned on.

Maassoft commented 5 months ago

So a manual magic packet works, but ColorControl does not wake the TV? Strange, it's working on my S95C. You do not cut the power to the TV? I've found out that at least on my S95C, if you cut the the power to the TV and then plug it in again, it takes at least a minute before it starts responding to the WOL/connection requests again.