Add missing power saving options from PHT?

Hello,

 

I use Rasplex 0.6 and I have noticed that in the power saving option "Put display to sleep when idle", as well as some others are missing.

 

Would it be possible to enable this feature in the next release? This allow my projector to trigger the sleep mode when it detects that Rasplex's video input is off. 

 

Many thanks !  ^_^

Up?

+1  to this

+1

I’m not entirely sure what you guys mean by a ‘sleep mode’, or why it would be needed.

As-is an RPi1 consumes a max amount of power of appx 5W, with the RPi2 using appx twice that.
And those are the peak values… Average power consumption when not playing anything is lower.
Is that really a critical amount to save on through a ‘sleep mode’ ?

Also, while some savings might be possible by reduced clock frequencies, a true sleep mode as used in a PC would hardly be possible. Unlike a PC the RPi has no hardware preparations for waking from a sleep mode. It’s only ways of interacting with the user rely on the CPU running and scanning its I/O interfaces.

Edit:
Looking at the original post again, it seems that the primary need described is not really a matter of having the RPi sleep, but rather a matter of telling the projector to sleep when not used, which could be possible through CEC protocol instead (regardless of whether the RPi sleeps or not), assuming that the projector can respond to CEC commands.

Best regards: dlanor

@dlanor said:
I’m not entirely sure what you guys mean by a ‘sleep mode’, or why it would be needed.

As-is an RPi1 consumes a max amount of power of appx 5W, with the RPi2 using appx twice that.
And those are the peak values… Average power consumption when not playing anything is lower.
Is that really a critical amount to save on through a ‘sleep mode’ ?

Also, while some savings might be possible by reduced clock frequencies, a true sleep mode as used in a PC would hardly be possible. Unlike a PC the RPi has no hardware preparations for waking from a sleep mode. It’s only ways of interacting with the user rely on the CPU running and scanning its I/O interfaces.

Edit:
Looking at the original post again, it seems that the primary need described is not really a matter of having the RPi sleep, but rather a matter of telling the projector to sleep when not used, which could be possible through CEC protocol instead (regardless of whether the RPi sleeps or not), assuming that the projector can respond to CEC commands.

Best regards: dlanor

Sorry for the (very) late reply.

You got that right in your edit. The need is to tell the projector to go to sleep. Since most of the projectors don’t have CEC capabilities, my thoughts were that the “Put display to sleep when idle” option would cut off the video output from the Pi (so that the projector no longer detects a source and triggers its own sleep mode). The Pi could then enable the video output again when it detects an user interaction (like a key press).

@ledge74 said:
You got that right in your edit. The need is to tell the projector to go to sleep. Since most of the projectors don’t have CEC capabilities, my thoughts were that the “Put display to sleep when idle” option would cut off the video output from the Pi (so that the projector no longer detects a source and triggers its own sleep mode). The Pi could then enable the video output again when it detects an user interaction (like a key press).

Couple of options I can think of:

  1. There is a screensaver option of black, don’t know whether this might work as I have no way of trying it, or

  2. Have a look at the RemotePi Board from MSL Digital, you can program a remote button to power on/off your RPi which will shut down the RPi in an orderly fashion and cut the signal to the projector allowing it to sleep, as soon as you power up the RPi it will wake the projector. I have these fitted to all of my Rasplex RPi’s. Bonus is you also get full remote capabilities, the boards are built into Rasplex, only config is to enable the board in System Settings.

Regards

Hey Ned.

I tried option 1 but unfortunately the pi still sends a video signal so it doesn’t triggers the sleep mode on the projector.

Option 2 could work but wouldn’t prevent me from forgetting to turn off the pi and then would keep it (and the projector) running indefinitely.

That’s why I thought that if the “Put display to sleep when idle” was implemented as close as it currently is in Plex Home Theater it would be perfect !

@ledge74 said:
Hey Ned.

I tried option 1 but unfortunately the pi still sends a video signal so it doesn’t triggers the sleep mode on the projector.

Option 2 could work but wouldn’t prevent me from forgetting to turn off the pi and then would keep it (and the projector) running indefinitely.

That’s why I thought that if the “Put display to sleep when idle” was implemented as close as it currently is in Plex Home Theater it would be perfect !

Feel free to raise a request on GitHub https://forums.plex.tv/discussion/89379/readme-getting-help-and-reporting-issues-with-rasplex

Regards

Will do, thanks!