I’ve been creating a “door monitor” using ESPHome, and ESP32, and an ili9341 2.8" TFT LCD with integrated xpt2048 touchscreen. This device lets me control and quickly see the state of the autolock for both the front and back door. It also shows the time as well as the temperature on my back porch.
Within tft-panel.h I created the class Panel to simplify outputting to the display and make detecting touch easier. Panels are created within tft-test-1.h.
Link to demo video on youtube.
Case model, detail of parts needed, and ESPHome code on Thingiverse
