Trend data only rolled up hourly?

I wrote a little script to load live info from Sense every 5 minutes to

Everything looks great but it seems that Solar and Usage totals for the day are only updated every 60 minutes (I get it at :15 minutes past).

This seems true in WebApp and API.

Is that known delay due to data processing on Sense side? Is it possible to get daily totals more often than hourly?

Note the Energy and Energy Used columns only change each hour. All live data looks great.

Even though the data flows back to Sense in half-second samples, or two second samples in the case of smartplugs, the data is currently only aggregated at the Sense mothership in 1 hour intervals, as well as daily, weekly, monthly and on a billing cycle basis. There’s a request in the Wishlist for smaller aggregation and export intervals, so like that if that’s what you want.

If you want greater granularity of data, and you are handy with Python or Java, you can pull real-time data using the informal API (get_realtime()), but you are going to need to poll and store it yourself. And you’ll need to poll judiciously if you do that, especially if the thing you are measuring fluctuates widely (solar on a day with passing clouds), since you are only getting a real-time sample, not aggregated data for your polling time period.


I already had a script to grab the data every 5 mins and upload… been running for a few years already, check out the link Push

1 Like