How satnitfver/cyd_hass_buttons works
This is an ESP32 touchscreen MQTT button panel. A user touches a virtual button; the device detects the touch and publishes the configured MQTT message, while providing display feedback and low-power sleep. The README documents WiFi, MQTT, customizable buttons, TFT/XPT2046 support, and wake-on-touch sleep. The main sketch and Home Assistant sample were not excerpted, so their internal wiring and the sample’s precise role cannot be verified; edges below reflect README-level relationships.
Main entry points: main.ino Panel firmware
Components 9
Panel device
- Panel firmware
main.ino - Display configuration
User_Setup.h - Touchscreen
- TFT display
- Deep sleep
main.ino
Network and messaging
- WiFi network
- MQTT broker
Configuration examples
- Button definitions
Sample_HASS/Sample_button_announcement.yaml
Other components
- Panel user
Connections 7
- Panel user → Touchscreen: touches
readme.md - Touchscreen → Panel firmware: sends input
readme.md - Panel firmware → TFT display: updates display
readme.md - Panel firmware → WiFi network: connects via
readme.md - Panel firmware → MQTT broker: publishes messages
readme.md - Panel firmware → Deep sleep: enters on inactivity
readme.md - Touchscreen → Deep sleep: wakes device
readme.md