Rasplex shutdown function timer not working

Running Rasplex 1.0.3 on Raspberry Pi 2. Unless I’m missing something, I can’t get the shutdown function timer to work. I’ve tried two ways to do this, are either of these correct? Neither have the desired outcome and I can’t find a guide online which suggests to me this should be a fairly simple process.

  1. Preferences > System > Power saving. Set shutdown function timer to 5 minutes. ‘Shutdown function’ setting is on ‘shutdown’ and there is no other option. Upon exiting this screen I would now expect the Raspberry pi 2 to automatically shut down after 5 minutes, but it does not.

  2. Or, does ‘shutdown function timer’ put a delay timer on the shutdown function itself on the homepage? I try pressing shutdown after setting it to 5 minutes, and the Raspberry Pi 2 just shuts down straight away.

Any ideas? Am I being stupid here?

I have now tried this on 1.0.1 on my Pi 2 and I am getting the same result that the shutdown function timer does not work. Is this a known issue? If so, is there a fix?

Shutdown is working, the shutdown timer set in preferences shuts down the RPi after no activity within the duration specified, no activity means no scrolling in menus, no media playback, etc. If you use the remote in any way then this resets the timer to the duration specified.

I have just verified this on RPi0, RPi1, RPi2 and RPi3 using Rasplex 1.0.3.

Regards

Hi Ned,

Thanks for the reply. So is it impossible to set a shutdown timer that works while a video is playing? I want to use it to play a random series of videos in bed and set it to turn off after a couple of hours so it’s not playing all night when I’m asleep. This is how the shutdown timer worked on a previous version of Kodi I used, is this not the case with RasPlex?

Thanks
Ross

In case anyone else has a similar issue, I’ve found a way around this to suit my needs using a cron job.

  • SSH into Rasplex using ‘root’ and ‘rasplex’ as user and password
  • Run the command ‘crontab -e’
  • I wanted my Rasplex to shutdown at 1am every day, so I typed ‘0 1 * * * shutdown -h now’
  • Save this and exit
  • Rasplex will now shutdown at 1am every day if it is on