MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.34k stars 396 forks source link

Is it possible to cut off the total power consumption of the RaspberryPi after shutdown #154

Closed Caliandroid closed 6 years ago

Caliandroid commented 6 years ago

My son forgets to switch off the phoniebox after the shutdown and even shut off, the speakers and rfid connected to the raspberry get/drain power.

Is there a simple way for a switchless total cut off?

Luegengladiator commented 6 years ago

There is a shutdown on idle option discussed here https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/53 Do you think this can help on your issue?

@MiczFlor Is it still missing in the docs?

Caliandroid commented 6 years ago

The existing shutdown on idle works but even after the shutdown, RFID and speaker (directly connected to the pi's onboard USB) still receive power .

MiczFlor commented 6 years ago

I think you might need to fire up your soldering iron https://www.raspberrypi.org/forums/viewtopic.php?t=34603 And here is a thread regarding the power consumption of the relais https://www.raspberrypi.org/forums/viewtopic.php?t=133148

zxa commented 6 years ago

It is not possible to cut the power automatically without some extra hardware. If this works, depends on your setup. If you don't use a powerbank, the easiest way is to use a OnOff SHIM: https://shop.pimoroni.de/products/onoff-shim With a powerbank the OnOff SHIM is not working out of the box as there is no "power on" possible anymore (usually powerbanks switch off if the current drops below some value). I still have to do experiments to solve that problem, but i don't know if the solution will be "simple".

Caliandroid commented 6 years ago

Thank you for the input. So it's not possible without extra hardware but it does not seem to be too complicated to build.

Franzformator commented 6 years ago

I am thinking about using ATXRaspi to manage the power off: https://lowpowerlab.com/guide/atxraspi/#installation