This project aims to replace the Homematic HM-OU-LED16 (no longer manufactured) with a status display based on Waveshare's ESP32-S3-Touch-LCD-4.3B.
For initial configuration, the device can be reached on its own wireless network (SSID mqtt-display)
After setting the basic parameters (SSID and its password, MQTT broker IP address, MQTT user and password), the device will store the configuration, and until a configuration topic is supplied, it will display its IP address on the screen, along with the configuration topic (config/device/MA:CA:DD:RE:SS:00).
The configuration topic allows you to define:
- columns: number of status columns (1-2)
- rows: number of rows (8-20)
- background-color: background color (default: black)
- text-color: text color (default: white)
- state-timeout: timeout before a status is marked as too old by displaying an hourglass next to it
Web access to the device is only used to update the basic configuration or firmware. Display layout and behavior is carried out via the configuration topic.
By adapting the Node-RED flow supplied, it will then be possible to display the desired states.
In addition to the standard green, yellow and red colors, the current following attributes can currently be added:
- label: state label to be displayed
- color: custom color
- decoration: flashing mode
- delay: delay before switching to the new state received (for example, to avoid seeing a door that opens and closes quickly)
- second-color, second-delay: automatic switching from one color to another one after a certain time (for example if a door is left open for too long)