Modul für DWD Open Data

Begonnen von jensb, 21 Januar 2018, 14:38:48

Vorheriges Thema - Nächstes Thema

enno

Habe das neue Modul auch installiert. Läuft und bringt Daten ohne Fehlermeldungen. Super soweit.

Die Abkürzungen suche ich mir hier gerade zusammen:

https://opendata.dwd.de/weather/lib/MetElementDefinition.xml

Gruss
  Enno
Einfacher FHEM Anwender auf Intel®NUC

somansch

Habe die Hilfe in den Modulen gefunden und entsprechend meine FTUI Umsetzung angepasst. Gibt ja ein paar neue Readings  :). Bild im Anhang. Der Weblink funktioniert auch für FHEM. Woher hast du die Regenmenge geholt? In den Readings finde ich leider nichts mehr?! Weiterhin ist mir aufgefallen, dass "FF" (Windstärke) nicht in den Readings auftaucht, lediglich "FX1" für maximale Windstärke... Wird es das Reading für die tägliche Sonnenscheindauer "SS24" wieder geben?


jensb

@somansch

Die Regenmenge kommt nach wie vor aus den R-Readings, siehe Modulhilfe zum Weblink und deren Beschreibung in der Modulhilfe im OpenData-Modul. Auch FF gibt es immer noch (siehe dazu auch den von @enno geposteten Link).

Damit dir die gewünschten Readings zur Verfügung stehen musst du sie als eine mit Kommas getrennten Liste dem Attribut "forecastProperties" des OpenData-Moduls zuweisen. Standardmäßig werden nur ein paar Readings abgefragt, deshalb fehlt dir z.B. FF. Siehe auch dazu die Modulhilfe des OpenData-Moduls.

Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb

curt

@jensb
Ich habe das weitere Vorgehen nicht verstanden, ich erahne es nur.

Du gibst Dein geändertes Modul irgendwann in den normalen Update-Prozess. Dann ist das nach meinem Update bei mir. Soweit vermutlich richtig.

Meine in #218 genannte Konfiguration ist dann trotzdem für die Tonne, weil sich alle Bezeichnungen änderten? Habe ich das richtig verstanden? (Das ist dumm, da weiß ich nicht, was ich tun muss.)

Insgesamt (das als Vorschlag) wäre es sehr schön, wenn einige Anwendungsbeispiele zusammengetragen werden könnten. Also nicht nur von Dir, auch wie andere das Modul nutzen. Das würde ich als sehr spannend empfinden. (Aber vielleicht ein neuer Thread.)

P.S: Danke für Deine Mühen.
RPI 4 - Jeelink HomeMatic Z-Wave

jensb

@curt

Nein, deine in #219 aufgeführte Konfiguration bleibt weitestgehend erhalten. Nur die Zeile

define DWDweblink weblink htmlCode { DWDOD_AsHtmlH("DWD", 7, 1) }

muss ersetzt werden durch den Teil, der als "Example" in der Modulhilfe des neuen Weblink-Moduls (bzw. am Ende der Moduldatei) aufgeführt ist. Du musst dabei noch die "My..". Namen durch deine eigenen Devicenamen ersetzen. Da steht:

define MyDWDWeblinkDevice DWD_OpenData_Weblink
attr MyDWDWeblinkDevice IODev MyDWDDevice
attr MyDWDWeblinkDevice forecastDays 4
attr MyDWDWeblinkDevice refreshRate 900
define MyDWDWeblink weblink htmlCode { DWD_OpenData_Weblink::AsHtmlH("MyDWDWeblinkDevice") }


Wenn du nichts anderes mit den Daten des OpenData-Moduls machst außer den Weblink zu füttern musst du auch nichts weiter machen.

Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb

Intruder1956

#230
Hallo Jens,
ich habe heute das neue Modul inkl. Weblink erfolgreich installiert  :)
Habe aber noch Fragen  :o

Beim Weblink wie im Bild zu sehen funktionieren einige Umlaute nicht und es fehlt etwas ab "Mi 8:00"
und was ich nicht kapiere, wie bekomme ich die Unwettermeldungen angezeigt ??

Hier die drei List
DWD
Internals:
   .TZ        Europe/Berlin
   .warncellId 807138012
   ALERTS_IN_CACHE 71
   FHEM_TZ    Europe/Berlin
   NAME       DWD
   NR         624
   STATE      alerts updated
   TYPE       DWD_OpenData
   .alertsBlockingCall1:
     abortFn    DWD_OpenData::GetAlertsAbort
     bc_pid     56
     finishFn   DWD_OpenData::GetAlertsFinish
     fn         DWD_OpenData::GetAlertsStart
     pid        932
     telnet     telnetPort_127.0.0.1_59998
     terminated 1
     timeout    60
     abortArg:
     arg:
   .attraggr:
   .attrminint:
   OLDREADINGS:
   READINGS:
     2018-09-23 13:00:06   a_0_altitude    0
     2018-09-23 13:00:06   a_0_area        807138012
     2018-09-23 13:00:06   a_0_areaColor   255, 153, 0
     2018-09-23 13:00:06   a_0_areaDesc    Stadt Dierdorf
     2018-09-23 13:00:06   a_0_category    Met
     2018-09-23 13:00:06   a_0_ceiling     3000
     2018-09-23 13:00:06   a_0_description Es tritt Dauerregen wechselnder Intensität auf. Dabei werden Niederschlagsmengen zwischen 25 l/m² und 40 l/m² erwartet. In Staulagen werden Mengen bis 50 l/m² erreicht.
     2018-09-23 13:00:06   a_0_event       63
     2018-09-23 13:00:06   a_0_eventDesc   DAUERREGEN
     2018-09-23 13:00:06   a_0_eventGroup  RAIN
     2018-09-23 13:00:06   a_0_expires     2018-09-23 18:00:00
     2018-09-23 13:00:06   a_0_headline    Amtliche WARNUNG vor DAUERREGEN
     2018-09-23 13:00:06   a_0_instruction
     2018-09-23 13:00:06   a_0_onset       2018-09-23 07:00:00
     2018-09-23 13:00:06   a_0_responseType None
     2018-09-23 13:00:06   a_0_severity    Moderate
     2018-09-23 13:00:06   a_0_urgency     Immediate
     2018-09-23 13:00:06   a_1_altitude    0
     2018-09-23 13:00:06   a_1_area        807138012
     2018-09-23 13:00:06   a_1_areaColor   255, 255, 0
     2018-09-23 13:00:06   a_1_areaDesc    Stadt Dierdorf
     2018-09-23 13:00:06   a_1_category    Met
     2018-09-23 13:00:06   a_1_ceiling     3000
     2018-09-23 13:00:06   a_1_description Es treten Windböen mit Geschwindigkeiten bis 60 km/h (17m/s, 33kn, Bft 7) aus südwestlicher Richtung auf. In exponierten Lagen muss mit Sturmböen bis 70 km/h (20m/s, 38kn, Bft 8) gerechnet werden.
     2018-09-23 13:00:06   a_1_event       51
     2018-09-23 13:00:06   a_1_eventDesc   WINDBÖEN
     2018-09-23 13:00:06   a_1_eventGroup  WIND
     2018-09-23 13:00:06   a_1_expires     2018-09-24 00:00:00
     2018-09-23 13:00:06   a_1_headline    Amtliche WARNUNG vor WINDBÖEN
     2018-09-23 13:00:06   a_1_instruction
     2018-09-23 13:00:06   a_1_onset       2018-09-23 11:45:00
     2018-09-23 13:00:06   a_1_responseType None
     2018-09-23 13:00:06   a_1_severity    Minor
     2018-09-23 13:00:06   a_1_urgency     Immediate
     2018-09-23 13:00:06   a_2_altitude    0
     2018-09-23 13:00:06   a_2_area        807138012
     2018-09-23 13:00:06   a_2_areaColor   255, 128, 128
     2018-09-23 13:00:06   a_2_areaDesc    Stadt Dierdorf
     2018-09-23 13:00:06   a_2_category    Met
     2018-09-23 13:00:06   a_2_ceiling     3000
     2018-09-23 13:00:06   a_2_description Ein Sturmtief zieht am Sonntag über die mitlleren Landesteile Deutschlands hinweg ostwärts. Dabei kommt es an der Südflanke des Tiefs verbreitet zu schweren Sturmböen (Bft 10, um 95 km/h). Bei Passage der zugehörigen Kaltfront sind auch orkanartige Böen (Bft 11, um 110 km/h) wahrscheinlich. 

Dies ist ein Hinweis auf erwartete Unwetter. Er soll die rechtzeitige Vorbereitung von Schutzmaßnahmen ermöglichen. Bitte verfolgen Sie die weiteren Wettervorhersagen mit besonderer Aufmerksamkeit.

Detaillierte Warninformationen erhalten Sie unter http://www.wettergefahren.de oder in der WarnWetter-App.

     2018-09-23 13:00:06   a_2_event       55
     2018-09-23 13:00:06   a_2_eventDesc   VORABINFORMATION ORKANBÖEN
     2018-09-23 13:00:06   a_2_eventGroup  WIND
     2018-09-23 13:00:06   a_2_expires     2018-09-23 20:00:00
     2018-09-23 13:00:06   a_2_headline    VORABINFORMATION UNWETTER vor ORKANBÖEN
     2018-09-23 13:00:06   a_2_instruction Dies ist ein Hinweis auf erwartete Unwetter. Er soll die rechtzeitige Vorbereitung von Schutzmaßnahmen ermöglichen. Bitte verfolgen Sie die weiteren Wettervorhersagen mit besonderer Aufmerksamkeit.
     2018-09-23 13:00:06   a_2_onset       2018-09-23 13:00:00
     2018-09-23 13:00:06   a_2_responseType Prepare
     2018-09-23 13:00:06   a_2_severity    Severe
     2018-09-23 13:00:06   a_2_urgency     Future
     2018-09-23 13:00:06   a_3_altitude    0
     2018-09-23 13:00:06   a_3_area        807138012
     2018-09-23 13:00:06   a_3_areaColor   255, 153, 0
     2018-09-23 13:00:06   a_3_areaDesc    Stadt Dierdorf
     2018-09-23 13:00:06   a_3_category    Met
     2018-09-23 13:00:06   a_3_ceiling     3000
     2018-09-23 13:00:06   a_3_description Es treten schwere Sturmböen mit Geschwindigkeiten bis 90 km/h (25m/s, 48kn, Bft 10) auf. In Schauernähe sowie in exponierten Lagen muss mit orkanartigen Böen bis 115 km/h (32m/s, 63kn, Bft 11) gerechnet werden.
     2018-09-23 13:00:06   a_3_event       53
     2018-09-23 13:00:06   a_3_eventDesc   SCHWERE STURMBÖEN
     2018-09-23 13:00:06   a_3_eventGroup  WIND
     2018-09-23 13:00:06   a_3_expires     2018-09-23 20:00:00
     2018-09-23 13:00:06   a_3_headline    Amtliche WARNUNG vor SCHWEREN STURMBÖEN
     2018-09-23 13:00:06   a_3_instruction ACHTUNG! Hinweis auf mögliche Gefahren: Vereinzelt können zum Beispiel Bäume entwurzelt und Dächer beschädigt werden. Achten Sie besonders auf herabstürzende Äste, Dachziegel oder Gegenstände.
     2018-09-23 13:00:06   a_3_onset       2018-09-23 14:00:00
     2018-09-23 13:00:06   a_3_responseType Prepare
     2018-09-23 13:00:06   a_3_severity    Moderate
     2018-09-23 13:00:06   a_3_urgency     Immediate
     2018-09-23 13:00:06   a_copyright     Geobasisdaten: Copyright Bundesamt für Kartographie und Geodäsie, Frankfurt am Main, 2013
     2018-09-23 13:00:06   a_count         4
     2018-09-23 13:00:06   a_time          2018-09-23 13:00:05
     2018-09-23 11:29:13   fc0_1_DD        140.00
     2018-09-23 11:29:13   fc0_1_FX1       26
     2018-09-23 11:29:13   fc0_1_Neff      100.00
     2018-09-23 11:29:13   fc0_1_RR6c      2.80
     2018-09-23 11:29:13   fc0_1_RRhc      5.50
     2018-09-23 11:29:13   fc0_1_Rh00      100.00
     2018-09-23 11:29:13   fc0_1_TTT       8.5
     2018-09-23 11:29:13   fc0_1_time      08:00
     2018-09-23 11:29:13   fc0_1_ww        53
     2018-09-23 11:29:13   fc0_1_wwd       durchgehend mäßiger Sprühregen
     2018-09-23 13:00:05   fc0_2_DD        232.00
     2018-09-23 13:00:05   fc0_2_FX1       24
     2018-09-23 13:00:05   fc0_2_Neff      100.00
     2018-09-23 13:00:05   fc0_2_RR6c      7.90
     2018-09-23 13:00:05   fc0_2_TTT       12.5
     2018-09-23 13:00:05   fc0_2_time      14:00
     2018-09-23 13:00:05   fc0_2_ww        65
     2018-09-23 13:00:05   fc0_2_wwd       durchgehend starker Regen
     2018-09-23 13:00:05   fc0_3_DD        319.00
     2018-09-23 13:00:05   fc0_3_FX1       50
     2018-09-23 13:00:05   fc0_3_Neff      100.00
     2018-09-23 13:00:05   fc0_3_RR6c      12.00
     2018-09-23 13:00:05   fc0_3_RRhc      19.50
     2018-09-23 13:00:05   fc0_3_Rh00      98.00
     2018-09-23 13:00:05   fc0_3_TTT       6.40
     2018-09-23 13:00:05   fc0_3_time      20:00
     2018-09-23 13:00:05   fc0_3_ww        63
     2018-09-23 13:00:05   fc0_3_wwd       durchgehend mäßiger Regen
     2018-09-23 11:29:13   fc0_Tg          6.90
     2018-09-23 11:29:13   fc0_Tn          7.70
     2018-09-23 13:00:05   fc0_Tx          13
     2018-09-23 13:00:05   fc0_date        2018-09-23
     2018-09-23 13:00:05   fc0_weekday     So
     2018-09-23 13:00:05   fc0_wwd         durchgehend leichter Regen
     2018-09-23 13:00:05   fc1_0_DD        305.00
     2018-09-23 13:00:05   fc1_0_FX1       35
     2018-09-23 13:00:05   fc1_0_Neff      98.00
     2018-09-23 13:00:05   fc1_0_RR6c      2.60
     2018-09-23 13:00:05   fc1_0_TTT       5.30
     2018-09-23 13:00:05   fc1_0_time      02:00
     2018-09-23 13:00:05   fc1_0_ww        61
     2018-09-23 13:00:05   fc1_0_wwd       durchgehend leichter Regen
     2018-09-23 13:00:05   fc1_1_DD        299.00
     2018-09-23 13:00:05   fc1_1_FX1       30
     2018-09-23 13:00:05   fc1_1_Neff      85.00
     2018-09-23 13:00:05   fc1_1_RR6c      0.20
     2018-09-23 13:00:05   fc1_1_RRhc      2.70
     2018-09-23 13:00:05   fc1_1_Rh00      96.00
     2018-09-23 13:00:05   fc1_1_TTT       5.30
     2018-09-23 13:00:05   fc1_1_time      08:00
     2018-09-23 13:00:05   fc1_1_ww        61
     2018-09-23 13:00:05   fc1_1_wwd       durchgehend leichter Regen
     2018-09-23 13:00:05   fc1_2_DD        292.00
     2018-09-23 13:00:05   fc1_2_FX1       33
     2018-09-23 13:00:05   fc1_2_Neff      74.00
     2018-09-23 13:00:05   fc1_2_RR6c      0.60
     2018-09-23 13:00:05   fc1_2_TTT       8.60
     2018-09-23 13:00:05   fc1_2_time      14:00
     2018-09-23 13:00:05   fc1_2_ww        80
     2018-09-23 13:00:05   fc1_2_wwd       leichter Regenschauer
     2018-09-23 13:00:05   fc1_3_DD        313.00
     2018-09-23 13:00:05   fc1_3_FX1       26
     2018-09-23 13:00:05   fc1_3_Neff      52.00
     2018-09-23 13:00:05   fc1_3_RR6c      0.70
     2018-09-23 13:00:05   fc1_3_RRhc      1.30
     2018-09-23 13:00:05   fc1_3_Rh00      94.00
     2018-09-23 13:00:05   fc1_3_TTT       7.10
     2018-09-23 13:00:05   fc1_3_time      20:00
     2018-09-23 13:00:05   fc1_3_ww        1
     2018-09-23 13:00:05   fc1_3_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc1_Tg          4.30
     2018-09-23 13:00:05   fc1_Tn          4.70
     2018-09-23 13:00:05   fc1_Tx          10.2
     2018-09-23 13:00:05   fc1_date        2018-09-24
     2018-09-23 13:00:05   fc1_weekday     Mo
     2018-09-23 13:00:05   fc1_wwd         Bewölkung abnehmend
     2018-09-23 13:00:05   fc2_0_DD        319.00
     2018-09-23 13:00:05   fc2_0_FX1       19
     2018-09-23 13:00:05   fc2_0_Neff      36.00
     2018-09-23 13:00:05   fc2_0_RR6c      0.00
     2018-09-23 13:00:05   fc2_0_TTT       4.90
     2018-09-23 13:00:05   fc2_0_time      02:00
     2018-09-23 13:00:05   fc2_0_ww        1
     2018-09-23 13:00:05   fc2_0_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc2_1_DD        345.00
     2018-09-23 13:00:05   fc2_1_FX1       11
     2018-09-23 13:00:05   fc2_1_Neff      40.00
     2018-09-23 13:00:05   fc2_1_RR6c      0.00
     2018-09-23 13:00:05   fc2_1_RRhc      0.10
     2018-09-23 13:00:05   fc2_1_Rh00      33.00
     2018-09-23 13:00:05   fc2_1_TTT       4.80
     2018-09-23 13:00:05   fc2_1_time      08:00
     2018-09-23 13:00:05   fc2_1_ww        1
     2018-09-23 13:00:05   fc2_1_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc2_2_DD        356.00
     2018-09-23 13:00:05   fc2_2_FX1       17
     2018-09-23 13:00:05   fc2_2_Neff      53.00
     2018-09-23 13:00:05   fc2_2_RR6c      0.00
     2018-09-23 13:00:05   fc2_2_TTT       9.90
     2018-09-23 13:00:05   fc2_2_time      14:00
     2018-09-23 13:00:05   fc2_2_ww        1
     2018-09-23 13:00:05   fc2_2_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc2_3_DD        77.00
     2018-09-23 13:00:05   fc2_3_FX1       9
     2018-09-23 13:00:05   fc2_3_Neff      36.00
     2018-09-23 13:00:05   fc2_3_RR6c      0.00
     2018-09-23 13:00:05   fc2_3_RRhc      0.00
     2018-09-23 13:00:05   fc2_3_Rh00      10.00
     2018-09-23 13:00:05   fc2_3_TTT       8.30
     2018-09-23 13:00:05   fc2_3_time      20:00
     2018-09-23 13:00:05   fc2_3_ww        1
     2018-09-23 13:00:05   fc2_3_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc2_Tg          1.30
     2018-09-23 13:00:05   fc2_Tn          3.60
     2018-09-23 13:00:05   fc2_Tx          11.4
     2018-09-23 13:00:05   fc2_date        2018-09-25
     2018-09-23 13:00:05   fc2_weekday     Di
     2018-09-23 13:00:05   fc2_wwd         Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc3_0_DD        98.00
     2018-09-23 13:00:05   fc3_0_FX1       15
     2018-09-23 13:00:05   fc3_0_Neff      8.00
     2018-09-23 13:00:05   fc3_0_RR6c      0.00
     2018-09-23 13:00:05   fc3_0_TTT       6.20
     2018-09-23 13:00:05   fc3_0_time      02:00
     2018-09-23 13:00:05   fc3_0_ww        0
     2018-09-23 13:00:05   fc3_0_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc3_1_DD        133.00
     2018-09-23 13:00:05   fc3_1_FX1       11
     2018-09-23 13:00:05   fc3_1_Neff      17.00
     2018-09-23 13:00:05   fc3_1_RR6c      0.00
     2018-09-23 13:00:05   fc3_1_RRhc      0.00
     2018-09-23 13:00:05   fc3_1_Rh00      10.00
     2018-09-23 13:00:05   fc3_1_TTT       6.10
     2018-09-23 13:00:05   fc3_1_time      08:00
     2018-09-23 13:00:05   fc3_1_ww        0
     2018-09-23 13:00:05   fc3_1_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc3_2_DD        196.00
     2018-09-23 13:00:05   fc3_2_FX1       22
     2018-09-23 13:00:05   fc3_2_Neff      23.00
     2018-09-23 13:00:05   fc3_2_RR6c      0.00
     2018-09-23 13:00:05   fc3_2_TTT       12.9
     2018-09-23 13:00:05   fc3_2_time      14:00
     2018-09-23 13:00:05   fc3_2_ww        0
     2018-09-23 13:00:05   fc3_2_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc3_3_DD        223.00
     2018-09-23 13:00:05   fc3_3_FX1       11
     2018-09-23 13:00:05   fc3_3_Neff      24.00
     2018-09-23 13:00:05   fc3_3_RR6c      0.00
     2018-09-23 13:00:05   fc3_3_RRhc      0.00
     2018-09-23 13:00:05   fc3_3_Rh00      12.00
     2018-09-23 13:00:05   fc3_3_TTT       11.9
     2018-09-23 13:00:05   fc3_3_time      20:00
     2018-09-23 13:00:05   fc3_3_ww        1
     2018-09-23 13:00:05   fc3_3_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc3_Tg          1.60
     2018-09-23 13:00:05   fc3_Tn          4.70
     2018-09-23 13:00:05   fc3_Tx          14.9
     2018-09-23 13:00:05   fc3_date        2018-09-26
     2018-09-23 13:00:05   fc3_weekday     Mi
     2018-09-23 13:00:05   fc3_wwd         Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc4_0_DD        252.00
     2018-09-23 13:00:05   fc4_0_FX1       13
     2018-09-23 13:00:05   fc4_0_Neff      21.00
     2018-09-23 13:00:05   fc4_0_RR6c      0.00
     2018-09-23 13:00:05   fc4_0_TTT       9.60
     2018-09-23 13:00:05   fc4_0_time      02:00
     2018-09-23 13:00:05   fc4_0_ww        0
     2018-09-23 13:00:05   fc4_0_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc4_1_DD        218.00
     2018-09-23 13:00:05   fc4_1_FX1       11
     2018-09-23 13:00:05   fc4_1_Neff      32.00
     2018-09-23 13:00:05   fc4_1_RR6c      0.00
     2018-09-23 13:00:05   fc4_1_RRhc      0.00
     2018-09-23 13:00:05   fc4_1_Rh00      11.00
     2018-09-23 13:00:05   fc4_1_TTT       9.5
     2018-09-23 13:00:05   fc4_1_time      08:00
     2018-09-23 13:00:05   fc4_1_ww        0
     2018-09-23 13:00:05   fc4_1_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc4_2_DD        201.00
     2018-09-23 13:00:05   fc4_2_FX1       22
     2018-09-23 13:00:05   fc4_2_Neff      26.00
     2018-09-23 13:00:05   fc4_2_RR6c      0.00
     2018-09-23 13:00:05   fc4_2_TTT       16.2
     2018-09-23 13:00:05   fc4_2_time      14:00
     2018-09-23 13:00:05   fc4_2_ww        0
     2018-09-23 13:00:05   fc4_2_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc4_3_DD        252.00
     2018-09-23 13:00:05   fc4_3_FX1       13
     2018-09-23 13:00:05   fc4_3_Neff      23.00
     2018-09-23 13:00:05   fc4_3_RR6c      0.00
     2018-09-23 13:00:05   fc4_3_RRhc      0.00
     2018-09-23 13:00:05   fc4_3_Rh00      15.00
     2018-09-23 13:00:05   fc4_3_TTT       14.1
     2018-09-23 13:00:05   fc4_3_time      20:00
     2018-09-23 13:00:05   fc4_3_ww        0
     2018-09-23 13:00:05   fc4_3_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc4_Tg          3.40
     2018-09-23 13:00:05   fc4_Tn          8.20
     2018-09-23 13:00:05   fc4_Tx          17.9
     2018-09-23 13:00:05   fc4_date        2018-09-27
     2018-09-23 13:00:05   fc4_weekday     Do
     2018-09-23 13:00:05   fc4_wwd         Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc5_0_DD        303.00
     2018-09-23 13:00:05   fc5_0_FX1       15
     2018-09-23 13:00:05   fc5_0_Neff      24.00
     2018-09-23 13:00:05   fc5_0_RR6c      0.00
     2018-09-23 13:00:05   fc5_0_TTT       11.6
     2018-09-23 13:00:05   fc5_0_time      02:00
     2018-09-23 13:00:05   fc5_0_ww        0
     2018-09-23 13:00:05   fc5_0_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc5_1_DD        326.00
     2018-09-23 13:00:05   fc5_1_FX1       15
     2018-09-23 13:00:05   fc5_1_Neff      44.00
     2018-09-23 13:00:05   fc5_1_RR6c      0.00
     2018-09-23 13:00:05   fc5_1_RRhc      0.00
     2018-09-23 13:00:05   fc5_1_Rh00      34.00
     2018-09-23 13:00:05   fc5_1_TTT       10.3
     2018-09-23 13:00:05   fc5_1_time      08:00
     2018-09-23 13:00:05   fc5_1_ww        0
     2018-09-23 13:00:05   fc5_1_wwd       Bewölkungsentwicklung nicht beobachtet
     2018-09-23 13:00:05   fc5_2_DD        326.00
     2018-09-23 13:00:05   fc5_2_FX1       24
     2018-09-23 13:00:05   fc5_2_Neff      62.00
     2018-09-23 13:00:05   fc5_2_RR6c      0.00
     2018-09-23 13:00:05   fc5_2_TTT       12.9
     2018-09-23 13:00:05   fc5_2_time      14:00
     2018-09-23 13:00:05   fc5_2_ww        2
     2018-09-23 13:00:05   fc5_2_wwd       Bewölkung unverändert
     2018-09-23 13:00:05   fc5_3_DD        339.00
     2018-09-23 13:00:05   fc5_3_FX1       19
     2018-09-23 13:00:05   fc5_3_Neff      49.00
     2018-09-23 13:00:05   fc5_3_RR6c      0.00
     2018-09-23 13:00:05   fc5_3_RRhc      0.00
     2018-09-23 13:00:05   fc5_3_Rh00      37.00
     2018-09-23 13:00:05   fc5_3_TTT       11.5
     2018-09-23 13:00:05   fc5_3_time      20:00
     2018-09-23 13:00:05   fc5_3_ww        1
     2018-09-23 13:00:05   fc5_3_wwd       Bewölkung abnehmend
     2018-09-23 13:00:05   fc5_Tg          6.80
     2018-09-23 13:00:05   fc5_Tn          9.60
     2018-09-23 13:00:05   fc5_Tx          14.1
     2018-09-23 13:00:05   fc5_date        2018-09-28
     2018-09-23 13:00:05   fc5_weekday     Fr
     2018-09-23 13:00:05   fc5_wwd         Bewölkung abnehmend
     2018-09-23 13:00:05   fc_coordinates  7.97,50.67,547.0
     2018-09-23 13:00:05   fc_copyright    Datenbasis: Deutscher Wetterdienst
     2018-09-23 13:00:05   fc_description  B.MARIENBG.
     2018-09-23 13:00:05   fc_station      10526
     2018-09-23 13:00:05   fc_time         2018-09-23 13:00:05
     2018-09-23 13:00:06   state           alerts updated
Attributes:
   alertArea  807138012
   alertLanguage DE
   forecastDays 5
   forecastStation 10526
   forecastWW2Text 1
   group      Wetter
   room       Wetter


WeblinkDevice
Internals:
   IODev      DWD
   NAME       DWDWeblinkDevice
   NR         689
   STATE      initialized
   TYPE       DWD_OpenData_Weblink
   .attraggr:
   .attrminint:
   READINGS:
     2018-09-23 12:35:37   state           initialized
Attributes:
   IODev      DWD
   forecastDays 5
   refreshRate 900
   room       Wetter


Weblink
DEF        htmlCode { DWD_OpenData_Weblink::AsHtmlH("DWDWeblinkDevice") }
   LINK       { DWD_OpenData_Weblink::AsHtmlH("DWDWeblinkDevice") }
   NAME       MyDWDWeblink
   NR         690
   STATE      initialized
   TYPE       weblink
   WLTYPE     htmlCode
Attributes:
   room       Wetter



Danke für Antworten  ;)

Gruß Werner

EDIT: PS: kann das jetzt aus der 99_myUtils entfernt werden ??
eval "use DWDODweblink;";





Zotac CI547 32GB RAM 500GB SSD,ESXI 6.5, VM-Fhem5.8, VM-ioBroker, Cul 868Mhz;Cul 433Mhz = Busware, LGW, HM-MOD-RPI-PCB, Uniroll, IT YCR-100 TMT2100,ITR-1500, LD382 mit Wifilight, ESA 2000 + SENSOR WZ SET,FS20 TFK, HM-Sec-SC, HM-CC-RT-DN,PCA301,

jensb

@Intruder1956

ZitatBeim Weblink wie im Bild zu sehen funktionieren einige Umlaute nicht
Das ist aus meiner Sicht nicht typisch, vor allem da bei dir einige Texte Umlaute enthalten (die aus dem OpenData-Modul) und einige nicht (die aus dem Weblink-Modul). Bitte schau dir noch einmal die Weblink-Moduldatei an und suche nach "°C" bzw. anderen Umlauten. Auf GitHub ist die Welt noch in Ordnung. Prüfe einmal deine Version auf deinem PC mit einem Editor, der UTF-8 unterstützt (z.B. mit Notepad++) und einmal auf deinem FHEM-Server. Es ist möglich, dass beim Download bzw. beim Kopieren auf den FHEM-Server das Encoding von deinem Copy-Tool modifiziert und damit zerstört wurde. Bei Tools wie WinSCP die Dateien im Binär-Modus und nicht im Text-Modus übertragen.

Zitatund es fehlt etwas ab "Mi 8:00"
Nein, ab Mi lautet die Meldung bei dir "Bewölkungsentwicklung nicht beobachtet" und die wird unterdrückt, da sie nicht viel aussagt.

Zitatwie bekomme ich die Unwettermeldungen angezeigt ??
Gute Frage. Eigentlich müsstest du was sehen, denn du hast a-Readings und die Zeiten passen. Ich bekomme mit deiner alertArea aktuell Warnsymbold für heute angezeigt. Vielleicht hängt es mit dem Umlaut-Problem zusammen?

Zitatkann das jetzt aus der 99_myUtils entfernt werden ??
Ja.

Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb

Intruder1956

Hallo Jens,
danke für die Antworten  :)

Habe mir die beiden Dateien aus dem Github gezogen und über kopiert, jetzt funktionieren auch alle Umlaute  ;)
Fhem wurde neu gestartet

Leider noch keine Warnsymbole oder Text

Gruß Werner 
Zotac CI547 32GB RAM 500GB SSD,ESXI 6.5, VM-Fhem5.8, VM-ioBroker, Cul 868Mhz;Cul 433Mhz = Busware, LGW, HM-MOD-RPI-PCB, Uniroll, IT YCR-100 TMT2100,ITR-1500, LD382 mit Wifilight, ESA 2000 + SENSOR WZ SET,FS20 TFK, HM-Sec-SC, HM-CC-RT-DN,PCA301,

jensb

Hallo Werner,

ZitatLeider noch keine Warnsymbole

Dann brauche ich mehr Logging von dir. Bitte ändere den Weblink-Code wie folgt ab ca. Zeile 1050, mach einen Page-Refresh mit dem gepatchten Code und poste den Output (er muss mindesten die Ausgabe für a_count enthalten). Habe den gepatchten Code selbst nicht getestet, er könnte Tippfehler enthalten:

  # prepare alerts
  my $alerts = ::ReadingsVal($d, "a_count", 0);
  my %alertMessages;
  ::Log 1, "PrepareForecastData: a_count:$a_count";
  if ($alerts > 0) {
    for (my $i=-1; $i<$items; $i++) {
      my ($day, $index) = ToForecastIndex($i, \@offsets, $timeResolution);
      if ($i >= 0) {
        # future alerts 0=rest of today, 1=tomorrow morning, 2=tomorrow evening, ...
        my $fcStart = $data[$i+1]{startTime};
        my $fcEnd = ($i + 1) < $items? $data[$i+2]{startTime} : ($fcStart + 43200 - 1); # 12 hours
        $alertMessages{"$day-$index"} = undef;
        for(my $a=0; $a<$alerts; $a++) {
          my $start = DWD_OpenData::ParseDateTimeLocal($hash, ::ReadingsVal($d, "a_".$a."_onset", '1970-01-01 00:00:00'));
          my $end   = DWD_OpenData::ParseDateTimeLocal($hash, ::ReadingsVal($d, "a_".$a."_expires", '1970-01-01 00:00:00'));
          ::Log 1, "PrepareForecastData: day $i start:$start, end:$end, fcStart:$fcStart, fcEnd:$fcEnd";
          if (IsInRange($start, $end, $fcStart, $fcEnd)) {
            if (!defined($alertMessages{"$day-$index"})) {
              $alertMessages{"$day-$index"} = "";
            }
            if (IsActive($start, $end, $fcStart)) {
              # already active, skip onset
              $alertMessages{"$day-$index"} .= sprintf('<div class="weaterAlertMessage" style="color:black; background-color:rgb(%s)">%s bis %s<br>%s<p>%s</div>', ::ReadingsVal($d, "a_".$a."_areaColor", "255, 255, 255"), ::ReadingsVal($d, "a_".$a."_areaDesc", "?"), ::ReadingsVal($d, "a_".$a."_expires", "?"), ::ReadingsVal($d, "a_".$a."_headline", "?"), ::ReadingsVal($d, "a_".$a."_description", "?"));
            } else {
              $alertMessages{"$day-$index"} .= sprintf('<div class="weaterAlertMessage" style="color:black; background-color:rgb(%s)">%s von %s bis %s<br>%s<p>%s</div>', ::ReadingsVal($d, "a_".$a."_areaColor", "255, 255, 255"), ::ReadingsVal($d, "a_".$a."_areaDesc", "?"), ::ReadingsVal($d, "a_".$a."_onset", "?"), ::ReadingsVal($d, "a_".$a."_expires", "?"), ::ReadingsVal($d, "a_".$a."_headline", "?"), ::ReadingsVal($d, "a_".$a."_description", "?"));
            }
          }
        }
      } else {
        # currently valid alerts
        my $fcStart = $data[0]{startTime};
        my $fcEnd = $data[1]{startTime};
        $alertMessages{'NOW'} = undef;
        for(my $a=0; $a<$alerts; $a++) {
          my $start = DWD_OpenData::ParseDateTimeLocal($hash, ::ReadingsVal($d, "a_".$a."_onset", '1970-01-01 00:00:00'));
          my $end   = DWD_OpenData::ParseDateTimeLocal($hash, ::ReadingsVal($d, "a_".$a."_expires", '1970-01-01 00:00:00'));
          ::Log 1, "PrepareForecastData: current start:$start, end:$end, fcStart:$fcStart, fcEnd:$fcEnd";
          if (IsInRange($start, $end, $fcStart, $fcEnd)) {
            if (!defined($alertMessages{'NOW'})) {
              $alertMessages{'NOW'} = "";
            }
            if (IsActive($start, $end, $now)) {
              $alertMessages{'NOW'} .= sprintf('<div class="weaterAlertMessage" style="color:black; background-color:rgb(%s)">%s bis %s<br>%s<p>%s</div>', ::ReadingsVal($d, "a_".$a."_areaColor", "255, 255, 255"), ::ReadingsVal($d, "a_".$a."_areaDesc", "?"), ::ReadingsVal($d, "a_".$a."_expires", "?"), ::ReadingsVal($d, "a_".$a."_headline", "?"), ::ReadingsVal($d, "a_".$a."_description", "?"));
            } else {
              $alertMessages{'NOW'} .= sprintf('<div class="weaterAlertMessage" style="color:black; background-color:rgb(%s)">%s von %s bis %s<br>%s<p>%s</div>', ::ReadingsVal($d, "a_".$a."_areaColor", "255, 255, 255"), ::ReadingsVal($d, "a_".$a."_areaDesc", "?"), ::ReadingsVal($d, "a_".$a."_onset", "?"), ::ReadingsVal($d, "a_".$a."_expires", "?"), ::ReadingsVal($d, "a_".$a."_headline", "?"), ::ReadingsVal($d, "a_".$a."_description", "?"));
            }
          }
        }
      }
    }
  }


Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb

Intruder1956

Habe dies bekommen,

2018.09.23 14:33:04 1: PERL WARNING: Constant subroutine DWD_OpenData_Weblink::COLOR_FREEZE redefined at /usr/share/perl/5.24/constant.pm line 171, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Constant subroutine DWD_OpenData_Weblink::COLOR_WARM redefined at /usr/share/perl/5.24/constant.pm line 171, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Constant subroutine DWD_OpenData_Weblink::COLOR_RAIN redefined at /usr/share/perl/5.24/constant.pm line 171, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine Define redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 320, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine Get redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 346, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine GetForecastCssH redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 382, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine IsDay redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 558, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine IsActive redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 591, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine IsInRange redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 619, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine GetWeatherIconTag redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 649, <$fh> line 655.
2018.09.23 14:33:04 1: PERL WARNING: Subroutine ToForecastIndex redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 699, <$fh> line 655.
2018.09.23 14:33:04 1: reload: Error:Modul 99_DWD_OpenData_Weblink deactivated:
Global symbol "$a_count" requires explicit package name (did you forget to declare "my $a_count"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1053, <$fh> line 655.
syntax error at ./FHEM/99_DWD_OpenData_Weblink.pm line 1100, near "} else"
Can't redeclare "my" in "my" at ./FHEM/99_DWD_OpenData_Weblink.pm line 1103, near ""
Global symbol "@data" requires explicit package name (did you forget to declare "my @data"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1103, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1104, <$fh> line 655.
Global symbol "$alerts" requires explicit package name (did you forget to declare "my $alerts"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1105, <$fh> line 655.
Global symbol "$hash" requires explicit package name (did you forget to declare "my $hash"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1106, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1106, <$fh> line 655.
Global symbol "$hash" requires explicit package name (did you forget to declare "my $hash"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1107, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1107, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1109, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1110, <$fh> line 655.
Global symbol "$now" requires explicit package name (did you forget to declare "my $now"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1112, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
syntax error at ./FHEM/99_DWD_OpenData_Weblink.pm line 1119, near "}"
./FHEM/99_DWD_OpenData_Weblink.pm has too many errors.

2018.09.23 14:33:04 0: Global symbol "$a_count" requires explicit package name (did you forget to declare "my $a_count"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1053, <$fh> line 655.
syntax error at ./FHEM/99_DWD_OpenData_Weblink.pm line 1100, near "} else"
Can't redeclare "my" in "my" at ./FHEM/99_DWD_OpenData_Weblink.pm line 1103, near ""
Global symbol "@data" requires explicit package name (did you forget to declare "my @data"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1103, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1104, <$fh> line 655.
Global symbol "$alerts" requires explicit package name (did you forget to declare "my $alerts"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1105, <$fh> line 655.
Global symbol "$hash" requires explicit package name (did you forget to declare "my $hash"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1106, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1106, <$fh> line 655.
Global symbol "$hash" requires explicit package name (did you forget to declare "my $hash"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1107, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1107, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1109, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1110, <$fh> line 655.
Global symbol "$now" requires explicit package name (did you forget to declare "my $now"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1112, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1113, <$fh> line 655.
Global symbol "%alertMessages" requires explicit package name (did you forget to declare "my %alertMessages"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
Global symbol "$d" requires explicit package name (did you forget to declare "my $d"?) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1115, <$fh> line 655.
syntax error at ./FHEM/99_DWD_OpenData_Weblink.pm line 1119, near "}"
./FHEM/99_DWD_OpenData_Weblink.pm has too many errors.

2018.09.23 14:33:04 1: Including ./log/fhem.save
2018.09.23 14:33:04 1: configfile: Cannot load module DWD_OpenData_Weblink
./log/fhem.save: Please define DWDWeblinkDevice first
Please define DWDWeblinkDevice first
2018.09.23 14:33:17 1: ERROR evaluating { DWD_OpenData_Weblink::AsHtmlH("DWDWeblinkDevice") }: Undefined subroutine &DWD_OpenData_Weblink::AsHtmlH called at (eval 474) line 1.


2018.09.23 14:36:09 1: ERROR evaluating { DWD_OpenData_Weblink::AsHtmlH("DWDWeblinkDevice") }: Undefined subroutine &DWD_OpenData_Weblink::AsHtmlH called at (eval 780) line 1.

2018.09.23 14:36:43 1: ERROR evaluating { DWD_OpenData_Weblink::AsHtmlH("DWDWeblinkDevice") }: Undefined subroutine &DWD_OpenData_Weblink::AsHtmlH called at (eval 950) line 1.



Gruß Werner
Zotac CI547 32GB RAM 500GB SSD,ESXI 6.5, VM-Fhem5.8, VM-ioBroker, Cul 868Mhz;Cul 433Mhz = Busware, LGW, HM-MOD-RPI-PCB, Uniroll, IT YCR-100 TMT2100,ITR-1500, LD382 mit Wifilight, ESA 2000 + SENSOR WZ SET,FS20 TFK, HM-Sec-SC, HM-CC-RT-DN,PCA301,

jensb

Sorry, bitte ersetze die 1. Logausgabe mit a_count durch
Zitat::Log 1, "PrepareForecastData: alerts:$alerts";
Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb

Intruder1956

jetzt folgendes  ;)
2018.09.23 15:28:10 1: PERL WARNING: Constant subroutine DWD_OpenData_Weblink::COLOR_FREEZE redefined at /usr/share/perl/5.24/constant.pm line 171, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Constant subroutine DWD_OpenData_Weblink::COLOR_WARM redefined at /usr/share/perl/5.24/constant.pm line 171, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Constant subroutine DWD_OpenData_Weblink::COLOR_RAIN redefined at /usr/share/perl/5.24/constant.pm line 171, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine Define redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 320, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine Get redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 346, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine GetForecastCssH redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 382, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine IsDay redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 558, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine IsActive redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 591, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine IsInRange redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 619, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine GetWeatherIconTag redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 649, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine ToForecastIndex redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 699, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine GetForecastHtmlH redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 1130, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine AsHtmlH redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 1235, <$fh> line 655.
2018.09.23 15:28:10 1: PERL WARNING: Subroutine DWD_OpenData_Weblink_Initialize redefined at ./FHEM/99_DWD_OpenData_Weblink.pm line 1300, <$fh> line 655.
2018.09.23 15:28:10 1: reload: Error:Modul 99_DWD_OpenData_Weblink deactivated:
Missing right curly or square bracket at ./FHEM/99_DWD_OpenData_Weblink.pm line 1433, at end of line
syntax error at ./FHEM/99_DWD_OpenData_Weblink.pm line 1433, at EOF

2018.09.23 15:28:10 0: Missing right curly or square bracket at ./FHEM/99_DWD_OpenData_Weblink.pm line 1433, at end of line
syntax error at ./FHEM/99_DWD_OpenData_Weblink.pm line 1433, at EOF

2018.09.23 15:28:10 1: Including ./log/fhem.save
2018.09.23 15:28:11 1: configfile: Cannot load module DWD_OpenData_Weblink
./log/fhem.save: Please define DWDWeblinkDevice first
Please define DWDWeblinkDevice first


Gruß Werner
Zotac CI547 32GB RAM 500GB SSD,ESXI 6.5, VM-Fhem5.8, VM-ioBroker, Cul 868Mhz;Cul 433Mhz = Busware, LGW, HM-MOD-RPI-PCB, Uniroll, IT YCR-100 TMT2100,ITR-1500, LD382 mit Wifilight, ESA 2000 + SENSOR WZ SET,FS20 TFK, HM-Sec-SC, HM-CC-RT-DN,PCA301,

jensb

Hallo Werner,

das wird so nichts, wahrscheinlich ist eine Klammer beim Einfügen verloren gegangen. Anbei das bereits vorbereitete Modul zum Testen.

Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb

Intruder1956

ok, dann nochmal  ;)

2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/99_DWD_OpenData_Weblink.pm line 357.
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/99_Utils.pm line 21.
2018.09.23 16:14:30 1: PrepareForecastData: alerts:6
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $start in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1088.
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $end in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1088.
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $fcEnd in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1088.
2018.09.23 16:14:30 1: PrepareForecastData: current start:, end:, fcStart:1537712070, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: current start:, end:, fcStart:1537712070, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: current start:, end:, fcStart:1537712070, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: current start:, end:, fcStart:1537712070, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: current start:, end:, fcStart:1537712070, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: current start:, end:, fcStart:1537712070, fcEnd:
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $start in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1066.
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $end in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1066.
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $fcStart in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1066.
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $fcEnd in concatenation (.) or string at ./FHEM/99_DWD_OpenData_Weblink.pm line 1066.
2018.09.23 16:14:30 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value $fcStart in addition (+) at ./FHEM/99_DWD_OpenData_Weblink.pm line 1061.
2018.09.23 16:14:30 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:30 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:30 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:30 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:30 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:30 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:30 1: GetForecastHtmlH: i:-1, data:NOW
2018.09.23 16:14:30 1: GetForecastHtmlH: i:0, data:1-0
2018.09.23 16:14:30 1: GetForecastHtmlH: i:1, data:1-1
2018.09.23 16:14:30 1: GetForecastHtmlH: i:2, data:1-2
2018.09.23 16:14:30 1: GetForecastHtmlH: i:3, data:2-1
2018.09.23 16:14:30 1: GetForecastHtmlH: i:4, data:2-2
2018.09.23 16:14:30 1: GetForecastHtmlH: i:5, data:3-1
2018.09.23 16:14:30 1: GetForecastHtmlH: i:6, data:3-2
2018.09.23 16:14:30 1: GetForecastHtmlH: i:7, data:4-1
2018.09.23 16:14:30 1: GetForecastHtmlH: i:8, data:4-2
2018.09.23 16:14:38 1: PrepareForecastData: alerts:6
2018.09.23 16:14:38 1: PrepareForecastData: current start:, end:, fcStart:1537712078, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: current start:, end:, fcStart:1537712078, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: current start:, end:, fcStart:1537712078, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: current start:, end:, fcStart:1537712078, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: current start:, end:, fcStart:1537712078, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: current start:, end:, fcStart:1537712078, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:0, day:1, index:0, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:1, day:1, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:2, day:1, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:3, day:2, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:4, day:2, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:5, day:3, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:6, day:3, index:2, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:7, day:4, index:1, start:, end:, fcStart:, fcEnd:
2018.09.23 16:14:38 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:38 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:38 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:38 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:38 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:38 1: PrepareForecastData: i:8, day:4, index:2, start:, end:, fcStart:, fcEnd:43199
2018.09.23 16:14:38 1: GetForecastHtmlH: i:-1, data:NOW
2018.09.23 16:14:38 1: GetForecastHtmlH: i:0, data:1-0
2018.09.23 16:14:38 1: GetForecastHtmlH: i:1, data:1-1
2018.09.23 16:14:38 1: GetForecastHtmlH: i:2, data:1-2
2018.09.23 16:14:38 1: GetForecastHtmlH: i:3, data:2-1
2018.09.23 16:14:38 1: GetForecastHtmlH: i:4, data:2-2
2018.09.23 16:14:38 1: GetForecastHtmlH: i:5, data:3-1
2018.09.23 16:14:38 1: GetForecastHtmlH: i:6, data:3-2
2018.09.23 16:14:38 1: GetForecastHtmlH: i:7, data:4-1
2018.09.23 16:14:38 1: GetForecastHtmlH: i:8, data:4-2


Gruß Werner
Zotac CI547 32GB RAM 500GB SSD,ESXI 6.5, VM-Fhem5.8, VM-ioBroker, Cul 868Mhz;Cul 433Mhz = Busware, LGW, HM-MOD-RPI-PCB, Uniroll, IT YCR-100 TMT2100,ITR-1500, LD382 mit Wifilight, ESA 2000 + SENSOR WZ SET,FS20 TFK, HM-Sec-SC, HM-CC-RT-DN,PCA301,

jensb

Hallo Werner,

das Logging zeigt, dass der Code die Zeitstempel nicht findet (hinter start, end und fcEnd steht nichts), obwohl es 6 Warnungen gibt (alerts:6). Das ist für mich aktuell nicht nachvollziehbar, denn dann dürfte deine Darstellung des Weblinks eigentlich auch nichts anzeigen, denn es sind die gleichen Zeitstempel (technisch gesprochen ist das Array @data bei der Wetterwarnungsaufbereitung also vorübergehend leer).

Da ich von hier nicht selbst auf deinem FHEM-Server testen kann und das Problem auf meinen beiden FHEM-Servern nicht auftritt, bleiben nicht viele Optionen. Bitte prüfe noch mal, ob du die "alte" Weblink-Datei ohne "99_" davor im Dateinamen wirklich aus dem FHEM-Unterverzeichnis gelöscht hast und ob du anschließend wenigstens einmal FHEM neu gestartet hast. Versuchsweise vielleicht noch einmal den FHEM-Server neu starten.

Hier noch ein Hinweis:

Zitat2018.09.23 16:14:30 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/99_DWD_OpenData_Weblink.pm line 357.
Bitte setze das Attribut "theme" am Weblink-Device. In der nächsten Version des Weblink-Moduls wird das nicht mehr nötig sein.

Falls noch jemand den gleichen Effekt hat und keine Warnmeldungen im neuen Weblink sieht, bitte melden.

Grüße,
Jens
FHEM 6.1 - RPi 4 Raspbian 12 + PiTFT - OPi Zero Armbian 5.35
EnOcean - (W)LAN/Firmata: BMP180, TSL2561, SHT21, Heatronic 3, OBIS - WLAN/ESP8266: Gardena 1251, Zirkulationspumpe - RTL433: Oregon - Bluetooth - MQTT
Contributions: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/jensb