HASP - Open Hardware edition

Control your home-automation devices from a customizable touchscreen UI connected via MQTT.

hasp-lvgl is a re-implementation of the popular HASwitchPlate sketch created by aderusha. The original HASwitchPlate project uses a Wemos D1 mini and requires a Nextion/TJC HMI display. This rewrite removes the Nextion/TJC requirement by using the Light and Versatile Graphics Library on the MCU to drive a cheap commodity display.

This project also adds ESP32 and STM32F4 support to take advantage of the additional hardware capabilities.

Demo Screens~

Screenshot   Screenshot   Screenshot   Screenshot  


Feature ESP8266 ESP32 STM32F4
SPI display ✅ yes ✅ yes ✅ yes
Parallel display ❌ no ✅ yes ✅ yes
PWM Screen dimming ✅ yes ✅ yes ✅ yes
Maximum Page Count 4 12 12
Object Types / Widgets 14 15 15
Dynamic Objects ✅ yes ✅ yes ✅ yes
Theme Support yes yes yes
Custom .zi V5 font ✅ yes (latin1) ✅ yes (latin1) no
FontAwesome Icons ✅ 1300+ ✅ 1300+ no
PNG images ❌ no ❔ tbd ❔ tbd
Network ✅ Wi-Fi ✅ Wi-Fi ✅ Ethernet


For support using hasp-lvgl, please join the #hasp-lvgl channel on Discord or use Discussions on Github.