Changed
- Energy history saving reworked:
- Records are now saved every minute at the
:00second and additionally at23:59:59each day - Timestamps are aligned to the start of each minute (
HH:MM:00) instead of the actual poll time - Missing records (plugin offline, save error) are automatically backfilled with
nullvalues to maintain a continuous timeline - Added new record keys:
prit— production energy interval inWhbetween consecutive saved points (same day only,nullon day boundary)cnit— net consumption energy interval inWhbetween consecutive saved points (same day only,nullon day boundary)ctit— total consumption energy interval inWhbetween consecutive saved points (same day only,nullon day boundary)
- Removed fixed 7-day retention limit; retention is now controlled by configuration
- Records are now saved every minute at the
- Added
energyHistoryTimeconfig option: time in years for which history is retained;0— no time limit (keep all data) - Added
energyHistoryReserveSpaceconfig option: minimum free disk space inGBto maintain; when free space falls below this value the oldest records are deleted to free storage;0— disable - README and sample-config.json updated
Full Changelog: v10.6.13...v10.7.0