2021-02-23, 23:27
(2021-02-19, 12:51)mariofenech Wrote:(2021-02-19, 01:47)harry72 Wrote:I m not sure how OSMC works but it might be that you need to send the command as root user as you r saying but that might need a bit more fiddling then just changing command and adding path...but you can always try.(2021-02-18, 23:32)mariofenech Wrote: Does it work manually from ssh?
Code:vcgencmd display_power 0
Code:vcgencmd display_power 1
Hi Mario,
Thanks for responding so quickly.
Yes, if I type the commands on the console via SSH they work (even without "sudo", etc.). On the console
andCode:display_power=0
is displayed then.Code:display_power=1
Perhaps it makes a difference that I am using OSMC?
Would it help to add the full path to vcgencmd in screensaver.py?
Thank you in advance for your help.
Harald
Saying that i use Turn Off all the time and it's incorporated in my power button script and works fine on LibreElec via CEC turn off and on..now i just tried screen power off and it also works without any errors..
I would open a ticket on Github perhaps Dev can help you..
I see your point. In my setup changing
Code:
vcgencmd
Code:
/opt/vc/bin/vcgencmd
Thanks for your work.
Harry