Releases: springfall2008/batpred
Gateway: fix startup condition problem with plan
What's Changed
- fix startup condition problem with plan by @springfall2008 in #4110
Full Changelog: v8.41.2...v8.41.3
Fixes to clipping mode, Web UI Fix
What's Changed
- Fix web UI showing raw 'p' unit instead of configured currency (#4071) by @springfall2008 in #4104
- Fix for inverter clipping bugs by @springfall2008 in #4105
- Gateway to re-send readonly state by @springfall2008 in #4106
Full Changelog: v8.41.0...v8.41.1
v8.41.0
What's Changed
New: automatic weighted load forecast (days_previous_auto)
- New load forecast code by @springfall2008 in #4101
Predbat can now predict your house load using a weighted average of all your recent history instead of a fixed set of days_previous days. This is more robust when you have gaps in your history or your usage changes (e.g. returning from holiday), as it no longer relies on a few specific days being present and representative.
Enable it in apps.yaml:
days_previous_auto: TrueWhat it does
For each 5-minute slot in the plan it looks at the same time of day across your history and combines those samples into a weighted average. Each historical sample is weighted by how relevant it is:
- Weekday – same weekday as the slot counts fullest (1.0); a different weekday but same type, i.e. weekday-vs-weekday or weekend-vs-weekend (0.7); weekday-vs-weekend (0.5).
- Holiday – samples recorded in a different holiday-mode state to today are halved, matched per 5-minute sample (so a mid-day change is handled).
- Age – yesterday counts most (0.9), reducing by 0.03 per day down to a floor of 0.1, so recent days dominate.
Slots with no recorded data (gaps) are ignored so they don't drag the estimate down.
How much history is used
The search window is taken from max(days_previous) (or 7 days if days_previous isn't set), capped at 30 days. So to forecast from the last two weeks of history:
days_previous: 14
days_previous_auto: TrueIf Load ML is enabled it takes precedence over days_previous_auto.
Full Changelog: v8.40.16...v8.41.0
Gateway read only status and plan controls
What's Changed
- Send gateway read only status by @springfall2008 in #4098
- Gateway: Fix plan controls for freeze charge/export by @springfall2008 in #4099
Full Changelog: v8.40.14...v8.40.15
Fix lost config, further rollout of storage class
What's Changed
- Fix lost config on restart of HA issue by @springfall2008 in #4095
- Storage use for GitHub and Plan data by @springfall2008 in #4094
Full Changelog: v8.40.13...v8.40.14
GECloud automatic fixes, Solis OAuth, SigEnergy onboard status
What's Changed
- GECloud: Fix issues with CT clamp location and with dead inverters by @springfall2008 in #4093
- feat(solis): OAuth 2.0 bearer auth mode alongside HMAC api-key by @mgazza in #4078
- feat(sigenergy): publish onboard_status sensor by @mgazza in #4079
Full Changelog: v8.40.12...v8.40.13
Fix bug with gateway serial not being set correctly
What's Changed
- Fix bug with gateway serial not being set correctly by @springfall2008 in #4087
Full Changelog: v8.40.11...v8.40.12
Fix issue with ge cloud reset
What's Changed
- Fix issue with ge cloud reset by @springfall2008 in #4080
Full Changelog: v8.40.10...v8.40.11
Docs, Bug fixes inc GECloud + PV Inverter & LoadML
What's Changed
Docs
- Fix: Tesla access token field size by @mattsday in #4067
- Revise Huawei inverter setup in documentation by @JohanAlvedal in #4065
Bug fixes
- fix(ml): set last_train_time from model's embedded training_timestamp on load by @springfall2008 in #4077
- fix(gateway): refresh MQTT token on broker auth-failure to self-heal expired JWT by @mgazza in #4074
- Fix GECloud and standalone PV, Fox cache updates by @springfall2008 in #4076
Full Changelog: v8.40.9...v8.40.10
Minor bug fixes, enable base load by default
What's Changed
- Reset GECloud defaults after 24 hours
- Add 100w base load default
- Catch crash with MinuteData array by @springfall2008 in #4068
Full Changelog: v8.40.8...v8.40.9