Thank you! It works for me, too :)

Cheers,
Stefan

On Sat, Jul 22, 2023 at 4:18 PM Karen K <kk4468...@gmail.com> wrote:

> I applied a little fix. Please try.
>
> Stefan Gliessmann schrieb am Samstag, 22. Juli 2023 um 10:42:45 UTC+2:
>
>> Thank you for looking into it 🙏
>>
>> On Fri, Jul 21, 2023 at 5:44 PM Karen K <kk44...@gmail.com> wrote:
>>
>>> I see.
>>>
>>> I tried it myself and I got the same result. This will take some time to
>>> check.
>>>
>>> Stefan Gliessmann schrieb am Freitag, 21. Juli 2023 um 15:22:37 UTC+2:
>>>
>>>> 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>*
>>>> On Thursday, July 20, 2023 at 8:35:11 AM UTC+2 Karen K wrote:
>>>>
>>>>> 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.
>>>>>
>>>>>
>>>> --
>>>
>> 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/b7df3283-4f4e-4d78-b604-fd80e8b46a4en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/b7df3283-4f4e-4d78-b604-fd80e8b46a4en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/31311cfc-8d88-4683-90bc-272a8e334a68n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/31311cfc-8d88-4683-90bc-272a8e334a68n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CACXWM9TCvp0jet%3DtzTQOj367VEmbqkkYrL_FLzW3jYtkFFDvVQ%40mail.gmail.com.

Reply via email to