Hm, seems like values are indeed stored. I played around with the grafana settings and when I switch to displaying a bar graph it shows me some measurements:
But shouldnāt it show me a line graph anyway, even if there are a lot fewer samples?
Check the āfillā value in grafana panel editorā¦ I have the same issue with some sensors that only change very seldom, so I have to enable fill(previous) on those ones to get nice proper looking line graphs.
ā¦Iāve actually edited the HA components and added force_update to all the types of sensors I use, so that even if the data doesnāt change from the previous value it still logs the current value and now I donāt need to use āfill(previous)ā anymore.
(The change Iāve made needs to be re-done every HA update, but it makes everything look properly in grafana, so Iām not that bothered about editing 4 text files every time there is a HA update.)
Aha, seems like I made a mistake setting up the graphā¦ The āfillā is correct, but the problem was the āNull valueā setting. It should be set to āconnectedā to get the display I want.
When Iām setting up new / extra graphs, I usually just duplicate the one that is working nicely already in grafana then change the entity id and alias for it in the panel editor.
Does anyone know of any good āGrafana for newbiesā resources? Itās a very powerful tool, but sometimes I get lost in all the options and Iām not sure if my problem is with Grafana or with influxdb.
For example, I have a power meter that gives me the current kWh value at certain intervals. Obviously this value is always increasing and the absolute value is not very interesting. I want to compare hourly or daily values, so I can see my daily usage. This sounds like an easy thing to do, but I canāt understand which function I am supposed to use.