Moode Forum

Full Version: RPi power button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've stumbled upon this add-on Power button assembly:
- hardware assy https://thepihut.com/collections/latest-...wer-button
- driver  https://github.com/petrockblog/PowerBloc...ing-driver

... currently no stock Angry  probably a world-wide favourite Christmas gift Tongue
Great find Mike...cool pwr control..

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

20 in stock !
https://www.addicore.com/petRockBlock-Po.../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' ])
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...spberry-pi
(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