Skip to content

Releases: springfall2008/batpred

New bad weather alert system

27 Jan 11:47
8f0b2e2
Compare
Choose a tag to compare

What's Changed

New bad weather alert system

Predbat can take data directly from Meteo-Alarm feed and use it to trigger keeping your battery charged so you have power in the event of a power cut.

Please look at their web site for more details. The apps.yaml must be configured to select the URL for your country.

https://meteoalarm.org/en/live/

The event severity and certainty are all regular expressions and can be set to one or multiple values using regular expression syntax. Any unset values are ignored.

Your location (from Home Assistant) is used to filter on alerts that apply only to your area.

Events that match the given criteria will try to keep your battery at the percentage level specified by keep (default 100%) during the entire event period. This works by using a much stronger version of best_soc_keep but only for that time period.

Your Predbat status will also have [Alert] in it during the alert time period and the triangle alert symbol will show on your HTML plan for the time period of the alert.

  # Alert feeds - customise to your country and the alert types, severity and keep value
  # customise to your needs, delete the ones you don't want to trigger on - e.g. remove Amber, Moderate and Possible.
  alerts:
    url: "https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-atom-united-kingdom"
    event: "(Amber|Yellow|Orange|Red).*(Wind|Snow|Fog|Rain|Thunderstorm|Avalanche|Frost|Heat|Coastal event|Flood|Forestfire|Ice|Low temperature|Storm|Tornado|Tsunami|Volcano|Wildfire)"
    severity: "Moderate|Severe|Extreme"
    certainty: "Possible|Likely|Expected"
    keep: 40

image

Bug fixes

Catch a potential crash with GivTCP V2 and REST mode:

Full Changelog: v8.12.0...v8.13.0

Support Energidataservice

26 Jan 16:17
a8dc82e
Compare
Choose a tag to compare

What's Changed

Features

Adding support for Energidataservice for EU users

https://github.com/MTrab/energidataservice

Bug fixes

Missing rate for late tonight now takes from last night rather than the 30 minutes before

New Contributors

Full Changelog: v8.11.6...v8.12.0

Control export target for GE V3 inverters

26 Jan 10:43
3d68292
Compare
Choose a tag to compare

What's Changed

Features

Added support to control the export target for GE V3 inverters, thus preventing this from being set too high.

Full Changelog: v8.11.5...v8.11.6

Catch some cases where energy rate URL creates too much data

24 Jan 16:21
e156764
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.11.4...v8.11.5

Fix rate rounding issue with high threshold

22 Jan 09:12
6d21f7a
Compare
Choose a tag to compare

What's Changed

In the case where your highest import rate was lower than the export rate but had more than 2 decimal places it was ignored!

Full Changelog: v8.11.3...v8.11.4

Fix issue where clipping removes a charge hold causing bad plan

21 Jan 20:48
b446348
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.11.2...v8.11.3

Reduce writes in low power mode, solar charging fix

20 Jan 08:57
1e24d6c
Compare
Choose a tag to compare

What's Changed

Improvements

Try to reduce register writes in low power mode but sticking with current charge rate if a change is not required
Minor fix related to modelling of solar charging

  • Fix related to solar charging, change to try to reduce register writes in low power mode charge by @springfall2008 in #1882

Documentation

Full Changelog: v8.11.1...v8.11.2

Optimiser fixes, tweak levelling order and fix for charging with solar

18 Jan 16:02
1747a88
Compare
Choose a tag to compare

What's Changed

Changes made to the optimiser to catch some corner cases:

  • Optimise levels from the end of the plan first
  • When charging with solar that won't provide the full rate charge account of the additional export of that solar.

Full Changelog: v8.11.0...v8.11.1

Max charge rate temperature curve

12 Jan 17:43
d19b610
Compare
Choose a tag to compare

What's Changed

Features

This feature allows you to model temperature dependant charging and discharging of the battery. You can set a charge and a discharge maximum rate scaling based on temperature and then using a temperature sensor predict future battery temperatures. Low power mode will also account for this in its calculation.

To try this feature with GivTCP (Givenergy) can you update your apps.yaml to both give battery temperature and also define charge curve. I don't know what the correct charge or discharge curves are for particular makes and models but this charge curve came from some comments made by GivEnergy.

  battery_temperature:
   - sensor.givtcp_battery_stack_1_bms_temperature
   - sensor.givtcp2_battery_stack_1_bms_temperature

  # Battery temperature charge adjustment curve
  # Specific in C which is a multiple of the battery capacity
  # e.g. 0.33 C is 33% of the battery capacity
  # values unspecified will be assumed to be 1.0 hence rate is capped by max charge rate
  battery_temperature_history: sensor.givtcp_battery_stack_1_bms_temperature
  battery_temperature_charge_curve:
    19: 0.33
    18: 0.33
    17: 0.33
    16: 0.33
    15: 0.33
    14: 0.33
    13: 0.33
    12: 0.33
    11: 0.33
    10: 0.25
    9: 0.25
    8: 0.25
    7: 0.25
    6: 0.25
    5: 0.25
    4: 0.25
    3: 0.25
    2: 0.25
    1: 0.15
    0: 0.00

Bug fixes

Full Changelog: v8.10.2...v8.11.0

Bug fixes, repeat service name, Service API for car hold

11 Jan 15:20
f9db1d8
Compare
Choose a tag to compare

What's Changed

The documented name repeat did not match the code.

The service API was not called when holding for car or iboost, this is now fixed.

Full Changelog: v8.10.1...v8.10.2