Thank you for your donation!


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


Idea: RPi power button
#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


Messages In This Thread
RPi power button - by CallMeMike - 12-19-2019, 06:46 AM
RE: RPi power button - by DRONE7 - 12-19-2019, 07:33 AM
RE: RPi power button - by CallMeMike - 12-20-2019, 05:43 AM
RE: RPi power button - by pdo59 - 12-19-2019, 10:13 AM
RE: RPi power button - by hjheins - 12-19-2019, 11:00 AM

Forum Jump: