Grafana and value that rarely changes

I have a weight sensor in ESPHome that changes every couple of days. The update interval in ESPHome is set to 60s and updates correctly in the logs. Home Assistant doesn’t change the last updated time unless the value changes, so sometimes there is a couple of days between updates.
I log the data in InfluxDB and display them with Grafana, but because there hasn’t been any updates, my Grafana Shows no data. How do I fix this so it updates in Grafana with the current value even when there hasn’t been a change for a while?

Select a longer time period to show in Grafana.

You can also make a template sensor that updates on intervals. Have a read of this topic:

1 Like