filmov
tv
ESPHome now supports LVGL - Elecrow 5-inch ESP32 display
Показать описание
All the videos I made on displays relied on a 3rd party HMI editor. They were nice to create, but how about long-term supportability? Will the programs still be available? Will the libraries be compatible? Some generate C source code and need to be tweaked and compiled - this is a barrier for many of you. And the SquareLine Studio has a lot of limitations unless you get an expensive license.
So, I always thought that the best way to make displays for Home Assistant would be in ESPHome.
However, the current primitive drawing functions will only allow for a very basic HMI.
But this is changing now - the popular LVGL graphics library is coming to ESPHome, with a large library of useful widgets!
I got a nice ESP32 5" display from Elecrow, that supports LVGL - so let's take it for the ride.
The Elecrow 5" RGB display:
The display configuration in the ESPHome Device Repository:
ESPHome LVGL documentation preview:
YouTube videos:
00:00 - intro
00:23 - compare to: Nextion display
01:09 - compare to: Elecrow with SquareLine Studio
02:49 - today: Elecrow with ESPHome
03:19 - display
04:16 - ESPHome configuration
09:08 - LGVL in ESPHome - documentation
10:30 - LGVL configuration
16:30 - updating the values
21:33 - touch screen
So, I always thought that the best way to make displays for Home Assistant would be in ESPHome.
However, the current primitive drawing functions will only allow for a very basic HMI.
But this is changing now - the popular LVGL graphics library is coming to ESPHome, with a large library of useful widgets!
I got a nice ESP32 5" display from Elecrow, that supports LVGL - so let's take it for the ride.
The Elecrow 5" RGB display:
The display configuration in the ESPHome Device Repository:
ESPHome LVGL documentation preview:
YouTube videos:
00:00 - intro
00:23 - compare to: Nextion display
01:09 - compare to: Elecrow with SquareLine Studio
02:49 - today: Elecrow with ESPHome
03:19 - display
04:16 - ESPHome configuration
09:08 - LGVL in ESPHome - documentation
10:30 - LGVL configuration
16:30 - updating the values
21:33 - touch screen
Комментарии