Inactive Shutdown Timer

  • Hello dear colleagues,

    To make it short, I have installed LibreELEC 12.2 on my PC, which is amd64. What is not working properly for me is the screensaver. As soon as I start a movie from the hard drive or use the Waipu.TV app, the screensaver does not activate.

    Why is this a problem? I need an inactive timer for the night so that the computer shuts down as soon as I fall asleep. Since the screensaver only works when nothing is being played, it is relatively pointless.

    I see two possibilities:

    1. Teach the screensaver to work even when I am playing a video from the hard drive or using the Waipu.TV app.
    2. Find another app that can accomplish this, which I have not yet found.

    I would appreciate your help.

  • Kodi has a simple "shutdown timer" which you can set via the power icon in the top-left corner of the home screen. Once the timer has been set the system shuts down (without prompting to remain awake) when the timer value is reached. So if you are confident of falling asleep in ~20 mins, set the value to 30 or 40 mins and the system will be off shortly after you are.

    If you are playing local video media or some form of PVR or internet stream, the system remains in an active state for the duration of the media or stream and the screensaver will not show until x minutes after the system is seen to be inactive.

    Detecting when you fall asleep and sending a remote shutdown command X mins later would be a fun RPi + sensors project :)

    NB: Most TV's have a built-in sleep timer function. I have elderly relatives that have their TV configured for 60 mins. It prompts to reset/continue by hitting OK on the remote and if not pressed (because they dozed off) it shuts down.