bbk-warnings does not display warnings eventhough there are some

168 views
Skip to first unread message

Stefan Gliessmann

unread,
Jul 18, 2023, 4:47:44 AM7/18/23
to weewx-user
I am struggling with the use of bbk-warnings.

I would like to use "bundesweit" instead of a specific ARS. Hence, I use biwapp, mowas, lhp, police, etc.
Checking using the NINA or BiWapp Apps, it seems that I do not receive all infos/warnings in the generated e.g. bbk-mowas.inc files.

please take a look at the following example:

teffi@weewx:~/bkk-warnings$ sudo bbk-warnings mowas --dry-run
Using test configuration
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/appdata/gsb/logos/logos.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/mowas/mapData.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/dashboard/145220000000.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/dashboard/147130000000.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/dashboard/145210000000.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/warnings/mow.DE-NW-EU-SE091-20210823-109-000.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/warnings/mow.DE-BY-LA-W144-20230713-000.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/warnings/mow.DE-HE-FB-W193-20230714-002.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/warnings/mow.DE-BW-LB-W026-20230714-000.json
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/warnings/mow.DE-BY-ED-W186-20230717-000.json
########################################
-- HTML -- bbk-mowas.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 10:37</p>

-- JSON -- bbk-mowas.json -----------------------------
[]
########################################
-- HTML -- bbk-DL.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 10:37</p>

-- JSON -- bbk-DL.json -----------------------------
[]
########################################
-- HTML -- bbk-L.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 10:37</p>

-- JSON -- bbk-L.json -----------------------------
[]
########################################
-- HTML -- bbk-Oberwiesenthal.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 10:37</p>

-- JSON -- bbk-Oberwiesenthal.json -----------------------------
[]
teffi@weewx:~/bkk-warnings$ sudo curl -X 'GET' 'https://nina.api.proxy.bund.dev/api31/mowas/mapData.json' -H 'accept: application/json'
[{"id":"mow.DE-NW-EU-SE091-20210823-109-000","version":1,"startDate":"2021-11-09T15:17:17+01:00","severity":"Minor","type":"Update","i18nTitle":{"de":"+++ Betretungsverbot Bergschadensgebiet Stadt Mechernich +++"},"transKeys":{"event":"BBK-EVC-059"}},{"id":"mow.DE-BY-LA-W144-20230713-000","version":5,"startDate":"2023-07-13T12:41:33+02:00","severity":"Minor","type":"Alert","i18nTitle":{"de":"Bakterielle Verkeimung im Trinkwasser in einzelnen Ortsteilen von Neustadt a.d. Do - Neustadt a.d. Donau - Ortsteile Arresting, Hienheim, Irnsing und Marching"},"transKeys":{"event":"BBK-EVC-069"}},{"id":"mow.DE-HE-FB-W193-20230714-002","version":5,"startDate":"2023-07-14T15:08:50+02:00","severity":"Minor","type":"Update","i18nTitle":{"de":"Explosionsgefahr Stadtwald Butzbach - Stadtwald Butzbach"},"transKeys":{"event":"BBK-EVC-077"}},{"id":"mow.DE-BW-LB-W026-20230714-000","version":5,"startDate":"2023-07-14T16:59:18+02:00","severity":"Minor","type":"Alert","i18nTitle":{"de":"Abkochgebot Trinkwasser in Mundelsheim - Mundelsheim gesamtes Ortsgebiet"},"transKeys":{"event":"BBK-EVC-069"}},{"id":"mow.DE-BY-ED-W186-20230717-000","version":5,"startDate":"2023-07-17T15:22:30+02:00","severity":"Minor","type":"Alert","i18nTitle":{"de":"Verunreinigung des Trinkwassers mit Keimen in der Stadt Moosburg a.d. Isar - Stadt Moosburg; Thonstetten; Grünseiboldsdorf; Ober-Niederhummel"},"transKeys":{"event":"BBK-EVC-069"}}]teffi@weewx:~/bkk-warnings$
teffi@weewx:~/bkk-warnings$

Stefan Gliessmann

unread,
Jul 18, 2023, 5:08:24 AM7/18/23
to weewx-user
similar with bbk-warnings dwd --dry-run

there is a gale wind warning, but bbk-dwd.inc says no warnings ...

teffi@weewx:~/bkk-warnings$ sudo bbk-warnings dwd --dry-run
INFO successfully downloaded https://nina.api.proxy.bund.dev/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL.json
########################################
-- HTML -- bbk-dwd.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 11:04</p>

-- JSON -- bbk-dwd.json -----------------------------

[]
########################################
-- HTML -- bbk-DL.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 11:04</p>


-- JSON -- bbk-DL.json -----------------------------
[]
########################################
-- HTML -- bbk-L.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 11:04</p>


-- JSON -- bbk-L.json -----------------------------
[]
########################################
-- HTML -- bbk-Oberwiesenthal.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 11:04</p>


-- JSON -- bbk-Oberwiesenthal.json -----------------------------
[]
teffi@weewx:~/bkk-warnings$ sudo curl -X 'GET' 'https://nina.api.proxy.bund.dev/api31/dwd/mapData.json' -H 'accept: application/json'
[{"id":"dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL","version":5,"startDate":"2023-07-18T10:46:00+02:00","expiresDate":"2023-07-19T06:00:00+02:00","severity":"Moderate","type":"Alert","i18nTitle":{"de":"Amtliche WARNUNG vor STURMBÖEN","en":"Official WARNING of GALE-FORCE GUSTS","es":"AVISO oficial de TURBONADA","fr":"ALERTE officielle INTEMPÉRIES PRONONCÉES pour RAFALES DE FORCE FORT COUP DE VENT"}}]teffi@weewx:~/bkk-warnings$
teffi@weewx:~/bkk-warnings$

Karen K

unread,
Jul 18, 2023, 10:50:08 AM7/18/23
to weewx-user
"Using test configuration" is the important notice within the output. This is for testing only. You need to specify either --weewx or --config=your_config_file at the command line.

Stefan Gliessmann

unread,
Jul 18, 2023, 12:05:12 PM7/18/23
to weewx-user
Ok - thank you for the hint :)

here is another try with --weewx dwd whole of Germany

teffi@weewx:/etc/weewx/skins/Belchertown/dwd$ sudo bbk-warnings dwd --weewx --dry-run
[sudo] password for teffi:
Using configuration file /etc/weewx/weewx.conf
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/logos/logos.json
-- get_warnings -------------------------------
++ dashboard data ++++++++++++++++++++++++++++++++++++++
INFO successfully downloaded https://warnung.bund.de/api31/dwd/mapData.json
INFO Regionalschlüssel ARS dwd, 1 Einträge
INFO Warn ID: dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL
INFO {'id': 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL', 'version': 5, 'startDate': '2023-07-18T10:46:00+02:00', 'expiresDate': '2023-07-19T06:00:00+02:00', 'severity': 'Moderate', 'type': 'Alert', 'i18nTitle': {'de': 'Amtliche WARNUNG vor STURMBÖEN', 'en': 'Official WARNING of GALE-FORCE GUSTS', 'es': 'AVISO oficial de TURBONADA', 'fr': 'ALERTE officielle INTEMPÉRIES PRONONCÉES pour RAFALES DE FORCE FORT COUP DE VENT'}}
BBK.warnings() areas ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL']
BBK.warnings() areas[] dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL']
INFO successfully downloaded https://warnung.bund.de/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL.json
BBK.warnings() get_warning( dwdmap.2.49.0.0.276.0.DWD.PVW.1689669960000.e59c3f1a-6812-4a12-a755-9d83ea7e2deb.MUL )

########################################
-- HTML -- bbk-dwd.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 17:59</p>


-- JSON -- bbk-dwd.json -----------------------------
[]
teffi@weewx:/etc/weewx/skins/Belchertown/dwd$


oder auch mit MoWas:

teffi@weewx:/etc/weewx/skins/Belchertown/dwd$ sudo bbk-warnings mowas --weewx --dry-run
Using configuration file /etc/weewx/weewx.conf
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/logos/logos.json
-- get_warnings -------------------------------
++ dashboard data ++++++++++++++++++++++++++++++++++++++
INFO successfully downloaded https://warnung.bund.de/api31/mowas/mapData.json
INFO Regionalschlüssel ARS mowas, 11 Einträge
INFO Warn ID: mow.DE-NW-EU-SE091-20210823-109-000
INFO {'id': 'mow.DE-NW-EU-SE091-20210823-109-000', 'version': 1, 'startDate': '2021-11-09T15:17:17+01:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': '+++ Betretungsverbot Bergschadensgebiet Stadt Mechernich +++'}, 'transKeys': {'event': 'BBK-EVC-059'}}
INFO Warn ID: mow.DE-BY-LA-W144-20230713-000
INFO {'id': 'mow.DE-BY-LA-W144-20230713-000', 'version': 5, 'startDate': '2023-07-13T12:41:33+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Bakterielle Verkeimung im Trinkwasser in einzelnen Ortsteilen von Neustadt a.d. Do - Neustadt a.d. Donau - Ortsteile Arresting, Hienheim, Irnsing und Marching'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-HE-FB-W193-20230714-002
INFO {'id': 'mow.DE-HE-FB-W193-20230714-002', 'version': 5, 'startDate': '2023-07-14T15:08:50+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Explosionsgefahr Stadtwald Butzbach - Stadtwald Butzbach'}, 'transKeys': {'event': 'BBK-EVC-077'}}
INFO Warn ID: mow.DE-BW-LB-W026-20230714-000
INFO {'id': 'mow.DE-BW-LB-W026-20230714-000', 'version': 5, 'startDate': '2023-07-14T16:59:18+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Abkochgebot Trinkwasser in Mundelsheim - Mundelsheim gesamtes Ortsgebiet'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-BY-ED-W186-20230717-000
INFO {'id': 'mow.DE-BY-ED-W186-20230717-000', 'version': 5, 'startDate': '2023-07-17T15:22:30+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Verunreinigung des Trinkwassers mit Keimen in der Stadt Moosburg a.d. Isar - Stadt Moosburg; Thonstetten; Grünseiboldsdorf; Ober-Niederhummel'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-BW-HD-W086-20230718-001
INFO {'id': 'mow.DE-BW-HD-W086-20230718-001', 'version': 5, 'startDate': '2023-07-18T13:24:33+02:00', 'expiresDate': '2023-07-18T19:24:33+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Stromausfall in Sinsheim und Ortsteile - Sinsheim'}, 'transKeys': {'event': 'BBK-EVC-063'}}
INFO Warn ID: mow.DE-SN-HY-SE048-20230718-122-001
INFO {'id': 'mow.DE-SN-HY-SE048-20230718-122-001', 'version': 5, 'startDate': '2023-07-18T14:52:23+02:00', 'expiresDate': '2023-07-18T20:52:23+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Rauchentwicklung durch Feldbrand - Gerichshain / B6'}, 'transKeys': {'event': 'BBK-EVC-077'}}
INFO Warn ID: mow.DE-SL-SB-SE035-20230718-35-000
INFO {'id': 'mow.DE-SL-SB-SE035-20230718-35-000', 'version': 5, 'startDate': '2023-07-18T15:25:18+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Rauchentwicklung durch Brandereignis - Wadern-Krettnich'}, 'transKeys': {'event': 'BBK-EVC-030'}}
INFO Warn ID: mow.DE-NW-HER-SE083-20230718-83-001
INFO {'id': 'mow.DE-NW-HER-SE083-20230718-83-001', 'version': 5, 'startDate': '2023-07-18T15:42:50+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Kampfmittelfund in Wanne-Süd - Herne'}, 'transKeys': {'event': 'BBK-EVC-079'}}
INFO Warn ID: mow.DE-BB-BRB-SE081-20230718-81-001
INFO {'id': 'mow.DE-BB-BRB-SE081-20230718-81-001', 'version': 5, 'startDate': '2023-07-18T16:57:29+02:00', 'expiresDate': '2023-07-18T22:57:29+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Geruchsbelästigung in/im [Kreis/Stadtteil] - Gewerbe Gebiet Brück'}, 'transKeys': {'event': 'BBK-EVC-030'}}
INFO Warn ID: mow.DE-TH-HIG-W111-20230718-002
INFO {'id': 'mow.DE-TH-HIG-W111-20230718-002', 'version': 5, 'startDate': '2023-07-18T17:54:39+02:00', 'expiresDate': '2023-07-18T23:54:39+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Gasaustritt - Dingelstädt/Eichsfeld'}, 'transKeys': {'event': 'BBK-EVC-027'}}
BBK.warnings() areas ['mow.DE-NW-EU-SE091-20210823-109-000', 'mow.DE-BY-LA-W144-20230713-000', 'mow.DE-HE-FB-W193-20230714-002', 'mow.DE-BW-LB-W026-20230714-000', 'mow.DE-BY-ED-W186-20230717-000', 'mow.DE-BW-HD-W086-20230718-001', 'mow.DE-SN-HY-SE048-20230718-122-001', 'mow.DE-SL-SB-SE035-20230718-35-000', 'mow.DE-NW-HER-SE083-20230718-83-001', 'mow.DE-BB-BRB-SE081-20230718-81-001', 'mow.DE-TH-HIG-W111-20230718-002']
BBK.warnings() areas[] mow.DE-NW-EU-SE091-20210823-109-000 ['mow.DE-NW-EU-SE091-20210823-109-000']
BBK.warnings() areas[] mow.DE-BY-LA-W144-20230713-000 ['mow.DE-BY-LA-W144-20230713-000']
BBK.warnings() areas[] mow.DE-HE-FB-W193-20230714-002 ['mow.DE-HE-FB-W193-20230714-002']
BBK.warnings() areas[] mow.DE-BW-LB-W026-20230714-000 ['mow.DE-BW-LB-W026-20230714-000']
BBK.warnings() areas[] mow.DE-BY-ED-W186-20230717-000 ['mow.DE-BY-ED-W186-20230717-000']
BBK.warnings() areas[] mow.DE-BW-HD-W086-20230718-001 ['mow.DE-BW-HD-W086-20230718-001']
BBK.warnings() areas[] mow.DE-SN-HY-SE048-20230718-122-001 ['mow.DE-SN-HY-SE048-20230718-122-001']
BBK.warnings() areas[] mow.DE-SL-SB-SE035-20230718-35-000 ['mow.DE-SL-SB-SE035-20230718-35-000']
BBK.warnings() areas[] mow.DE-NW-HER-SE083-20230718-83-001 ['mow.DE-NW-HER-SE083-20230718-83-001']
BBK.warnings() areas[] mow.DE-BB-BRB-SE081-20230718-81-001 ['mow.DE-BB-BRB-SE081-20230718-81-001']
BBK.warnings() areas[] mow.DE-TH-HIG-W111-20230718-002 ['mow.DE-TH-HIG-W111-20230718-002']
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-NW-EU-SE091-20210823-109-000.json
BBK.warnings() get_warning( mow.DE-NW-EU-SE091-20210823-109-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BY-LA-W144-20230713-000.json
BBK.warnings() get_warning( mow.DE-BY-LA-W144-20230713-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-HE-FB-W193-20230714-002.json
BBK.warnings() get_warning( mow.DE-HE-FB-W193-20230714-002 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-LB-W026-20230714-000.json
BBK.warnings() get_warning( mow.DE-BW-LB-W026-20230714-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BY-ED-W186-20230717-000.json
BBK.warnings() get_warning( mow.DE-BY-ED-W186-20230717-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-HD-W086-20230718-001.json
BBK.warnings() get_warning( mow.DE-BW-HD-W086-20230718-001 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-SN-HY-SE048-20230718-122-001.json
BBK.warnings() get_warning( mow.DE-SN-HY-SE048-20230718-122-001 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-SL-SB-SE035-20230718-35-000.json
BBK.warnings() get_warning( mow.DE-SL-SB-SE035-20230718-35-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-NW-HER-SE083-20230718-83-001.json
BBK.warnings() get_warning( mow.DE-NW-HER-SE083-20230718-83-001 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BB-BRB-SE081-20230718-81-001.json
BBK.warnings() get_warning( mow.DE-BB-BRB-SE081-20230718-81-001 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-TH-HIG-W111-20230718-002.json
BBK.warnings() get_warning( mow.DE-TH-HIG-W111-20230718-002 )

########################################
-- HTML -- bbk-mowas.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 18:03</p>


-- JSON -- bbk-mowas.json -----------------------------
[]
teffi@weewx:/etc/weewx/skins/Belchertown/dwd$

Stefan Gliessmann

unread,
Jul 18, 2023, 12:07:56 PM7/18/23
to weewx-user
which part of the weewx.conf might be of interest to you?

TIA,
Stefan

P.S.: ich mag Deine/Eure Wetter Homepage sehr ;)

Stefan Gliessmann

unread,
Jul 18, 2023, 12:17:59 PM7/18/23
to weewx-user
for BiWapp it works ...

teffi@weewx:/etc/weewx/skins/Belchertown/dwd$ sudo bbk-warnings biwapp --weewx --dry-run

Using configuration file /etc/weewx/weewx.conf
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/logos/logos.json
-- get_warnings -------------------------------
++ dashboard data ++++++++++++++++++++++++++++++++++++++
INFO successfully downloaded https://warnung.bund.de/api31/biwapp/mapData.json
INFO Regionalschlüssel ARS biwapp, 1 Einträge
INFO Warn ID: biw.BIWAPP-76845
INFO {'id': 'biw.BIWAPP-76845', 'version': 5, 'startDate': '2023-07-12T17:46:26+02:00', 'expiresDate': '2023-07-31T17:34:00+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Gefahren durch Gewitterschäden in den Wäldern um Sulz a.N., besonders Glatt und Dürrenmettstetten'}}
BBK.warnings() areas ['biw.BIWAPP-76845']
BBK.warnings() areas[] biw.BIWAPP-76845 ['biw.BIWAPP-76845']
INFO successfully downloaded https://warnung.bund.de/api31/warnings/biw.BIWAPP-76845.json
BBK.warnings() get_warning( biw.BIWAPP-76845 )
########################################
-- HTML -- bbk-biwapp.inc ------------------------------
<p style="margin-top:5px"><strong>Sulz am Neckar</strong></p>
<table style="vertical-align:middle"><tr style="vertical-align:middle">
<td style="width:60px"><img src="https://warnung.bund.de/assets/icons/report_mowas.svg" alt="8"/></td>
<td><p style="font-size:100%;margin-bottom:0">Gefahren durch Gewitterschäden in den Wäldern um Sulz a.N., besonders Glatt und Dürrenmettstetten</p>
<p style="font-size:80%">gültig vom 12.07. 17:46 bis 31.07. 17:34</p></td>
</tr></table>
<p>In der Nacht auf Mittwoch 12.07.2023 sind teils schwere Gewitter über Baden-Württemberg hinweggezogen. In den Wäldern rund um Sulz am Neckar wurden viele Bäume entwurzelt und abgerissen, v.a. die Waldbereiche um Dürrenmettstetten und Glatt sind besonders betroffen. Teilweise wurden Bäume nur angeschoben und stehen nun sehr unsicher schräg im Wald. Diese können unvermittelt und ohne erkennbare Vorwarnung zu Boden fallen. Außerdem hängen in vielen Bäumen noch lose, vom Sturm abgerissene Äste. Auch diese können bei weiteren Windbewegungen unkontrolliert zu Boden fallen.<br><br>Das Forstamt warnt ausdrücklich vor diesen Waldgefahren nach Gewitterstürmen.<br><br>Das Forstamt bittet die Waldbesucher daher, den Wald rund um Sulz am Neckar vorerst zu meiden. Sperrungen von Waldstraßen müssen unbedingt beachtet werden!<br>Die Forstpartie hat bereits mit den Aufräumarbeiten begonnen. Da die betroffenen Waldflächen sehr groß sind und die Aufräumarbeiten mit großer Vorsicht durchgeführt werden müssen, werden die Arbeiten voraussichtlich zwei Wochen andauern. Wir bitten die Waldbesucher hierfür um Verständnis.<br><br>Rottweil, 12.07.2023<br>gez. Strasdeit, Gebietsleitung Schwarzwald-Neckar</p>
<p style="font-size:80%">Quelle: <img src="https://warnung.bund.de/api31/appdata/gsb/logos/CAP_at_biwapp.de.png" style="max-height:16px" alt="C...@biwapp.de" /> BIWAPP (C...@biwapp.de)</p><p style="font-size:40%">None &ndash; 8 &emsp;&ndash;&emsp;  2 &ndash; leicht &emsp;&ndash;&emsp; ['Safety'] &ndash; ['allgemeine Gefahren und öffentliche Sicherheit'] &emsp;&ndash;&emsp; biw.BIWAPP-76845</p><p style="font-size:65%">Herausgegeben vom BBK | Abgerufen am 18.07.2023 18:16</p>

-- JSON -- bbk-biwapp.json -----------------------------
[
    {
        "identifier": "biw.BIWAPP-76845",
        "sender": "C...@biwapp.de",
        "sent": 1689176786000,
        "status": "Actual",
        "msgType": null,
        "source": null,
        "scope": "Public",
        "regionName": "Sulz am Neckar",
        "altitudeRange": [
            0,
            3000
        ],
        "areas": [
            [
                "Sulz am Neckar",
                "biwapp",
                0,
                3000,
                "",
                "",
                "biwapp"
            ]
        ],
        "description": "In der Nacht auf Mittwoch 12.07.2023 sind teils schwere Gewitter über Baden-Württemberg hinweggezogen. In den Wäldern rund um Sulz am Neckar wurden viele Bäume entwurzelt und abgerissen, v.a. die Waldbereiche um Dürrenmettstetten und Glatt sind besonders betroffen. Teilweise wurden Bäume nur angeschoben und stehen nun sehr unsicher schräg im Wald. Diese können unvermittelt und ohne erkennbare Vorwarnung zu Boden fallen. Außerdem hängen in vielen Bäumen noch lose, vom Sturm abgerissene Äste. Auch diese können bei weiteren Windbewegungen unkontrolliert zu Boden fallen.<br><br>Das Forstamt warnt ausdrücklich vor diesen Waldgefahren nach Gewitterstürmen.<br><br>Das Forstamt bittet die Waldbesucher daher, den Wald rund um Sulz am Neckar vorerst zu meiden. Sperrungen von Waldstraßen müssen unbedingt beachtet werden!<br>Die Forstpartie hat bereits mit den Aufräumarbeiten begonnen. Da die betroffenen Waldflächen sehr groß sind und die Aufräumarbeiten mit großer Vorsicht durchgeführt werden müssen, werden die Arbeiten voraussichtlich zwei Wochen andauern. Wir bitten die Waldbesucher hierfür um Verständnis.<br><br>Rottweil, 12.07.2023<br>gez. Strasdeit, Gebietsleitung Schwarzwald-Neckar",
        "event": "8",
        "headline": "Gefahren durch Gewitterschäden in den Wäldern um Sulz a.N., besonders Glatt und Dürrenmettstetten",
        "instruction": "",
        "category": [
            "Safety"
        ],
        "categoryName": [
            "allgemeine Gefahren und öffentliche Sicherheit"
        ],
        "responseType": null,
        "urgency": "Unknown",
        "severity": "Minor",
        "released": 1689176786000,
        "start": 1689176786000,
        "end": 1690817640000,
        "parameter": {},
        "level": 2,
        "level_text": "leicht",
        "type": null,
        "icon": "https://warnung.bund.de/assets/icons/report_mowas.svg",
        "sender_logo": "https://warnung.bund.de/api31/appdata/gsb/logos/CAP_at_biwapp.de.png",
        "sender_name": "BIWAPP",
        "capwarnings_downloaded": 1689696989.723921
    }
]
teffi@weewx:/etc/weewx/skins/Belchertown/dwd$



On Tuesday, July 18, 2023 at 6:05:12 PM UTC+2 Stefan Gliessmann wrote:

Karen K

unread,
Jul 19, 2023, 8:25:19 AM7/19/23
to weewx-user
To prevent weather warnings from being downloaded twice if you use both dwd-cap-warnings and bbk-warnings, you need an additional parameter for bbk-warnings to get weather warnings: --include-dwd. See README. I hope this answers your question.

Um zu vermeiden, daß man dieselbe Meldung doppelt erhält, wenn man sowohl dwd-cap-warnings als auch bbk-warnings benutzt, werden Wettermeldungen bei bbk-warnings nur dann einbezogen, wenn man zusätzlich den Parameter --include-dwd angibt. Das ist in der README beschrieben. Ich hoffe, daß das der Punkt war.


Stefan Gliessmann

unread,
Jul 19, 2023, 8:41:08 AM7/19/23
to weewx...@googlegroups.com
Thank you for your reply and the hint for --include-dwd. :)

Do you have an explanation why 

sudo bbk-warnings mowas --weewx --dry-run

downloads MoWas messages, but the bbl-mowas.inc file says:

-- HTML -- bbk-mowas.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 18.07.2023 18:03</p>

This is actually the issue. the command downloads current warnings, but it does not generate the content of the *.inc files correctly.


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/rTDee4R11-U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/627b3f1f-881d-4f52-aacc-959e445ebcfcn%40googlegroups.com.

Stefan Gliessmann

unread,
Jul 19, 2023, 8:56:48 AM7/19/23
to weewx-user
bbk-warnings dwd --include-dwd --weewx erzeugt einen Fehler (Fehler in meiner weewx.conf?)

teffi@weewx:~$ sudo bbk-warnings dwd --include-dwd --weewx --dry-run
Using configuration file /etc/weewx/weewx.conf
Traceback (most recent call last):
  File "/usr/local/bin/bbk-warnings", line 1992, in <module>
    cap = CAPwarnings(config,provider,options.verbose)
  File "/usr/local/bin/bbk-warnings", line 1760, in __init__
    sec_dict = accumulateLeaves(config_dict['WeatherServices']['warning'][sec])
  File "/usr/local/bin/bbk-warnings", line 142, in accumulateLeaves
    y.update({a:x.parent.parent[a] for a in x.parent.parent.scalars})
AttributeError: 'bool' object has no attribute 'parent'
teffi@weewx:~$

ohne --include-dwd lädt es die Warnungen runter ...

teffi@weewx:~$ sudo bbk-warnings dwd --weewx --dry-run

Using configuration file /etc/weewx/weewx.conf
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/logos/logos.json
-- get_warnings -------------------------------
++ dashboard data ++++++++++++++++++++++++++++++++++++++
INFO successfully downloaded https://warnung.bund.de/api31/dwd/mapData.json
INFO Regionalschlüssel ARS dwd, 5 Einträge
INFO Warn ID: dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL
INFO {'id': 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL', 'version': 5, 'startDate': '2023-07-19T13:57:00+02:00', 'expiresDate': '2023-07-19T15:00:00+02:00', 'severity': 'Moderate', 'type': 'Alert', 'i18nTitle': {'de': 'Amtliche WARNUNG vor STARKEM GEWITTER', 'en': 'Official WARNING of HEAVY THUNDERSTORMS', 'es': 'AVISO oficial de TORMENTA FUERTE', 'fr': 'ALERTE officielle INTEMPÉRIES PRONONCÉES pour FORTS ORAGES'}}
INFO Warn ID: dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL
INFO {'id': 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL', 'version': 5, 'startDate': '2023-07-19T14:23:00+02:00', 'expiresDate': '2023-07-19T15:15:00+02:00', 'severity': 'Moderate', 'type': 'Alert', 'i18nTitle': {'de': 'Amtliche WARNUNG vor STARKEM GEWITTER', 'en': 'Official WARNING of HEAVY THUNDERSTORMS', 'es': 'AVISO oficial de TORMENTA FUERTE', 'fr': 'ALERTE officielle INTEMPÉRIES PRONONCÉES pour FORTS ORAGES'}}
INFO Warn ID: dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL
INFO {'id': 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL', 'version': 5, 'startDate': '2023-07-19T14:41:00+02:00', 'expiresDate': '2023-07-19T15:30:00+02:00', 'severity': 'Moderate', 'type': 'Update', 'i18nTitle': {'de': 'Amtliche WARNUNG vor STARKEM GEWITTER', 'en': 'Official WARNING of HEAVY THUNDERSTORMS', 'es': 'AVISO oficial de TORMENTA FUERTE', 'fr': 'ALERTE officielle INTEMPÉRIES PRONONCÉES pour FORTS ORAGES'}}
INFO Warn ID: dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL
INFO {'id': 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL', 'version': 5, 'startDate': '2023-07-19T14:48:00+02:00', 'expiresDate': '2023-07-19T15:45:00+02:00', 'severity': 'Moderate', 'type': 'Alert', 'i18nTitle': {'de': 'Amtliche WARNUNG vor STARKEM GEWITTER', 'en': 'Official WARNING of HEAVY THUNDERSTORMS', 'es': 'AVISO oficial de TORMENTA FUERTE', 'fr': 'ALERTE officielle INTEMPÉRIES PRONONCÉES pour FORTS ORAGES'}}
INFO Warn ID: dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL
INFO {'id': 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL', 'version': 5, 'startDate': '2023-07-19T14:52:00+02:00', 'expiresDate': '2023-07-19T16:00:00+02:00', 'severity': 'Moderate', 'type': 'Alert', 'i18nTitle': {'de': 'Amtliche WARNUNG vor STARKEM GEWITTER', 'en': 'Official WARNING of HEAVY THUNDERSTORMS', 'es': 'AVISO oficial de TORMENTA FUERTE', 'fr': 'ALERTE officielle INTEMPÉRIES PRONONCÉES pour FORTS ORAGES'}}
BBK.warnings() areas ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL', 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL', 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL', 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL', 'dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL']
BBK.warnings() areas[] dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL']
BBK.warnings() areas[] dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL']
BBK.warnings() areas[] dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL']
BBK.warnings() areas[] dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL']
BBK.warnings() areas[] dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL ['dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL']
INFO successfully downloaded https://warnung.bund.de/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL.json
BBK.warnings() get_warning( dwdmap.2.49.0.0.276.0.DWD.PVW.1689767820000.3464be94-05f9-4c04-a628-ea9d41c9ed6a.MUL )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL.json
BBK.warnings() get_warning( dwdmap.2.49.0.0.276.0.DWD.PVW.1689769380000.5290e8e2-bd40-47fd-85f1-e33429a9636e.MUL )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL.json
BBK.warnings() get_warning( dwdmap.2.49.0.0.276.0.DWD.PVW.1689770460000.86b27fa8-155b-4003-839d-33d2bf2caa63.MUL )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL.json
BBK.warnings() get_warning( dwdmap.2.49.0.0.276.0.DWD.PVW.1689770880000.5319aa3e-f134-42c5-90f9-6cf98fb52ae7.MUL )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL.json
BBK.warnings() get_warning( dwdmap.2.49.0.0.276.0.DWD.PVW.1689771120000.540c5865-d4f3-460d-a63d-1dd9a4058900.MUL )

########################################
-- HTML -- bbk-dwd.inc ------------------------------
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 19.07.2023 14:54</p>


-- JSON -- bbk-dwd.json -----------------------------
[]

Karen K

unread,
Jul 19, 2023, 9:10:33 AM7/19/23
to weewx-user
With --dry-run no files are created. That's the purpose of that parameter.

Stefan Gliessmann

unread,
Jul 19, 2023, 11:52:24 AM7/19/23
to weewx-user
Maybe this explains my confusion a bit better.

I run the bbk-warning comand for mowas as shown below.
Messages are getting loaded from warnung.bund.de.
However the related file bbk-mowas.inc states that there aren't any warnings.
I expected that if the option "mowas" is used instead of an ARS, all warnings would be included in the bbk-mowas.inc file.

Is this expectation correct?

Do I need to configure something additionally?

I do really appreciate your help on this topic!
Thank you in advance,
Stefan


teffi@weewx:/etc/weewx/skins/Belchertown/dwd$ sudo bbk-warnings mowas --weewx
Using configuration file /etc/weewx/weewx.conf
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/logos/logos.json
-- get_warnings -------------------------------
++ dashboard data ++++++++++++++++++++++++++++++++++++++
INFO successfully downloaded https://warnung.bund.de/api31/mowas/mapData.json
INFO Regionalschlüssel ARS mowas, 9 Einträge

INFO Warn ID: mow.DE-NW-EU-SE091-20210823-109-000
INFO {'id': 'mow.DE-NW-EU-SE091-20210823-109-000', 'version': 1, 'startDate': '2021-11-09T15:17:17+01:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': '+++ Betretungsverbot Bergschadensgebiet Stadt Mechernich +++'}, 'transKeys': {'event': 'BBK-EVC-059'}}
INFO Warn ID: mow.DE-HE-FB-W193-20230714-002
INFO {'id': 'mow.DE-HE-FB-W193-20230714-002', 'version': 5, 'startDate': '2023-07-14T15:08:50+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Explosionsgefahr Stadtwald Butzbach - Stadtwald Butzbach'}, 'transKeys': {'event': 'BBK-EVC-077'}}
INFO Warn ID: mow.DE-BW-LB-W026-20230714-000
INFO {'id': 'mow.DE-BW-LB-W026-20230714-000', 'version': 5, 'startDate': '2023-07-14T16:59:18+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Abkochgebot Trinkwasser in Mundelsheim - Mundelsheim gesamtes Ortsgebiet'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-BY-ED-W186-20230717-000
INFO {'id': 'mow.DE-BY-ED-W186-20230717-000', 'version': 5, 'startDate': '2023-07-17T15:22:30+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Verunreinigung des Trinkwassers mit Keimen in der Stadt Moosburg a.d. Isar - Stadt Moosburg; Thonstetten; Grünseiboldsdorf; Ober-Niederhummel'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-SH-KI-SE099-20230719-99-000
INFO {'id': 'mow.DE-SH-KI-SE099-20230719-99-000', 'version': 5, 'startDate': '2023-07-19T13:23:13+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Kampfmittelentschärfung im Kieler Stadtgebiet - Kiel-Ellerbek und Kiel-Gaarden-Ost'}, 'transKeys': {'event': 'BBK-EVC-009'}}
INFO Warn ID: mow.DE-BY-LA-W144-20230719-000
INFO {'id': 'mow.DE-BY-LA-W144-20230719-000', 'version': 5, 'startDate': '2023-07-19T14:36:29+02:00', 'expiresDate': '2023-07-19T20:36:29+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Bakterielle Verkeimung im Trinkwasser in einzelnen Ortsteilen von Neus - Neustadt a.d. Donau - Ortsteile Arresting, Hienheim, Irnsing und Marching'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-BW-HD-W086-20230719-001
INFO {'id': 'mow.DE-BW-HD-W086-20230719-001', 'version': 5, 'startDate': '2023-07-19T15:46:23+02:00', 'expiresDate': '2023-07-19T21:46:23+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Stromausfall in Eberbach (Stadtmitte + Nord) - Eberbach (Rhein-Neckar-Kreis)'}, 'transKeys': {'event': 'BBK-EVC-063'}}
INFO Warn ID: mow.DE-BW-RT-SE050-20230719-50-000
INFO {'id': 'mow.DE-BW-RT-SE050-20230719-50-000', 'version': 5, 'startDate': '2023-07-19T17:16:13+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Gebäudebrand, starke Rauchentwicklung bis 5 m Bodennähe - Stadtgebiet Oberkirch'}, 'transKeys': {'event': 'BBK-EVC-010'}}
INFO Warn ID: mow.DE-ST-SK-W070-20230719-002
INFO {'id': 'mow.DE-ST-SK-W070-20230719-002', 'version': 5, 'startDate': '2023-07-19T17:28:21+02:00', 'expiresDate': '2023-07-19T23:28:21+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Starke Rauchentwicklung durch Feldbrand - Bereich Bad Dürrenberg/Tollwitz sowie BAB 9'}, 'transKeys': {'event': 'BBK-EVC-010'}}
BBK.warnings() areas ['mow.DE-NW-EU-SE091-20210823-109-000', 'mow.DE-HE-FB-W193-20230714-002', 'mow.DE-BW-LB-W026-20230714-000', 'mow.DE-BY-ED-W186-20230717-000', 'mow.DE-SH-KI-SE099-20230719-99-000', 'mow.DE-BY-LA-W144-20230719-000', 'mow.DE-BW-HD-W086-20230719-001', 'mow.DE-BW-RT-SE050-20230719-50-000', 'mow.DE-ST-SK-W070-20230719-002']
BBK.warnings() areas[] mow.DE-NW-EU-SE091-20210823-109-000 ['mow.DE-NW-EU-SE091-20210823-109-000']

BBK.warnings() areas[] mow.DE-HE-FB-W193-20230714-002 ['mow.DE-HE-FB-W193-20230714-002']
BBK.warnings() areas[] mow.DE-BW-LB-W026-20230714-000 ['mow.DE-BW-LB-W026-20230714-000']
BBK.warnings() areas[] mow.DE-BY-ED-W186-20230717-000 ['mow.DE-BY-ED-W186-20230717-000']
BBK.warnings() areas[] mow.DE-SH-KI-SE099-20230719-99-000 ['mow.DE-SH-KI-SE099-20230719-99-000']
BBK.warnings() areas[] mow.DE-BY-LA-W144-20230719-000 ['mow.DE-BY-LA-W144-20230719-000']
BBK.warnings() areas[] mow.DE-BW-HD-W086-20230719-001 ['mow.DE-BW-HD-W086-20230719-001']
BBK.warnings() areas[] mow.DE-BW-RT-SE050-20230719-50-000 ['mow.DE-BW-RT-SE050-20230719-50-000']
BBK.warnings() areas[] mow.DE-ST-SK-W070-20230719-002 ['mow.DE-ST-SK-W070-20230719-002']

INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-NW-EU-SE091-20210823-109-000.json
BBK.warnings() get_warning( mow.DE-NW-EU-SE091-20210823-109-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-HE-FB-W193-20230714-002.json
BBK.warnings() get_warning( mow.DE-HE-FB-W193-20230714-002 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-LB-W026-20230714-000.json
BBK.warnings() get_warning( mow.DE-BW-LB-W026-20230714-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BY-ED-W186-20230717-000.json
BBK.warnings() get_warning( mow.DE-BY-ED-W186-20230717-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-SH-KI-SE099-20230719-99-000.json
BBK.warnings() get_warning( mow.DE-SH-KI-SE099-20230719-99-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BY-LA-W144-20230719-000.json
BBK.warnings() get_warning( mow.DE-BY-LA-W144-20230719-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-HD-W086-20230719-001.json
BBK.warnings() get_warning( mow.DE-BW-HD-W086-20230719-001 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-RT-SE050-20230719-50-000.json
BBK.warnings() get_warning( mow.DE-BW-RT-SE050-20230719-50-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-ST-SK-W070-20230719-002.json
BBK.warnings() get_warning( mow.DE-ST-SK-W070-20230719-002 )
teffi@weewx:/etc/weewx/skins/Belchertown/dwd$ more bbk-mowas.inc
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 19.07.2023 17:44</p>
teffi@weewx:/etc/weewx/skins/Belchertown/dwd$

Karen K

unread,
Jul 20, 2023, 2:35:11 AM7/20/23
to weewx-user
Stefan Gliessmann schrieb am Mittwoch, 19. Juli 2023 um 17:52:24 UTC+2:
Maybe this explains my confusion a bit better.

I run the bbk-warning comand for mowas as shown below.
Messages are getting loaded from warnung.bund.de.
However the related file bbk-mowas.inc states that there aren't any warnings.
I expected that if the option "mowas" is used instead of an ARS, all warnings would be included in the bbk-mowas.inc file.

Is this expectation correct?

Do I need to configure something additionally?

For including messages originating from DWD you need to add --include-dwd. Otherwise message from other sources are included only. 
 

Stefan Gliessmann

unread,
Jul 21, 2023, 9:22:37 AM7/21/23
to weewx-user
You wrote:
"For including messages originating from DWD you need to add --include-dwd. Otherwise message from other sources are included only."

How does this relate to bbk-warnings mowas --weewx?
Despite there are warnings, bbk-mowas.inc shows that there aren't any ...
more /etc/weewx/skins/Belchertown/dwd/bbk-mowas.inc 
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 21.07.2023 15:16</p>



teffi@weewx:~/Downloads$ sudo bbk-warnings mowas --weewx

Using configuration file /etc/weewx/weewx.conf
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/eventCodes/eventCodes.json
INFO successfully downloaded https://warnung.bund.de/api31/appdata/gsb/logos/logos.json
-- get_warnings -------------------------------
++ dashboard data ++++++++++++++++++++++++++++++++++++++
INFO successfully downloaded https://warnung.bund.de/api31/mowas/mapData.json
INFO Regionalschlüssel ARS mowas, 12 Einträge

INFO Warn ID: mow.DE-NW-EU-SE091-20210823-109-000
INFO {'id': 'mow.DE-NW-EU-SE091-20210823-109-000', 'version': 1, 'startDate': '2021-11-09T15:17:17+01:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': '+++ Betretungsverbot Bergschadensgebiet Stadt Mechernich +++'}, 'transKeys': {'event': 'BBK-EVC-059'}}
INFO Warn ID: mow.DE-BY-ED-W186-20230717-000
INFO {'id': 'mow.DE-BY-ED-W186-20230717-000', 'version': 5, 'startDate': '2023-07-17T15:22:30+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Verunreinigung des Trinkwassers mit Keimen in der Stadt Moosburg a.d. Isar - Stadt Moosburg; Thonstetten; Grünseiboldsdorf; Ober-Niederhummel'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-SH-KI-SE099-20230719-99-000
INFO {'id': 'mow.DE-SH-KI-SE099-20230719-99-000', 'version': 5, 'startDate': '2023-07-19T13:23:13+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Kampfmittelentschärfung im Kieler Stadtgebiet - Kiel-Ellerbek und Kiel-Gaarden-Ost'}, 'transKeys': {'event': 'BBK-EVC-009'}}
INFO Warn ID: mow.DE-BB-BRB-SE081-20230720-81-000
INFO {'id': 'mow.DE-BB-BRB-SE081-20230720-81-000', 'version': 5, 'startDate': '2023-07-20T04:26:44+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Warnung vor freilaufender Raubkatze - Kleinmachnow,Stahnsdorf, Teltow'}, 'transKeys': {'event': 'BBK-EVC-078'}}
INFO Warn ID: mow.DE-BB-BRB-SE081-20230721-81-000
INFO {'id': 'mow.DE-BB-BRB-SE081-20230721-81-000', 'version': 5, 'startDate': '2023-07-21T04:14:57+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Brand Reifenstapel mit starker schwarzer Rauchentwicklung - Gem. Großbeeren, Blankenfelde-Mahlow, Rangsdorf, Ludwigsfelde, Berlin Süden'}, 'transKeys': {'event': 'BBK-EVC-030'}}
INFO Warn ID: mow.DE-BW-LB-W026-20230721-000
INFO {'id': 'mow.DE-BW-LB-W026-20230721-000', 'version': 5, 'startDate': '2023-07-21T11:22:36+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Abkochgebot Trinkwasser in Mundelsheim - Mundelsheim'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-SL-SB-SE035-20230721-35-000
INFO {'id': 'mow.DE-SL-SB-SE035-20230721-35-000', 'version': 5, 'startDate': '2023-07-21T11:39:19+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Bombenentschärfung am Sonntag - Saarbrücken Malstatt'}, 'transKeys': {'event': 'BBK-EVC-079'}}
INFO Warn ID: mow.DE-MV-SN-SE049-20230721-49-000
INFO {'id': 'mow.DE-MV-SN-SE049-20230721-49-000', 'version': 5, 'startDate': '2023-07-21T12:09:26+02:00', 'severity': 'Minor', 'type': 'Alert', 'i18nTitle': {'de': 'Geruchsbelästigung durch Brand - Schwerin'}, 'transKeys': {'event': 'BBK-EVC-030'}}
INFO Warn ID: mow.DE-BW-TBB-W028-20230721-001
INFO {'id': 'mow.DE-BW-TBB-W028-20230721-001', 'version': 5, 'startDate': '2023-07-21T12:39:32+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Trinkwasserverunreinigung in Niederstetten - Niederstetten (nur Kernstadt)'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-NI-GF-W216-20230721-000
INFO {'id': 'mow.DE-NI-GF-W216-20230721-000', 'version': 5, 'startDate': '2023-07-21T12:41:23+02:00', 'severity': 'Minor', 'type': 'Update', 'i18nTitle': {'de': 'Verunreinigung des Trinkwassers in Teilen des Landkreises Gifhorn mit E. Coli Keim - Landkreis Gifhorn'}, 'transKeys': {'event': 'BBK-EVC-069'}}
INFO Warn ID: mow.DE-SH-OD-SE105-20230721-105-000
INFO {'id': 'mow.DE-SH-OD-SE105-20230721-105-000', 'version': 5, 'startDate': '2023-07-21T14:15:36+02:00', 'severity': 'Severe', 'type': 'Alert', 'i18nTitle': {'de': 'Feuerwehreinsatz - Bargteheide'}, 'transKeys': {'event': 'BBK-EVC-027'}}
INFO Warn ID: mow.DE-BR-B-SE017-20230721-17-000
INFO {'id': 'mow.DE-BR-B-SE017-20230721-17-000', 'version': 5, 'startDate': '2023-07-21T14:32:27+02:00', 'expiresDate': '2023-07-21T20:32:27+02:00', 'severity': 'Minor', 'type': 'Cancel', 'i18nTitle': {'de': 'Entwarnung: Warnung vor einem freilaufenden gefährlichen Wildtier. - Bereich der südliche Landesgrenze Berlins'}, 'transKeys': {'event': 'BBK-EVC-078'}}
BBK.warnings() areas ['mow.DE-NW-EU-SE091-20210823-109-000', 'mow.DE-BY-ED-W186-20230717-000', 'mow.DE-SH-KI-SE099-20230719-99-000', 'mow.DE-BB-BRB-SE081-20230720-81-000', 'mow.DE-BB-BRB-SE081-20230721-81-000', 'mow.DE-BW-LB-W026-20230721-000', 'mow.DE-SL-SB-SE035-20230721-35-000', 'mow.DE-MV-SN-SE049-20230721-49-000', 'mow.DE-BW-TBB-W028-20230721-001', 'mow.DE-NI-GF-W216-20230721-000', 'mow.DE-SH-OD-SE105-20230721-105-000', 'mow.DE-BR-B-SE017-20230721-17-000']
BBK.warnings() areas[] mow.DE-NW-EU-SE091-20210823-109-000 ['mow.DE-NW-EU-SE091-20210823-109-000']

BBK.warnings() areas[] mow.DE-BY-ED-W186-20230717-000 ['mow.DE-BY-ED-W186-20230717-000']
BBK.warnings() areas[] mow.DE-SH-KI-SE099-20230719-99-000 ['mow.DE-SH-KI-SE099-20230719-99-000']
BBK.warnings() areas[] mow.DE-BB-BRB-SE081-20230720-81-000 ['mow.DE-BB-BRB-SE081-20230720-81-000']
BBK.warnings() areas[] mow.DE-BB-BRB-SE081-20230721-81-000 ['mow.DE-BB-BRB-SE081-20230721-81-000']
BBK.warnings() areas[] mow.DE-BW-LB-W026-20230721-000 ['mow.DE-BW-LB-W026-20230721-000']
BBK.warnings() areas[] mow.DE-SL-SB-SE035-20230721-35-000 ['mow.DE-SL-SB-SE035-20230721-35-000']
BBK.warnings() areas[] mow.DE-MV-SN-SE049-20230721-49-000 ['mow.DE-MV-SN-SE049-20230721-49-000']
BBK.warnings() areas[] mow.DE-BW-TBB-W028-20230721-001 ['mow.DE-BW-TBB-W028-20230721-001']
BBK.warnings() areas[] mow.DE-NI-GF-W216-20230721-000 ['mow.DE-NI-GF-W216-20230721-000']
BBK.warnings() areas[] mow.DE-SH-OD-SE105-20230721-105-000 ['mow.DE-SH-OD-SE105-20230721-105-000']
BBK.warnings() areas[] mow.DE-BR-B-SE017-20230721-17-000 ['mow.DE-BR-B-SE017-20230721-17-000']

INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-NW-EU-SE091-20210823-109-000.json
BBK.warnings() get_warning( mow.DE-NW-EU-SE091-20210823-109-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BY-ED-W186-20230717-000.json
BBK.warnings() get_warning( mow.DE-BY-ED-W186-20230717-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-SH-KI-SE099-20230719-99-000.json
BBK.warnings() get_warning( mow.DE-SH-KI-SE099-20230719-99-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BB-BRB-SE081-20230720-81-000.json
BBK.warnings() get_warning( mow.DE-BB-BRB-SE081-20230720-81-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BB-BRB-SE081-20230721-81-000.json
BBK.warnings() get_warning( mow.DE-BB-BRB-SE081-20230721-81-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-LB-W026-20230721-000.json
BBK.warnings() get_warning( mow.DE-BW-LB-W026-20230721-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-SL-SB-SE035-20230721-35-000.json
BBK.warnings() get_warning( mow.DE-SL-SB-SE035-20230721-35-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-MV-SN-SE049-20230721-49-000.json
BBK.warnings() get_warning( mow.DE-MV-SN-SE049-20230721-49-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BW-TBB-W028-20230721-001.json
BBK.warnings() get_warning( mow.DE-BW-TBB-W028-20230721-001 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-NI-GF-W216-20230721-000.json
BBK.warnings() get_warning( mow.DE-NI-GF-W216-20230721-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-SH-OD-SE105-20230721-105-000.json
BBK.warnings() get_warning( mow.DE-SH-OD-SE105-20230721-105-000 )
INFO successfully downloaded https://warnung.bund.de/api31/warnings/mow.DE-BR-B-SE017-20230721-17-000.json
BBK.warnings() get_warning( mow.DE-BR-B-SE017-20230721-17-000 )
teffi@weewx:~/Downloads$ more /etc/weewx/skins/Belchertown/dwd/bbk-mowas.inc
<p>zur Zeit keine Warnungen</p><p style="font-size:65%">Zuletzt beim BBK abgerufen am 21.07.2023 15:16</p>

Karen K

unread,
Jul 21, 2023, 11:43:57 AM7/21/23
to weewx-user
I see. 

I tried it myself and I got the same result. This will take some time to check.

Stefan Gliessmann

unread,
Jul 22, 2023, 4:42:45 AM7/22/23
to weewx...@googlegroups.com
Thank you for looking into it 🙏

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/rTDee4R11-U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Karen K

unread,
Jul 22, 2023, 10:18:14 AM7/22/23
to weewx-user
I applied a little fix. Please try.

Stefan Gliessmann

unread,
Jul 22, 2023, 11:20:22 AM7/22/23
to weewx...@googlegroups.com
Thank you! It works for me, too :)

Cheers,
Stefan

Reply all
Reply to author
Forward
0 new messages