This is a basic YAML configuration to get the ESP32-2432S028R display working with ESPHome. It creates two rectangles that act as binary touch sensors in Home Assistant, and includes a built-in web interface.
Originally written by Jonny Bergdahl.
-
Create a New Device: Start by creating a new ESPHome device named "lcd-demo" without any extra configuration.
-
Edit the Device: Open the device and paste the code from the
lcd-demo.yaml
file. Ensure you update the Wi-Fi and OTA passwords to allow for over-the-air updates later. -
Install the Firmware: Upload the firmware via USB from your local machine.
Important: To successfully build the configuration, create a folder named
fonts
in your ESPHome directory, and copy the filefonts/Arimo-Regular.ttf
into it. -
Check the Web Interface: After installation, check the status of the device using the web UI by clicking the "Visit" button.