Release -  Turn Off screensaver
#1
This weekend I released a new screensaver named "Turn Off".

It is available from the default Kodi repository for Krypton and higher.

Its purpose is to turn of the display (TV, projector, monitor) by cutting the HDMI signal or using CEC or DPMS functionality.
In that regard it could work with any brand of display or hardware.

I wrote it because in my case using Raspberry Pi's, the RPi device stays on all the time, but the display never turns off.
Whether that display is a monitor (CEC won't work) or a projector (bad CEC implementation, turns on randomly just when you have left on vacation !!).

So in a way, this is a true "screen saver".

Additionally, it can also turn off audio (think: A/V receiver), log out the current user (think: parental control) or sleep/hibernate/power down your system.

The implementation already works well for specific use-cases I tested, but no doubt you have different hardware and unique instructions to make your display turn off.
I would like to hear from you so we can add this method to the existing screensaver add-on.

Feedback appreciated.
Reply
#2
Hi, working great on odroid with libreelec and hdmi cec, but on another machine, that uses libreelec with display port, I am unable to keep my tv turned off. The only method that do something is DPMS (bulit-in). It turn the display off, but after 5 seconds, it turns back on again. Any suggestions what should I try?
Reply
#3
If you find something that works for you, we can look at how to integrate it.
But I won't be able to help you with this specifically, because I cannot test.

The problem with DPMS on the command-line usually is that the moment you press enter, that key-press itself is the trigger/event that brings the display back.
In that case usually the solution is to sleep a second before running the command, so that the trigger/event has passed when it goes into sleep.

Maybe that could be of help here too.
Could you edit the addon to add a sleep and see if that works ?
Reply
#4
Hello dag-, I just found and tested Turn Off in my "particular" setup. In my kitchen, near the ceiling, I have a monitor that used to be connected to a Rpi by a hdmi/dvi cable (monitor doesn't have hdmi connector) and I had a screensaver that used vcgencmd to kill the signal and it worked just fine.

Recently I replaced the Rpi with an Aml S905X box. Sadly, none of the methods of Turn Off seem to work.

Isn't there a method like vcgencmd that would work on these boxes by just killing the signal?. Thanks
Reply
#5
EDIT: The DPMS (built-in) method seems to do something, but it actually restarts kodi. I tried it with preview and also by letting it go to sleep by itself, same result.
Reply
#6
Just what I was looking for, works perfectly using cec.
A true screensaver, thanks for sharing!
Reply
#7
Hi, tried it on LG 47LM620S, and unfortunately none of the options work. CEC is working, KODI can be controlled via HDMI by the TV's remote, but the TV is not turned off.
Reply
#8
(2019-02-07, 00:49)STEPHANVS Wrote: Hi, tried it on LG 47LM620S, and unfortunately none of the options work. CEC is working, KODI can be controlled via HDMI by the TV's remote, but the TV is not turned off.
 Nevermind, found out, that LG managed to successfully NOT implement turn off via CEC on most TVs older than 2015. Mine is from 2012...
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Turn Off screensaver00