Simon Stürz
f05fd88937
Update energy-plugin path environment variable behaviour
2022-10-14 14:16:48 +02:00
jenkins
f56afe4694
Jenkins release build 1.4.1
2022-09-23 16:35:00 +02:00
Michael Zanetti
fb591e79e0
Create SQL indices on energy log DB for improved resampling performance
...
This speeds up resampling at startup by approx 15 times.
2022-09-23 12:31:52 +02:00
Michael Zanetti
58b87cf3c9
Keep 15min, 1h and 3h sample logs for a longer time
2022-08-19 12:28:25 +02:00
jenkins
161c237427
Jenkins release build 1.4.0
2022-08-09 23:05:00 +02:00
jenkins
fa9f118f53
Merge PR #11 : Fix permissions in json handler
2022-08-09 23:04:59 +02:00
Michael Zanetti
1678717e8d
Fix permissions in json handler
2022-07-28 17:56:09 +02:00
Michael Zanetti
9682f69a3a
Improve a debug print when internal counters are re-synced
2022-07-25 11:26:27 +02:00
jenkins
e9c84146a1
Jenkins release build 1.3.1
2022-07-11 15:35:58 +02:00
jenkins
a9fcfa1c65
Jenkins release build 1.3.0
2022-06-30 15:06:00 +02:00
jenkins
768e7b57d0
Merge PR #8 : Keep the minutes based samples for at least one week
2022-06-30 15:06:00 +02:00
Simon Stürz
f4db0990ee
Keep the minutes samples for at least one week in the past
2022-06-24 10:03:25 +02:00
jenkins
cf4c63e779
Jenkins release build 1.2.0
2022-06-07 19:45:02 +02:00
jenkins
a56776e0d3
Merge PR #6 : Fix energy logs sometimes resetting to 0 on reboots
2022-06-07 19:45:02 +02:00
jenkins
be14a76e4a
Jenkins release build 1.1.0
2022-05-10 09:56:31 +02:00
jenkins
32c239ef44
Merge PR #7 : Fix thingIds not being removed properly
2022-05-10 09:56:30 +02:00
Michael Zanetti
f4a1c62960
Fix thingIds not being removed properly
...
This caused things which have been removed from the system to stick
around in the DB with only a few values and a restart would
resaple up to maxCount logs for those things o every restart.
Despite adding tons of more debug info about resampling, this fixes 2 things:
* If a base series is empty for whatever reason, resampling won't wrongly sample
the whole series from the beginning any more but just skip it.
* Clearing a thing from the logger now also clears it from livelogs so it won't
end up in the logs again and trigger the above on every restart
2022-05-09 20:23:23 +02:00
Michael Zanetti
1387353074
Fix energy logs sometimes resetting to 0 on reboots
2022-05-06 17:20:07 +02:00
Jenkins nymea
a30fffd294
Jenkins release build 1.0.0
2022-03-27 19:51:50 +02:00
Jenkins nymea
b68bc3893a
Merge PR #5 : Optimize energy logs DB rectification after system downtime
2022-03-27 19:51:49 +02:00
Jenkins nymea
7debf18535
Merge PR #4 : Fix calculation of sample start for months and years
2022-03-27 19:51:48 +02:00
Jenkins nymea
be741d4367
Merge PR #3 : Fix debug print escape typo
2022-03-27 19:51:47 +02:00
Michael Zanetti
73dd05b01f
Optimize energy logs DB rectification after system downtime
2022-03-26 01:32:17 +01:00
Michael Zanetti
d1ba7c1de8
Fix calculation of sample start for months and years
2022-03-09 23:26:04 +01:00
Simon Stürz
6ccbb31acd
Fix debug print escape typo
2022-01-11 09:06:48 +01:00
Jenkins nymea
89d2a969ee
Jenkins release build 0.4
2021-12-14 14:04:04 +01:00
Jenkins nymea
dbb8885009
Merge PR #1 : Add nymea energy experience plugin
2021-12-14 14:04:03 +01:00
Michael Zanetti
c0146c0abf
Fix total caluclation (subtract return from consumption)
2021-12-14 13:51:25 +01:00
Michael Zanetti
70ad30ccd3
Add option to include the current "live" value in thing power logs
2021-12-12 16:44:10 +01:00
Michael Zanetti
68bc1d648f
Make internal counters independent from thing counters
2021-12-11 00:28:43 +01:00
Michael Zanetti
2da2d9458b
Cleanups
2021-12-07 23:48:23 +01:00
Michael Zanetti
2df41462ad
Update size estimation comments based on new log entry format
2021-12-06 12:24:34 +01:00
Michael Zanetti
97286a5827
More fixes
2021-11-29 14:33:16 +01:00
Michael Zanetti
abe01d3869
Fix re-initializing things logger
2021-11-28 12:14:35 +01:00
Michael Zanetti
d494e5a181
More fixes
2021-11-28 01:40:09 +01:00
Michael Zanetti
bddaae3d91
Some more fixes
2021-11-28 00:04:23 +01:00
Michael Zanetti
5f4534b6dc
Fix sampling of things totalEnergy states
2021-11-27 01:15:24 +01:00
Michael Zanetti
fd1fd490df
Fix loading of previous values at startup
2021-11-26 16:43:04 +01:00
Michael Zanetti
f63e9bcaf0
More logs
2021-11-26 16:08:19 +01:00
Michael Zanetti
6e312fe02c
Fix trimming of logs
2021-11-25 00:43:33 +01:00
Michael Zanetti
10d323a3aa
Fix sampleing of things totalConsumption/totalProduction
2021-11-23 16:43:43 +01:00
Michael Zanetti
602347dba1
Housekeeping on energy logs (removal of removed things)
2021-11-23 14:46:22 +01:00
Michael Zanetti
a34dd7642b
Fixes
2021-11-23 00:47:11 +01:00
Michael Zanetti
034f90d7a9
Add totals to balance
2021-11-22 00:43:36 +01:00
Michael Zanetti
d684016498
Add storage to power balance
2021-11-20 01:37:28 +01:00
Michael Zanetti
59d4e1d50d
Add logging support
2021-11-20 01:37:23 +01:00
Michael Zanetti
885fe9be3a
Add nymea energy experience plugin
2021-11-11 12:28:49 +01:00
Michael Zanetti
38b43eecc9
New repository for the nymea energy experiece.
2021-11-08 18:26:49 +01:00