Hello, I ran into an issue with a self build ESP32 IAQ sensor that is supposed to work off grid, so without an internet connection. I have HA running on a Raspberry Pi and use a ESP S3 as a router. The sensor sends the data every 10 seconds over the router to my HA server with MQTT. I use HA as a data logger and dashboard. It shows the current value on the dashboard and entity without a problem and updates it. However, it doesn’t save the data and shows no historical data. It only saves and displays the sensor data history when I run it over another server that is connected to the internet. Why could this be?
It’s very unlikely, unless you didn’t enable the recorder:
and/or history:
integrations in configuration.yaml
(that’s if you did not use default_config:
which enables them).
Are other sensors keeping history as expected?
Along the lines of what Chris said, history doesn’t show at all, or the history ends in a few days.