Files
buttonctl/1og
2025-09-06 00:01:51 +02:00
..
2025-09-05 23:21:55 +02:00
2025-09-05 23:21:55 +02:00
2025-09-05 23:21:55 +02:00
2025-09-06 00:01:51 +02:00
2025-09-05 23:21:55 +02:00

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

cd buttonctl/1og
./service.sh # create systemd .service file
sudo systemctl enable --now buttond # start and autostart at boot

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

Open Door

◼ ◼ ◼ → Left Button

◼ ◼ ◼ → Middle Button

◼ ◼ ◼ → Short Delay

◼ ◼ ◼

Abort

◼ ◼ ◼ → Left Button

◼ ◼ ◼ → Left Button

◼ ◼ ◼

No-Op

◼ ◼ ◼ → Middle Button

◼ ◼ ◼