Skip to content

tbs1-bo/pipoweroff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Pi Power Off

Turn off your Pi with a button.

Installation on the Pi

On the Pi install bluedot and dbus.

$ sudo pip3 install bluedot
$ sudo apt install python3-dbus

Copy the file bluedot_handler.py into the desired place

$ cp bluedot_handler.py ~/bin/

Create a cronjob that starts the handler on reboot of the Pi.

$ crontab -e -u pi

Add the following line, save and restart.

@reboot /usr/bin/python3 /home/pi/bin/bluedot_handler.py

Pair your phone as described here

Installation on your android smartphone

Install the Bluedot Android App. When your start the app and connect to your device, the blue button will shut down the pi.

Links

  • pi-shutdown is a similar project that allows to shutdown the Pi by connecting pins with a jumper or a button.

About

Bluetooth Power Off Button for the Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages