Noob Addon quesiton (CEC screensaver help requested)
#1
Can anyone tell me if there is a screensaver addon that will let me execute system commands, or if there is an easy way to make a simple one?

I would like to execute echo "standby 0" | cec-client -s at the initialization of the  screensaver and  echo "on 0" | cec-client -s when the screensaver stops.

Any suggestions would be helpful.

I know that there is a screensaver called Turn Off, but unfortunately it is not compatible with my system.
These commands do work when issued from a remote terminal, so I know that the CEC is communicating.
Reply
#2
I found the answer, and am posting it here in case it helps someone else.
There is an addon called Kodi Callbacks. It will execute a script with a screensaver event as a trigger.
I just used dim screensaver as a trigger, and had callbacks execute a script containing echo "standby 0" | cec-client -s.
Now I have a power saving tv again. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Noob Addon quesiton (CEC screensaver help requested)0