Power button?

Hello everyone,

I am very new to the Raspberry Pi, and recently installed OSMC on a Pi 3. I was wondering if there was a script running so I can install a power switch…

Any resources would be helpful, and if the feature is built in that would be great. If so what pins do I need to use,and what best practices are to be used?

Thanks!!

I’d strongly advise to just let your pi run 24/7 it doesn’t use a lot of power.

Yes you can use it.

I’m currently using the RemotePi Board and having no trouble with the power button with all distro (Raspbian, Retropie, OSMC)
Working scripts are available to power On/Off with physical button and to Soft Power Off and get the feedback to Remote Pi which is overriding the Rpi3 hardware.

Yay this old discussion again, knew this old classic would come back one more time…

lets just get this out of the way

  1. yes there are scripts for doing a power on of button search the web or raspberry pi forum it has been answered several times over and over (p.s its done over GPIO and python)
  2. remember that if implemented wrong it will corrupt your SD card then you will probly come back here ask why it happned and blame us for broken distro (seen it happen before)
  3. as mcobit said a raspberry pi uses a minimal amount of power so having it powered on at all times doesnt really cost that much.

Let me break it down for ya

  • At 3.5W maximum
  • 285.71 hours to use 1kWh
  • 30.77 units per year
  • 13.2 pence per unit (direct debit nationwide average feb 2012)
  • £4.06 per year running costs

Questions ?