Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: RPi power button
#1
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
Reply
#2
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' ])
----------
bob
Reply
#3
Hi, I used this: https://www.msldigital.com/collections/a...ir-and-led 
is very cool!
Reply
#4
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
Reply
#5
(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
Reply


Forum Jump: