marcfager / nspanel-mf

Custom HMI controlled by ESPHome for the Sonoff NSPanel. Includes media player card and home screen with weather data and clock. More to come.
215 stars 60 forks source link

Memory Limit reached > boot problems #23

Open flighter18 opened 2 years ago

flighter18 commented 2 years ago

First of all: Thank you for this amazing work.

I just configured all the Media Player Button an run into this problem: https://youtu.be/g8OUxJEw2dU?t=52

Have someone else this problem?

flighter18 commented 2 years ago

@marcfager did you use std:string? Maybe this could be the problem.

comment: thkl11 1 month ago I ran into a similar issue where the compiler told me 56% usage. And the Panel crashed at launch. Turns out using std:string was a bad idea ... So I've moved all variables which are only for storing data for the display direct into hmi variables. This also made my screen refresh much faster.