Skip to content

Releases: springfall2008/batpred

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

Fix issue with ge cloud reset

17 Jun 21:10
2e1a9d7

Choose a tag to compare

What's Changed

Full Changelog: v8.40.10...v8.40.11

Docs, Bug fixes inc GECloud + PV Inverter & LoadML

16 Jun 19:39
94028dc

Choose a tag to compare

What's Changed

Docs

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

15 Jun 10:12
eb5195b

Choose a tag to compare

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