Commit Graph

65 Commits (26cb5c257669c24bdb95db9f1d02ec2cfc2bc165)

Author SHA1 Message Date
jenkins 26cb5c2576 Jenkins release build 1.8.2 2023-06-28 09:49:03 +02:00
jenkins 4f33ca0db5 Jenkins release build 1.8.1 2023-06-07 15:52:37 +02:00
jenkins 83bf05b106 Jenkins release build 1.8.0 2023-05-05 11:18:28 +02:00
jenkins 8dd9ec6f77 Jenkins release build 1.7.0 2023-02-21 17:45:48 +01:00
Michael Zanetti e2f0b50fa8 Fill in holes in the logs when the clock is changed forward 2023-02-13 12:03:14 +01:00
jenkins 881e7c074c Jenkins release build 1.6.3 2023-02-01 12:18:58 +01:00
jenkins e2ef03dad9 Jenkins release build 1.6.2 2023-01-16 14:36:47 +01:00
jenkins e05cc45325 Jenkins release build 1.6.1 2022-12-23 11:33:25 +01:00
jenkins f83abcad93 Jenkins release build 1.6.0 2022-12-10 14:55:30 +01:00
jenkins e86d7e713b Merge PR #16: Fix occationally lost samples after startup 2022-12-10 14:55:29 +01:00
jenkins 26d841c51b Jenkins release build 1.5.1 2022-11-07 12:49:10 +01:00
Michael Zanetti bd6472664e Fix occationally lost samples after startup
If a device doesn't produce any currentPower value change after
startup until the first regular sample is created, we may miss
the very first values.
2022-11-02 23:02:49 +01:00
Michael Zanetti c607ce7e4b Fix a lockup when resampling over a backwards DST switch 2022-11-02 23:00:39 +01:00
jenkins acde9b2e5a Jenkins release build 1.5.0 2022-10-17 11:22:57 +02:00
jenkins 396807fac9 Merge PR #14: Update energy-plugin path environment variable behaviour 2022-10-17 11:22:56 +02:00
jenkins 78978e0487 Merge PR #13: Create SQL indices on energy log DB for improved resampling performance 2022-10-17 11:22:55 +02:00
jenkins 36e7ab1cf7 Merge PR #12: Keep 15min, 1h and 3h sample logs for a longer time 2022-10-17 11:22:53 +02:00
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