Simon Stürz
635e28510f
Update license text and add SPDX identifier
2025-11-18 14:38:59 +01:00
Simon Stürz
c15a31eeab
Update lib search paths for all plugin types
2025-08-25 10:11:48 +02:00
Simon Stürz
f7cc492fd6
Add Qt6 support
2025-08-21 11:03:22 +02:00
Simon Stürz
fb4e4c23cd
Add missing debian copyright and fix license
2024-08-14 08:53:26 +02: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
e86d7e713b
Merge PR #16 : Fix occationally lost samples after startup
2022-12-10 14:55:29 +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
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
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
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
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
a56776e0d3
Merge PR #6 : Fix energy logs sometimes resetting to 0 on reboots
2022-06-07 19:45:02 +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
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
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
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