lightbuttons/README.md

21 lines
548 B
Markdown
Raw Normal View History

2024-10-01 13:29:48 +00:00
# Lightbuttons
2025-01-07 10:37:52 +00:00
![Device with case](preview.jpg "Lightbuttons")
2024-10-01 13:29:48 +00:00
## Hardware
- 1x or 2x: Adafruit NeoKey 1x4 https://www.adafruit.com/product/4980
- Switches and Keycaps for NeoKey.
- 1x Olimex ESP32-PoE-ISO
2025-01-07 10:37:52 +00:00
## MQTT
Set Button Idle Color:
N is Button Number 1-4
$BASETOPIC/color/button/N
topic:lightbuttons-A/color/button/2
payload is color as int32
When Powered on and connected device sends payload "online" on $BASETOPIC/status
Button presses are sent on $BASETOPIC/button/N. Possible Payloads are: "click", "doubleclick" and "longpress"