Hi everyone, I’m currently working on setting up an outdoor weather station using an ESP device connected to my Home Assistant (HA) system. The setup is autonomous, running on a battery and solar panel, which is great for my remote location. However, I face a challenge when the power goes out due to lightstorms, as the ESP needs to store data locally until the Wi-Fi connection is restored.
I have a few questions: Will HA accept delayed data with correct timestamps to maintain a consistent history? And how can I efficiently store these values in the ESP without wearing out the flash memory? I’ve heard about using an SD card for storage, but I’m not sure how to integrate this with ESPHome. Any insights or experiences would be invaluable!
Additionally, I’ve been exploring automation scripts to sum power usage from multiple sensors. It works most of the time, but occasionally, I encounter template loop errors. I’m curious if there are smarter ways to structure this script to avoid such issues.
Looking forward to hearing your thoughts and experiences! ![]()