@bill22 die API liefert zwar eine Severity, aber die landesweiten Hochwasser Warnmeldungen haben z.B. alle die höchste Stufe “SEVERE”. Deshalb sind sie im Modul auch rot.
Es lässt sich aber zusätzlich ein Filter nach dem Versender (also Mowas, Länderübergreifendes Hochwasser Portal (LHP), DWD, BIWAPP) einbauen.
config {
excludeProviders: ['lhp']
}
So sieht die ungefilterte Response für ein paar ausgewählte Orte aus:
[
{
"id": "mow.DE-NW-BN-SE030-20201014-30-000",
"payload": {
"version": 1,
"type": "ALERT",
"id": "mow.DE-NW-BN-SE030-20201014-30-000",
"hash": "551db820a43be7e4f39283e1dfb71b212cd520c3ee478d44f43519e9c48fde4c",
"data": {
"headline": "Coronavirus: Informationen des Bundesministeriums für Gesundheit",
"provider": "MOWAS",
"severity": "Minor",
"msgType": "Update",
"transKeys": {
"event": "BBK-EVC-040"
},
"area": {
"type": "ZGEM",
"data": "1+11057,100001"
}
}
},
"i18nTitle": {
"de": "Coronavirus: Informationen des Bundesministeriums für Gesundheit"
},
"sent": "2021-11-09T15:17:08+01:00",
"cityName": "Haßloch | Köln, Stadt | Wernigerode, Stadt | Seevetal | Bad Staffelstein, St",
"date": "09.11.2021 - 15:17"
},
{
"id": "lhp.HOCHWASSERZENTRALEN.DE.RP",
"payload": {
"version": 2,
"type": "ALERT",
"id": "lhp.HOCHWASSERZENTRALEN.DE.RP",
"hash": "846a6a1ec7d750d5fe6181afd0482d465402456853e7c82453c0ad98a7953cdb",
"data": {
"headline": "Hochwasserinformation Rheinland-Pfalz",
"provider": "LHP",
"severity": "Severe",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "3639+2303"
}
}
},
"i18nTitle": {
"de": "Hochwasserinformation Rheinland-Pfalz"
},
"sent": "2022-01-07T00:40:00+01:00",
"onset": "2022-01-07T00:39:00+01:00",
"expires": "2022-01-08T01:39:00+01:00",
"effective": "2022-01-07T00:39:00+01:00",
"cityName": "Haßloch",
"date": "07.01.2022 - 00:40"
},
{
"id": "mow.DE-NW-D-SE020-20211227-20-000",
"payload": {
"version": 2,
"type": "ALERT",
"id": "mow.DE-NW-D-SE020-20211227-20-000",
"hash": "19d01474a9a70297802310e7e637a24b0cca82e8a963717df0b4cbb9a1627187",
"data": {
"headline": "Coronavirus: Informationen des Landes Nordrhein-Westfalen",
"provider": "MOWAS",
"severity": "Minor",
"msgType": "Update",
"transKeys": {
"event": "BBK-EVC-081"
},
"area": {
"type": "ZGEM",
"data": "3243+395,100001"
}
}
},
"i18nTitle": {
"de": "Coronavirus: Informationen des Landes Nordrhein-Westfalen"
},
"sent": "2021-12-27T15:02:49+01:00",
"cityName": "Köln, Stadt",
"date": "27.12.2021 - 15:02"
},
{
"id": "lhp.HOCHWASSERZENTRALEN.DE.NW",
"payload": {
"version": 2,
"type": "ALERT",
"id": "lhp.HOCHWASSERZENTRALEN.DE.NW",
"hash": "bbe7ff3bca13144619e68555283842fb5506e9e40880c8580ba7a98ffbb6eb3a",
"data": {
"headline": "Hochwasserinformation Nordrhein-Westfalen",
"provider": "LHP",
"severity": "Severe",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "3243+395"
}
}
},
"i18nTitle": {
"de": "Hochwasserinformation Nordrhein-Westfalen"
},
"sent": "2022-01-07T00:40:00+01:00",
"onset": "2022-01-07T00:22:00+01:00",
"expires": "2022-01-08T01:22:00+01:00",
"effective": "2022-01-07T00:22:00+01:00",
"cityName": "Köln, Stadt",
"date": "07.01.2022 - 00:40"
},
{
"id": "dwd.2.49.0.1.276.0.DWD.PVW.1641393120000.048ad8e6-be16-4bb3-81f9-b383be381430.MUL",
"payload": {
"version": 2,
"type": "ALERT",
"id": "dwd.2.49.0.1.276.0.DWD.PVW.1641393120000.048ad8e6-be16-4bb3-81f9-b383be381430.MUL",
"hash": "260fe0a60cc9b79e5b8b495efa4f4e13494e2c5a4278cc2b3367fe43a4fc5e26",
"data": {
"headline": "Amtliche WARNUNG vor STURMBÖEN",
"provider": "DWD",
"severity": "Moderate",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "7087"
}
}
},
"i18nTitle": {
"de": "Amtliche WARNUNG vor STURMBÖEN",
"en": "Official WARNING of GALE-FORCE GUSTS",
"ar": "تحذير رسمي من هبوب عواصف",
"es": "AVISO oficial de TURBONADA",
"fr": "ALERTE officielle INTEMPÉRIES PRONONCÉES pour RAFALES DE FORCE FORT COUP DE VENT",
"pl": "Oficjalne OSTRZEŻENIE METEOROLOGICZNE (2. STOPNIA) przed WICHURAMI",
"ru": "Официальное предупреждение о значительных погодных явлениях: Шквалы штормового ветра",
"tr": "FIRTINA ESİNTİLERİNE karşı resmi UYARI"
},
"sent": "2022-01-05T15:31:53+01:00",
"onset": "2022-01-05T22:00:00+01:00",
"expires": "2022-01-06T08:00:00+01:00",
"effective": "2022-01-05T15:32:00+01:00",
"cityName": "Wernigerode, Stadt",
"date": "05.01.2022 - 15:31"
},
{
"id": "dwd.2.49.0.1.276.0.DWD.PVW.1641481680000.30e21c2a-1a2f-45b6-8716-1dd7308879ec.MUL",
"payload": {
"version": 2,
"type": "ALERT",
"id": "dwd.2.49.0.1.276.0.DWD.PVW.1641481680000.30e21c2a-1a2f-45b6-8716-1dd7308879ec.MUL",
"hash": "ed5d731d0e978dc9d6299ff1f8bc63a23ef60d86d2d5aa638ffaaecc2b68b5ab",
"data": {
"headline": "Amtliche WARNUNG vor SCHWEREN STURMBÖEN",
"provider": "DWD",
"severity": "Moderate",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "7087"
}
}
},
"i18nTitle": {
"de": "Amtliche WARNUNG vor SCHWEREN STURMBÖEN",
"en": "Official WARNING of STORM-FORCE GUSTS",
"ar": "تحذير رسمي من هبوب عواصف عنيفة",
"es": "AVISO oficial de TURBONADA VIOLENTA",
"fr": "ALERTE officielle INTEMPÉRIES PRONONCÉES pour RAFALES DE FORCE TEMPÊTE",
"pl": "Oficjalne OSTRZEŻENIE METEOROLOGICZNE (2. STOPNIA) przed SILNYMI WICHURAMI",
"ru": "Официальное предупреждение о значительных погодных явлениях: Шквалы сильного штормового ветра",
"tr": "ŞİDDETLİ FIRTINA ESİNTİLERİNE karşı resmi UYARI"
},
"sent": "2022-01-06T16:07:46+01:00",
"onset": "2022-01-07T00:00:00+01:00",
"expires": "2022-01-08T00:00:00+01:00",
"effective": "2022-01-06T16:08:00+01:00",
"cityName": "Wernigerode, Stadt",
"date": "06.01.2022 - 16:07"
},
{
"id": "lhp.HOCHWASSERZENTRALEN.DE.ST",
"payload": {
"version": 2,
"type": "ALERT",
"id": "lhp.HOCHWASSERZENTRALEN.DE.ST",
"hash": "72e4d4f70d35956a7f4bfbf93e05378fd9039b32d8a6d237a6e67e887ba22919",
"data": {
"headline": "Hochwasserinformation Sachsen-Anhalt",
"provider": "LHP",
"severity": "Severe",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "7086+217"
}
}
},
"i18nTitle": {
"de": "Hochwasserinformation Sachsen-Anhalt"
},
"sent": "2022-01-07T00:40:00+01:00",
"onset": "2022-01-07T00:34:00+01:00",
"expires": "2022-01-08T01:34:00+01:00",
"effective": "2022-01-07T00:34:00+01:00",
"cityName": "Wernigerode, Stadt",
"date": "07.01.2022 - 00:40"
},
{
"id": "biw.BIWAPP-63644",
"payload": {
"version": 2,
"type": "ALERT",
"id": "biw.BIWAPP-63644",
"hash": "1af7f24bd309b13b14f2202b7565b469720012cc2f31fabcfa317c6d2a80f9a3",
"data": {
"headline": "Geflügelpest: Kreisweite Stallpflicht, Schutz und Überwachungszone um Betrieb in Wistedt ab 01.12.",
"provider": "BIWAPP",
"severity": "Minor",
"msgType": "Alert",
"area": {
"type": "GRID",
"data": "95276,95887+4,96501+3,97115+2,97728+3,97747,98341+4,98349+1,98359+3,98955+4,98961+3,98971+5,99565+12,99584+5,99603,100177+13,100192+13,100214+7,100786+33,100825+10,101398+35,101438+12,102010+55,102622+57,103235+57,103846+58,104458+50,104514+2,105070+51,105684+50,106297+46,106345,106911+45,107524+42,108137+42,108750+44,109364+43,109977+43,110590+43,111203+42,111816+40,112430+40,113048+36,113664+33,114278+5,114286+24,114894,114901+21,115514+3,115519+11,116133+8,116747+7,117363+3,117977+2,500001"
}
}
},
"i18nTitle": {
"de": "Geflügelpest: Kreisweite Stallpflicht, Schutz und Überwachungszone um Betrieb in Wistedt ab 01.12."
},
"sent": "2021-11-30T17:29:51+01:00",
"expires": "2022-03-31T17:20:00+02:00",
"cityName": "Seevetal",
"date": "30.11.2021 - 17:29"
},
{
"id": "biw.BIWAPP-64402",
"payload": {
"version": 2,
"type": "ALERT",
"id": "biw.BIWAPP-64402",
"hash": "797eb997e6e99766884e0adf5369cf662d2cabff8fa524353685a1a9a6caeaf7",
"data": {
"headline": "Geflügelpest: Überwachungszone wird am 05. Januar 2022 aufgehoben",
"provider": "BIWAPP",
"severity": "Minor",
"msgType": "Alert",
"area": {
"type": "GRID",
"data": "95276,95887+4,96501+3,97115+2,97728+3,97747,98341+4,98349+1,98359+3,98955+4,98961+3,98971+5,99565+12,99584+5,99603,100177+13,100192+13,100214+7,100786+33,100825+10,101398+35,101438+12,102010+55,102622+57,103235+57,103846+58,104458+50,104514+2,105070+51,105684+50,106297+46,106345,106911+45,107524+42,108137+42,108750+44,109364+43,109977+43,110590+43,111203+42,111816+40,112430+40,113048+36,113664+33,114278+5,114286+24,114894,114901+21,115514+3,115519+11,116133+8,116747+7,117363+3,117977+2,500001"
}
}
},
"i18nTitle": {
"de": "Geflügelpest: Überwachungszone wird am 05. Januar 2022 aufgehoben"
},
"sent": "2021-12-28T10:57:06+01:00",
"expires": "2022-01-30T10:54:00+01:00",
"cityName": "Seevetal",
"date": "28.12.2021 - 10:57"
},
{
"id": "mow.DE-BY-CO-W141-20210930-002",
"payload": {
"version": 1,
"type": "ALERT",
"id": "mow.DE-BY-CO-W141-20210930-002",
"hash": "1be374887b4e45cd54d1364f7286ebae0c3006b730e7e4ab758353e0b47ebfcc",
"data": {
"headline": "Geruchsbelästigung und Verunreinigung durch wassergefährdeten Stoffen - Fluss Rodach",
"provider": "MOWAS",
"severity": "Severe",
"msgType": "Update",
"transKeys": {
"event": "BBK-EVC-081"
},
"area": {
"type": "ZGEM",
"data": "9261+12,9319,9321+2,9329+2,100001"
}
}
},
"i18nTitle": {
"de": "Geruchsbelästigung und Verunreinigung durch wassergefährdeten Stoffen - Fluss Rodach"
},
"sent": "2021-11-09T15:16:57+01:00",
"cityName": "Bad Staffelstein, St",
"date": "09.11.2021 - 15:16"
},
{
"id": "lhp.HOCHWASSERZENTRALEN.DE.BY",
"payload": {
"version": 2,
"type": "ALERT",
"id": "lhp.HOCHWASSERZENTRALEN.DE.BY",
"hash": "91f429e6447353dcb977ba79740e76e436380c927f642d3fb1968f2fdde8d2c8",
"data": {
"headline": "Hochwasserinformation Bayern",
"provider": "LHP",
"severity": "Severe",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "7304+2232"
}
}
},
"i18nTitle": {
"de": "Hochwasserinformation Bayern"
},
"sent": "2022-01-07T00:40:00+01:00",
"onset": "2022-01-07T00:39:00+01:00",
"expires": "2022-01-08T01:39:00+01:00",
"effective": "2022-01-07T00:39:00+01:00",
"cityName": "Bad Staffelstein, St",
"date": "07.01.2022 - 00:40"
}
]