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
- Alert system by @springfall2008 in #1916
- Alert update to include location by @springfall2008 in #1917
- Misc typos by @springfall2008 in #1919
- Update output-data.md by @springfall2008 in #1920
- Version 8.13.0 by @springfall2008 in #1923
- Update apps-yaml.md by @springfall2008 in #1924
Bug fixes
Catch a potential crash with GivTCP V2 and REST mode:
- Catch bad discharge percent by @springfall2008 in #1922
Full Changelog: v8.12.0...v8.13.0
