brown-SSW / brown-solar-charger

This program monitors a solar power system and runs a physical and online dashboard.
https://brown-ssw.github.io/brown-solar-charger/
4 stars 1 forks source link

better SPIFFS error handling #1

Closed joshua-8 closed 3 years ago

joshua-8 commented 3 years ago

Currently if there is an error while starting the file system that holds the html file the esp32 serial prints an error than freezes itself. That's fine for now, but a better response to the error would be to still boot, just show a simple error page instead of the full html file. In general, since the esp32 may be responsible for keeping some parts of the station active (turning the inverter on and off, solar tracking) we should always try to keep the code running even if some components have issues.

joshua-8 commented 3 years ago

spiffs isn't needed now that the website will be hosted separately