Releases: springfall2008/batpred
Bug fixes, Octopus saving conflict check
What's Changed
Octopus saving session
- Added new auto-join toggle
- Avoid joining automatically if it conflicts with Axle session
Octopus saving sessions: auto-join toggle and Axle conflict avoidance (#4120) by @springfall2008 in #4128
Bug fixes
- Gateway, reset inverter after leaving Read Only mode by @springfall2008 in #4123
- Gateway: fix EMS aggregate publish, add debug logging by @springfall2008 in #4133
- Avoid freeze export during car charging sessions if export more solar is on by @springfall2008 in #4134
Full Changelog: v8.42.0...v8.42.1
Export more solar feature
What's Changed
- New export more solar feature by @springfall2008 in #4117
switch.predbat_export_more_solar When turned On, late in the planning stage Predbat will try enabling Freeze Export on every otherwise Idle slot that has predicted solar generation. With Freeze Export the battery is not charged from the surplus solar, so that solar is exported to the grid instead.
This alternative plan is only kept if it does not increase the overall plan metric by more than input_number.predbat_export_more_solar_threshold (expert mode, default 1p), otherwise the original plan is restored. This lets you favour exporting solar over storing it when doing so is roughly cost-neutral. The feature relies on switch.predbat_set_export_freeze being enabled (and your inverter supporting export/discharge freeze); it is an optimiser-only setting and uses the existing Freeze Export execution behaviour.
Full Changelog: v8.41.4...v8.42.0
Octopus: stop flex dispatch promotion creating phantom slots
What's Changed
When Octopus withdraw a slot Predbat was keeping it leading to charging a 'cheap rate' when it wasn't cheap rate.
- Octopus: stop flex dispatch promotion creating phantom slots (#4114); redact JWT in logs by @springfall2008 in #4115
Full Changelog: v8.41.3...v8.41.4
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