I’m trying to build a graph for my house power consumption.
Here is what it looks like (including the queries I’m using):
Just in case it matters, the data comes from a Current Cost Envir device, and represents the current power consumption in Watts.
It is then sent to Home Assistant through MQTT.
Home Assistant writes it into Influxdb, and then Grafana uses this influxdb as data source.
Now, all looks good and reasonable to me apart from the “Totals” in the legend.
For example, the fact that the whole house used 1.3KW on average for the past 6 hours, seems very reasonable.
The “Total” though, displays 2.8MW!?!
I think it should be more something like 7.8KW (the average 1.3KW x 6 hours).
Can anyone help me figuring out what I am doing wrong please?