sairon / esphome-nspanel-lovelace-ui

ESPHome component for NSPanel Lovelace UI
Other
125 stars 31 forks source link

HMI file too big ? #3

Closed konceptnet closed 2 years ago

konceptnet commented 2 years ago

Nspanel have only 4MB flash but the HMI file is 7.8MB. Hown can I install it on the nspanel ?

sairon commented 2 years ago

HMI file is not saved to the flash connected to the ESP32, yet it's uploaded over a proprietary UART protocol to the Nextion display, which has a separate firmware and flash memory.

Moreover, ESPHome can only use flash memory up to the size defined in the partition table, which is by default 1.25 MiB (1310720 bytes). Thankfully, if you don't try to integrate too many ESPHome components in the configuration, you should be fine with that ;)