Jump to content
Flirc Forums
Sign in to follow this  
mr9v9

Possible to wake Raspberry Pi from low power state?

Recommended Posts

Do you guys know if there is a way to wake up the Pi using a Flirc button mapped to a remote, to wake the Pi back up after you do a "shutdown" but leave the power plugged in the wall.

I'd like to eliminate the need to have to unplug and replug it from the wall.

Share this post


Link to post
Share on other sites

Raspberry Pi doesn't support power state management. It's either powered on (power plugged in) or off (power unplugged). You can of course shut down the operating system, but this doesn't mean that the Pi no longer takes the power, because it still does.

 

There are external projects that try to add this capability to the Pi. For example this one http://spellfoundry.com/products/sleepy-pi/ but the price is not very tempting. Also you still couldn't power on the Pi using USB version of Flirc with this extra board. You would need to buy Flirc-SE (Streacom Edition), which has extra pins to power on a PC from any power state.

 

You need to analyze if it's worth the price. The Pi doesn't consume much power. According to FAQ on the RPi website it draws current from 0.7A to 1A on 5V. Lets assume that it is 1A. The Pi uses 5 watts of power. 5 W * 24 hours * 31 days = 3.7 kWh (kilowatthours). Lets round it up to 4kWh. I don't know what is the price of electric power where you live but I pay about 15 cents per 1kWh where I live. This means that I would pay about 60 cents per month for running the Raspberry Pi constantly. OK power supplies don't have a 100% efficiency, so lets make it even $1 per month.

Now take the amount of cash you would need to spend on the hardware to make the power on/off work:

External board - £30.83 =~ $47
Flirc-SE (I couldn't find a price quickly so I'll assume normal Flirc price) - $23
It sums up to $70 I'll leave out the shipping and taxes out for this calculation.
 
Given the total cost of hardware divided by monthly cost of running Pi all the time (70/1) you get that you can run the Pi for 70 months (almost 6 years) all the time to get to the price point of buying hardware to not run it constantly :) (and remember I didn't include taxes and shipping costs). I don't know how often you use your Pi but assuming its at least a few hours per week the time to recover the cost of buying the hardware would be even longer than those calculated 70 months. I think that sometime in those 6 years of time you'll get some other hardware for your media center.

Share this post


Link to post
Share on other sites

 

Raspberry Pi doesn't support power state management. It's either powered on (power plugged in) or off (power unplugged). You can of course shut down the operating system, but this doesn't mean that the Pi no longer takes the power, because it still does.

 

There are external projects that try to add this capability to the Pi. For example this one http://spellfoundry.com/products/sleepy-pi/ but the price is not very tempting. Also you still couldn't power on the Pi using USB version of Flirc with this extra board. You would need to buy Flirc-SE (Streacom Edition), which has extra pins to power on a PC from any power state.

 

You need to analyze if it's worth the price. The Pi doesn't consume much power. According to FAQ on the RPi website it draws current from 0.7A to 1A on 5V. Lets assume that it is 1A. The Pi uses 5 watts of power. 5 W * 24 hours * 31 days = 3.7 kWh (kilowatthours). Lets round it up to 4kWh. I don't know what is the price of electric power where you live but I pay about 15 cents per 1kWh where I live. This means that I would pay about 60 cents per month for running the Raspberry Pi constantly. OK power supplies don't have a 100% efficiency, so lets make it even $1 per month.

Now take the amount of cash you would need to spend on the hardware to make the power on/off work:

External board - £30.83 =~ $47
Flirc-SE (I couldn't find a price quickly so I'll assume normal Flirc price) - $23
It sums up to $70 I'll leave out the shipping and taxes out for this calculation.
 
Given the total cost of hardware divided by monthly cost of running Pi all the time (70/1) you get that you can run the Pi for 70 months (almost 6 years) all the time to get to the price point of buying hardware to not run it constantly :) (and remember I didn't include taxes and shipping costs). I don't know how often you use your Pi but assuming its at least a few hours per week the time to recover the cost of buying the hardware would be even longer than those calculated 70 months. I think that sometime in those 6 years of time you'll get some other hardware for your media center.

 

I was waiting for an idea to pop up and noticed you mentioned ATXRaspi in another post, so i thought yeah it's possible, but the prices are *insane* for some of these solutions. I did manage to find this one that is very tempting, but wanted a second opinion first?

I forgot to mention it's not about power savings for my device, but rather my NAS seems to not want to sleep with the pi constantly sending a keep alive making the hard disks spin.

I still can't quite understand why they can't make something so simple without corrupting your card at the same time!

Share this post


Link to post
Share on other sites

Are you serving root fs for RPi using NFS from your NAS? I have Synology DS414slim and I had more issues than it was worth when using NFS on RPi 2 with OSMC. In the end I've switched back to root fs on microSD card but I keep the Kodi library in MariaDB on the NAS. It minimizes the number of writes on the microSD. I still need to set the thumbnail store redirection so it is also kept on the NAS.

 

As for your question regarding the RemotePi board it looks like a really nice solution. It removes the responsibility of power on/off switching off Flirc entirely as it also has an IR receiver. You can even replace Flirc with this and use it as an input for LIRC and Kodi. But I personally would still prefer to use Flirc as it gives me much more flexibility. Also there is nothing in the way of using both receivers at the same time if one can do something other can't.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...