Moode Forum
[IDEA] RPi power button - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: Community (https://moodeaudio.org/forum/forumdisplay.php?fid=18)
+--- Forum: General Discussion (https://moodeaudio.org/forum/forumdisplay.php?fid=21)
+--- Thread: [IDEA] RPi power button (/showthread.php?tid=1996)



RPi power button - CallMeMike - 12-19-2019

I've stumbled upon this add-on Power button assembly:
- hardware assy https://thepihut.com/collections/latest-raspberry-pi-products/products/powerblockling-raspberry-pi-power-button
- driver  https://github.com/petrockblog/PowerBlockling#powerblockling-driver

... currently no stock Angry  probably a world-wide favourite Christmas gift Tongue


RE: RPi power button - DRONE7 - 12-19-2019

Great find Mike...cool pwr control..

16 left in stock !
https://blog.petrockblock.com/product/powerblockling/

20 in stock !
https://www.addicore.com/petRockBlock-PowerBlockling-for-Raspberry-Pi-p/ad537.htm

For the price I would also consider a Flirc...(2nd hand V1) . which will give you a clean shutdown and bulk I/R remote commands...now that Kent has it working for MoOde
http://moodeaudio.org/forum/showthread.php?tid=1529

Code:
if attrib.keycode == 'KEY_A':
               subprocess.call(['mpc', 'stop' ])
               subprocess.call(['sudo', 'poweroff' ])



RE: RPi power button - pdo59 - 12-19-2019

Hi, I used this: https://www.msldigital.com/collections/all-products/products/remotepi-board-for-pi-4-external-ir-and-led 
is very cool!


RE: RPi power button - hjheins - 12-19-2019

I could be mistaking, but I think that since RPi 2 you can already connect GPIO3 to ground to do this.
If you want light with that, just add a 5v rail to the story and you should be good....

https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi


RE: RPi power button - CallMeMike - 12-20-2019

(12-19-2019, 07:33 AM)DRONE7 Wrote: ...cool pwr control... snip .....

For the price I would also consider a Flirc...(2nd hand V1) . which will give you a clean shutdown and bulk I/R remote commands...now that Kent has it working for MoOde
http://moodeaudio.org/forum/showthread.php?tid=1529

Code:
if attrib.keycode == 'KEY_A':
               subprocess.call(['mpc', 'stop' ])
               subprocess.call(['sudo', 'poweroff' ])

Indeed... I've been keeping an eager eye on the subject Wink