Hallo,
häufig können die Daten vom DWD nicht abgerufen werden.
ZitatFehler: downloading and processing weather alerts data failed (Timeout: process terminated)
FHEM: Aktualisierung der Wetterwarnungen fehlgeschlagen
ACHTUNG! Aktuell stehen aufgrund einer Störung keine aktuellen Wetterwarnungen zur Verfügung.
So scheint es mir keine verlässliche Quelle um Aktionen auslösen zu können.
Geht es anderen auch so?
Gibt es eine Alternative?
Ich frage DWD mit HTTPMOD periodisch ab und hatte gestern auch das Timeout-Problem. Aufgrund der aktuellen bundesweiten Sturmlage ist die JSON-Liste ungewöhnlich groß. Das stellt offenbar einige Abfrageprogramme vor Problemen. Ich konnte mein Problem lösen, indem ich den HTTPMOD timeout-Parameter hoch gesetzt habe. Ansonsten läuft bei mir der DWD-Dienst seit Jahren sehr zuverlässig.
Viele Grüße
ZitatGibt es eine Alternative?
Nina. Hat DWD integriert.
Ich rufe via DWD OpenData (https://wiki.fhem.de/wiki/DWD_OpenData) ab, keine Probleme. Auch nicht in den letzten Tagen.
Zitat von: Romoker am 10 Februar 2020, 21:04:09
Ich frage DWD mit HTTPMOD periodisch ab und hatte gestern auch das Timeout-Problem. Aufgrund der aktuellen bundesweiten Sturmlage ist die JSON-Liste ungewöhnlich groß. Das stellt offenbar einige Abfrageprogramme vor Problemen. Ich konnte mein Problem lösen, indem ich den HTTPMOD timeout-Parameter hoch gesetzt habe. Ansonsten läuft bei mir der DWD-Dienst seit Jahren sehr zuverlässig.
Viele Grüße
Einen einstellbaren Timeout-Parameter kennt das
DWD OpenData Modul offenbar nicht, oder übersehe ich es?
Zitat von: fExplorer am 12 Februar 2020, 11:08:49
Einen einstellbaren Timeout-Parameter kennt das DWD OpenData Modul offenbar nicht, oder übersehe ich es?
MWn nicht, zumindest findet sich auch nichts in der Doku, aber die commandref (https://fhem.de/commandref.html#DWD_OpenDataattr) schreibt dazu:
ZitatPerformance
Note that depending on your device configuration each forecast consists of quite a lot of readings and each reading update will cause a FHEM event that needs to be processed. Depending on your hardware and your FHEM configuration this will take several hundred milliseconds. If you need to improve overall performance you can limit the number of readings created by setting a) the attribute forecastProperties to the ones you actually use, b) the attribute forecastResolution to the highest value suitable for your purposes and c) the attribute forecastDays to the lowest number suitable for your purposes. To further reduce the event processing overhead you can set the attribute event-on-update-reading to a small list of important reading that really need events (e.g. state,fc_state,a_state). For almost the same reason be selective when creating a log device. If you use wildcards for all readings without filtering either at the source device with readingFnAttributes or at the destination device with a regexp you will get significant extra file IO when the readings are updated and quite a lot of data.
Zitat von: yersinia am 12 Februar 2020, 11:27:47
MWn nicht, zumindest findet sich auch nichts in der Doku, aber die commandref (https://fhem.de/commandref.html#DWD_OpenDataattr) schreibt dazu:
Ich habe den Zeitraum,
forecastDays und die Parameter,
forecastProperties reduziert, die Auflösung,
forecastResolution steht sowieso hoch. Aber nach der Änderung werden trotzdem alle Standard-Properties und 3 Tage Vorschau abgerufen.
attr DWD forecastDays 1
attr DWD forecastProperties Neff
Was mach ich da falsch?
Zitat von: fExplorer am 17 Februar 2020, 20:40:49
Ich habe den Zeitraum, forecastDays und die Parameter, forecastProperties reduziert, die Auflösung, forecastResolution steht sowieso hoch. Aber nach der Änderung werden trotzdem alle Standard-Properties und 3 Tage Vorschau abgerufen.
attr DWD forecastDays 1
attr DWD forecastProperties Neff
Was mach ich da falsch?
Bleiben die 'alten' readings bestehen und werden ggf nicht mehr aktualisiert? Es dürften sich nur die Readings für den beschränkten, geringeren forceast Horizont ändern.
Zitat von: yersinia am 18 Februar 2020, 07:54:36
Bleiben die 'alten' readings bestehen und werden ggf nicht mehr aktualisiert? Es dürften sich nur die Readings für den beschränkten, geringeren forceast Horizont ändern.
Ah, ja, das war mir gar nicht aufgefallen. Danke für den Hinweis!
Trotzdem ich die Abfrage nun reduziert habe, bekomme ich weiter laufend timeouts. Sonst werkelt fhem ja tadelos...
2020.02.18 08:16:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 5552
2020.02.18 08:16:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 08:31:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 5789
2020.02.18 08:31:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 08:46:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 6058
2020.02.18 08:46:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 09:01:09 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 6405
2020.02.18 09:01:09 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 09:16:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 6538
2020.02.18 09:16:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 09:31:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 6718
2020.02.18 09:31:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 09:46:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 6899
2020.02.18 09:46:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 10:01:09 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 7121
2020.02.18 10:01:09 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 10:16:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 7399
2020.02.18 10:16:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 10:31:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 7707
2020.02.18 10:31:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 10:46:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 7848
2020.02.18 10:46:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
2020.02.18 11:01:09 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 8006
hast du mal andere alertzonen probiert?
15 min cycle der fehlermeldungen passt genau zur alert aktualisierung.
Zitat von: frank am 18 Februar 2020, 11:56:56
hast du mal andere alertzonen probiert?
15 min cycle der fehlermeldungen passt genau zur alert aktualisierung.
Ja, hab ich, gleicher Fehler.
Es ging eine Weile, aber seit ein paar Wochen kommen wieder die
Zitat2020.08.13 09:46:05 1: Timeout for DWD_OpenData::GetAlertsStart reached, terminated process 13517
2020.08.13 09:46:05 3: DWD: GetAlertsAbort error: downloading and processing weather alerts data failed (Timeout: process terminated)
An den Einstellungen habe ich nichts verändert.
Version auf dem letzten Stand?
version DWD_OpenData
Die Letzte müsste
Zitat55_DWD_OpenData.pm 22220 2020-06-21 15:47:47Z jensb
sein.
Ich habe diese Fehler auch sporadisch (ca 1x im Monat) - darüber läuft es aber im 15min Intervall recht stabil.
Kannst du diese Links öffnen:
https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_DISTRICT_DE.zip (https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_DISTRICT_DE.zip)
https://opendata.dwd.de/weather/alerts/cap/COMMUNEUNION_CELLS_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_COMMUNEUNION_DE.zip (https://opendata.dwd.de/weather/alerts/cap/COMMUNEUNION_CELLS_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_COMMUNEUNION_DE.zip)
Auch vom FHEM-Server aus?
Ansonsten wäre ein höheres Verbose level (sprich: detaillierterer Log) hilfreicher.