Skip to content

Releases: springfall2008/batpred

Bug fixes, Octopus saving conflict check

26 Jun 18:58
610284d

Choose a tag to compare

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

Full Changelog: v8.42.0...v8.42.1

Export more solar feature

24 Jun 08:06
535b6f5

Choose a tag to compare

What's Changed

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

23 Jun 19:09
f797e55

Choose a tag to compare

What's Changed

When Octopus withdraw a slot Predbat was keeping it leading to charging a 'cheap rate' when it wasn't cheap rate.

Full Changelog: v8.41.3...v8.41.4

Gateway: fix startup condition problem with plan

22 Jun 10:45
e201937

Choose a tag to compare

What's Changed

Full Changelog: v8.41.2...v8.41.3

Fixes to clipping mode, Web UI Fix

21 Jun 20:49

Choose a tag to compare

What's Changed

Full Changelog: v8.41.0...v8.41.1

v8.41.0

21 Jun 14:46
9f4be99

Choose a tag to compare

v8.41.0 Pre-release
Pre-release

What's Changed

New: automatic weighted load forecast (days_previous_auto)

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: True

What 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: True

If 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

20 Jun 15:02

Choose a tag to compare

What's Changed

Full Changelog: v8.40.14...v8.40.15

Fix lost config, further rollout of storage class

19 Jun 19:37
ac73752

Choose a tag to compare

What's Changed

Full Changelog: v8.40.13...v8.40.14

GECloud automatic fixes, Solis OAuth, SigEnergy onboard status

19 Jun 16:55
74eca00

Choose a tag to compare

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

19 Jun 07:48
f1cff22

Choose a tag to compare

What's Changed

Full Changelog: v8.40.11...v8.40.12