This script is used to set Victron System minimum battery state of charge (MinimumSocLimit) to a higher level if a storm warning for as specific region is published by DWD.
pip install -r requirements.txt
Google Earth KML File Each Area details contain a unique WARNCELLID
./dwd-warning.py -h
Usage: dwd_warning.py -s XXX [-v] [-b] [-p] [-u] [-r] [-h] [-n]
-v: verbose output, default False
-b: MQTT Broker IP, default 127.0.0.1
-n: dry run, no MQTT message sent
-p: MQTT Broker Port, default 1883
-r: DWD region, default 112069000 = Potsdam-Mittelmark
-s: Victron Serial Number, mandatory, no default
-u: DWD warnings.json url, default https://www.dwd.de/DWD/warnungen/warnapp/json/warnings.json
-h: shows this help