Door monitor using an ESPHome with an ili9341 LCD

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

Looks good. Perhaps would have been a good job for openhasp. ILI9341 IPS - openHASP

Why would this be better than esphome?

It is designed for touch screens, and creates lovely UIs

Thanks nickrout, it looks interesting. I’ll investigate OpenHASP further.

The advantage of OpenHASP is that you can use larger higher res touch screens, like the ILI9488.