-
What Grafana version and what operating system are you using? Grafana v12.1.1 Docker hoted on Ubuntu 2404
-
What are you trying to achieve? State Timeline chart showing internet connectivity of a server
-
How are you trying to achieve it? Data originates from a binary sensor in Home Assistant into InfluxDB. Data is only provided when the state changes.
-
What happened? The data is displayes correctly but only when the selected time period includes data for the sensor state change. Because this is internet connectivity it is usually on and there is often no state change. Therefore with say a 24 hour time window there is frequently “no data”
-
What did you expect to happen? I would like the value to persist from the last previous known value even if this is outside the time window e.g. 1 (for online with this binary sensor)
-
Can you copy/paste the configuration(s) that you are having problems with? Not really having probelms with configuration, just don’t know if what I want to achieve is possible. I know there is a “No Value” setting, but I don’t want to set this to 0 or 1 I want it to be the “last known value”
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. no errors
-
Did you follow any online instructions? If so, what is the URL? couldn’t find any to describe what I’m trying to achieve
To reply to my own topic, this post helped InfluxDB - Get the latest data even if it is not in the time range provided - Stack Overflow