No description
Find a file
2025-01-07 11:43:53 +01:00
.vscode add neokey example code with changes for esp32-poe-iso 2024-10-01 14:44:04 +02:00
CAD optimize case 2025-01-07 11:31:19 +01:00
include move credentials to separate file 2024-12-19 10:31:38 +01:00
lib add neokey example code with changes for esp32-poe-iso 2024-10-01 14:44:04 +02:00
src change button order and light brightness 2025-01-03 16:18:00 +01:00
test add neokey example code with changes for esp32-poe-iso 2024-10-01 14:44:04 +02:00
.gitignore add neokey example code with changes for esp32-poe-iso 2024-10-01 14:44:04 +02:00
platformio.ini optimize case 2025-01-07 11:31:19 +01:00
preview.jpg add more info 2025-01-07 11:43:53 +01:00
README.md add more info 2025-01-07 11:43:53 +01:00

Lightbuttons

Device with case

Hardware

  • 1x Adafruit NeoKey 1x4 https://www.adafruit.com/product/4980
  • 4x Switches and Keycaps for NeoKey.
  • 1x ESP8266 Wemos D1 Mini (Software supports also Olimex ESP32-PoE)
  • optional: 1x Barrel connector and cable

Case

  • 4x M2 5mm-10mm Screws
  • 4x M3 5mm-15mm Flathead Screws

Wiring

  • Solder Barrel Connector to GND and 5V of wemos d1 board
  • Connect NeoKey - to GND, V to 5V, D to D2(SDA), C to D1(SCL)

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"