Files
buttonctl/1og/README.md
2025-09-05 23:21:55 +02:00

2.4 KiB

ButtonCtl

dependencies

  • RPi python3-rpi.gpio
sudo apt install python3-rpi-gpio
  • OpenSSH client
sudo apt install openssh
  • circuitpython libraries for neopixel
pip3 install adafruit-circuitpython-neopixel

install

git clone https://github.com/dylangoepel/buttonctl.git
cd buttonctl
./service.sh # create systemd .service file
sudo systemctl enable buttond # autostart at boot
sudo systemctl start buttond # start as daemon

wiring

  • pin 23: left button input (pull-down)
  • pin 24: center button input (pull-down)
  • pin 22: right button input (pull-down)
  • pin 18: neopixel data
  • pin 4: (pull-down)

  • led strip:
(25-36)  (13-24)  (1-12)
 AERIE            KELLER

 (counter-clockwise)

usage

Rot Schwarz Rot → Linker Button

Schwarz Grün Rot → Mittlerer Button

Rot Schwarz Rot → Kurze Wartezeit

Grün Schwarz Rot


Rot Schwarz Rot → Linker Button

Schwarz Grün Rot → Linker Button

Rot Schwarz Rot


Rot Schwarz Rot → Mittlerer Button

Rot Schwarz Rot