Hi, I have a Sense energy monitor connected to HASS with the standard integration. I’d like to start using it more for analytics since Sense’s built in stuff is very high level. But the most important one, Daily Usage, seems to reset every day at 7pm, and then not register more usage overnight until the next morning, which certainly isn’t the case. I don’t see any settings I’m missing, and I’ve tried reloading the integration.
Oh sorry that’s what I’m trying to track – total for the day. I have a similar chart using current energy_usage.
I am hoping to make a chart that has the past 7 days of energy usage, and then maybe push that data out to another DB for long term storage/analysis alongside other historical data
I do the same. I send the data to influxDB then to Grafana; there is a good guide on that here somewhere. In Grafana you can use the energy_usage that I have above and set a time frame via dynamic drop-down and add a min/max/avg/total for that time frame. I don’t have Grafana currently accessible outside my home network directly since I use grafana_renderer to send the graphs as pictures back to home assistant; so I can’t immediately send you a picture of that.
To clarify, I have more in Grafana then I send back to HA.
You can get this data directly from Sense without any template:
Here is an example of what I was talking about in Grafana, I remembered that I had posted this. This is air quality but same point for the bottom graph.
Of course, I cut out the part on the side that I was talking about.
I haven’t…Sense has my timezone (ET) set correctly. Sense support gives the standard “not our integration” response.
I guess my next step is to use the API directly and see if it is giving the right numbers? Try to pin the issue on Sense or isolate it as a problem with the HA integration?
And I’m now noticing that after 7pm I can’t get to the Trends data in the Sense app, nor can I use the API directly to get data, nor obviously is HA getting data.
I wonder if I’m getting rate-limited by the Sense API? Looks like the update data calls time out.
I am seeing the same thing, with the Daily Production and Usage values resetting to 0 at 7:00 pm CST instead of midnight. I confirmed that HA has the correct timezone defined as well as the Sense device itself. Watching daily usage in the Sense app shows the Day views correctly, it is only the HA sensors that are resetting before the day is over in CST, instead resetting at 0:00 GMT.