This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
[APP] Aggregated insights
Because i have devices that log every few seconds and the insights take forever to load, I made an app to aggregate insight logs.
I'm not a javascript developer so by trail and much errors i made this app:
https://github.com/exeldro/com.insights.aggregate
https://apps.athom.com/app/com.insights.aggregate
I'm not a javascript developer so by trail and much errors i made this app:
https://github.com/exeldro/com.insights.aggregate
https://apps.athom.com/app/com.insights.aggregate
Comments
Something with running fw 1.5.6-rc.7, perhaps? Error message include a DeprecationWarning (https://github.com/exeldro/com.insights.aggregate/issues/1)
added support log position per aggregated log
removed the need to set a bearer token
I have a couple of parameters I like to track over long periods which is eating up all storage space on Homey. For instance overall power use of my home, I don't need to know the data for last year on a per-minute basis, but I would like to keep daily/weekly/monthly/yearly averages.
If such data could be stored in a round-robin database, it would save space without losing insight. There are node js RRD libraries around, although I haven't looked at how easy they would be to use.
I want to be able to replace old logs with aggregated logs, but I haven't found a way to do it yet.
- delete abandoned aggregated logs on startup
submitted version 0.1.2