Hello,
I set up VictoriaMetrics and Grafana a couple of days ago to get long term storage of some sensor values.
I created a dashboard that shows humidity and temperature readings from 3 sensors (2x Aqara Zigbee, 1x AirGradient) and it works… partially.
My problem is now that I won’t get all the data in Grafana. So the graphs that I can see are “spotty” and have blank spots.
In HomeAssistant directly, I can see the entire history without interruptions.
Here are two screenshots to show the difference.
The Airgradient is in the Office and gives much more frequent updates compared to the Aqara sensors.
If I understand correctly, this would draw straight lines where I currently see no data at all, right?
But the data is still missing?
To me, it appears that the data is still present in HomeAssistant or is HA just doing clever “null value connecting” as well?
If the data is also missing in HA, should I be concerned and try to troubleshoot or is this to be expected from both ESP32(Airgradient) and Zigbee Devices?
It’s not missing. The Grafana gaps correspond to flat areas in your Home Assistant graphs. I.e. times when the sensor has not changed. HA only sends data to influxdb when there is a change of state.
So if you make the changes I recommend both graphs will look the same.
Ah. That may be an InfluxDB only setting. There’s probably a way to fill with previous value when using VictoriaMetrics but as I don’t use it I don’t know it.