Feature Request - Turn Off Screen
benjamin-rousseau-shift opened this issue · 8 comments
Hi there. Thanks for this SDK !
Is there a way to turn off the screen with it , like you can do in 'Energy Saving' Menu where you can just turn the screen black by clicking on 'Screen Off'
Side Request :
Do you think it's possible to return the Name you set to the TV ? The 'Device Name' The System Info do not return that.
Thanks !
I came here just to write this feature request. Is it possible? Maybe with some indirect script that would manually press correct buttons?
It's definitely possible given that klattimer supports it:
def screenOff(self):
self.__send_command("request", "ssap://com.webos.service.tvpower/power/turnOffScreen", {"standbyMode": "active"})
def screenOn(self):
self.__send_command("request", "ssap://com.webos.service.tvpower/power/turnOnScreen", {"standbyMode": "active"})
Hi @jurekmroczkowski, Thank you so much!
I have just created a new PR #68 with the change. Can you folks please test it out?
Checking in to see if anyone wants to test the patch out before I merge it with master. Cheers
Checking in to see if anyone wants to test the patch out before I merge it with master. Cheers
Tested it manually, works perfectly fine.
Thank you so much! I almost forgot about this PR. Merging this in.
Thank you so much! I almost forgot about this PR. Merging this in.
Could you also update the pip package, please? Thanks!
Done. Updated PyPI, the latest version is v0.8.7.