gpiozero VS raspberry-pi-safe-off-switch

Compare gpiozero vs raspberry-pi-safe-off-switch and see what are their differences.

raspberry-pi-safe-off-switch

A set of scripts that can be used to provide a "safe power off switch" for a Raspberry Pi. (by TonyLHansen)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
gpiozero raspberry-pi-safe-off-switch
7 2
1,823 187
1.5% -
8.0 5.3
30 days ago 5 months ago
Python Python
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gpiozero

Posts with mentions or reviews of gpiozero. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-15.

raspberry-pi-safe-off-switch

Posts with mentions or reviews of raspberry-pi-safe-off-switch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-10.
  • Struggling to make a file run from boot
    2 projects | /r/raspberry_pi | 10 Jan 2022
    I'm very new to all things pi, or really electronics in general, but I'm enjoying the learning process so far. I'm trying to add a power button to my Pi4, using the GPIO zero library, but can't quite get the last step to work. I've set up my button on the GPIO3 pin and the ground next to it. For now I'm just trying to get the simple_shutdown working, so after changing that script from GPIO21 to 3 I've saved it, changed it's permissions using 'chmod a+x', then added the following into /etc/rc.local: ````echo '~pi/shutdown-press-simple.py &' >> /etc/rc.local
  • Startup/shutdown problem
    1 project | /r/raspberry_pi | 14 Sep 2021
    You need a power switch and a reset switch. See here for instructions https://github.com/TonyLHansen/raspberry-pi-safe-off-switch/

What are some alternatives?

When comparing gpiozero and raspberry-pi-safe-off-switch you can also consider the following projects:

pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).

OctoPrint-Enclosure - OctoPrint Enclosure Plugin

WiringPi - Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)

shutty-a-shutdown-timer - Shutty is a shutdown timer for your Windows PC, feel free to use it!

tkgpio - A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.

Qubes-scripts - Scripts that help with administration and usage of Qubes OS

pi-mqtt-gpio - Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.) and digital sensors (LM75 etc.) to an MQTT server for remote control and monitoring.

Adafruit_PowerBoost_SaveShutdown - This project is a save shutdown for the Adafruit Power Boost 1000c. You can use this circuit to delay the power-off, after the user switched the device off. Usefull for e.g. Rasperry Pi.

WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.

Raspberry-Led-Power-Button - Raspberry Led Power Button

w1thermsensor - A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.

systemd-gpio - A systemd unit template that does things when gpio events happen.