Autor Thema: DWD - doppelte Werte im Log  (Gelesen 208 mal)

Offline sf.fhem

  • New Member
  • *
  • Beiträge: 4
DWD - doppelte Werte im Log
« am: 20 Oktober 2021, 20:19:51 »
Hallo,

mit Modul "DWD_OpenData" hole ich mir regelmäßig die aktuellen Wetterdaten. Alles ganz simpel und überschaubar.

Nun werden aber die Readings "fc2_Tx", "fc3_Tx" u. "fc2_Tn", "fc3_Tn" pro Durchlauf doppelt mit unterschiedlichen Werten im Log gesichert.

Damit kann man natürlich keinen korrekten Graphen erstellen.  :-\

https://imgur.com/a/sgcJwwM

fhem.cfg:
define DWD DWD_OpenData
attr DWD alertArea 808116080
attr DWD forecastDays 3
attr DWD forecastProperties Tx,Tn,Tg,TTT,DD,FX1,Neff,RR6c,RRhc,Rh00,ww,SunUp,wwd,TTT,PEvap
attr DWD forecastStation 10738
attr DWD forecastWW2Text 1
attr DWD group Wetter

define FileLog_DWD FileLog ./log/dwd-weather-%Y-%m.log (DWD:fc2_PEvap:.*|DWD:fc3_PEvap:.*|DWD:fc2_Tn:.*|DWD:fc3_Tn:.*|DWD:fc2_Tx:.*|DWD:fc3_Tx:.*)
attr FileLog_DWD logtype text

dwd-weather-2021-10.log:
[..]
2021-10-20_19:13:19 DWD fc2_Tn: 5.40
2021-10-20_19:13:19 DWD fc2_Tx: 11
2021-10-20_19:13:19 DWD fc2_PEvap: 1.40
2021-10-20_19:13:19 DWD fc2_Tn: 4.90
2021-10-20_19:13:19 DWD fc2_Tx: 11.9
2021-10-20_19:13:19 DWD fc3_Tn: 2.90
2021-10-20_19:13:19 DWD fc3_Tx: 8.20
2021-10-20_19:13:19 DWD fc3_PEvap: 0.80
2021-10-20_19:13:19 DWD fc3_Tn: 3.70
2021-10-20_19:13:19 DWD fc3_Tx: 11.3
2021-10-20_20:00:05 DWD fc2_PEvap: 1.40
2021-10-20_20:00:05 DWD fc2_Tx: 11
2021-10-20_20:00:05 DWD fc2_Tn: 5.40
2021-10-20_20:00:05 DWD fc2_Tx: 11.9
2021-10-20_20:00:05 DWD fc2_Tn: 4.90
2021-10-20_20:00:05 DWD fc3_PEvap: 0.80
2021-10-20_20:00:05 DWD fc3_Tx: 8.20
2021-10-20_20:00:05 DWD fc3_Tn: 2.90
2021-10-20_20:00:05 DWD fc3_Tx: 11.3
2021-10-20_20:00:05 DWD fc3_Tn: 3.70


> list DWD
Internals:
   ALERTS_IN_CACHE 96
   FHEM_TZ   
   FUUID      5eb47636-f33f-226c-109b-378cfd06aebf1716
   NAME       DWD
   NR         416
   STATE      alerts updated
   TYPE       DWD_OpenData
   VERSION    1.016002
   OLDREADINGS:
   READINGS:
[..]
     2021-10-20 11:00:06   fc1_PEvap       0.90
     2021-10-20 20:00:05   fc1_Tn          10
[..]
     2021-10-20 20:00:05   fc2_PEvap       1.40
     2021-10-20 20:00:05   fc2_Tn          4.90
[..]
     2021-10-20 20:00:05   fc3_PEvap       0.80
     2021-10-20 20:00:05   fc3_Tn          3.70
[..]
Attributes:
   alertArea  808116080
   forecastDays 3
   forecastProperties Tx,Tn,Tg,TTT,DD,FX1,Neff,RR6c,RRhc,Rh00,ww,SunUp,wwd,TTT,PEvap
   forecastStation 10738
   forecastWW2Text 1
   group      Wetter