Modul für Weather Underground / Wunderground

Begonnen von Loredo, 26 Oktober 2016, 01:31:36

Vorheriges Thema - Nächstes Thema

thburkhart

klappt prima auch mit Gplots  :-)

ich habe ja bislang in reading09 preciptoday, das precipTotal entspricht

wie bekomme ich diese Messwerte als readings ?
PRECIP RATE
PRECIP ACCUM  (ist wohl preciptoday?)
1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

amenomade

Die URL, die Du abfragst hat keine weitere Daten:
<observations>
<observations>
<observations>
<stationID>IPLIEZ3</stationID>
<obsTimeUtc>2020-10-19T08:57:54Z</obsTimeUtc>
<obsTimeLocal>2020-10-19 10:57:54</obsTimeLocal>
<neighborhood>Pliezhausen</neighborhood>
<country>DE</country>
<lon>9.202</lon>
<epoch>1603097874</epoch>
<lat>48.559</lat>
<winddir>338</winddir>
<humidity>76</humidity>
<qcStatus>1</qcStatus>
<metric>
<temp>12</temp>
<heatIndex>12</heatIndex>
<dewpt>7</dewpt>
<windChill>12</windChill>
<windSpeed>0</windSpeed>
<windGust>0</windGust>
<pressure>1018.96432974</pressure>
<precipRate>0</precipRate>
<precipTotal>0</precipTotal>
<elev>365</elev>
</metric>
</observations>
</observations>
</observations>


Du kannst nichts anderes aus diese URL holen.
Die Definition der Readings hast Du in den Attribute.

Woher kommen "diese Messwerte"
PRECIP RATE
PRECIP ACCUM
Wo hast Du diese Namen gefunden?

Wenn Du immer mehr weitere Readings brauchst, warum nimmst Du nicht einfach das Modul Weather.  Damit hättest Du mit nur einer Zeile (das "define") folgende Readings alle auf einmal:
   READINGS:
     2020-10-19 11:02:03   .license        Data provided by Weather Underground; part of The Weather Company, an IBM Business.
     2020-10-19 11:02:03   apiMaintainer   Julian Pawlowski (loredo)
     2020-10-19 11:02:03   apiVersion      1.000001
     2020-10-19 11:02:03   cloudCover      44
     2020-10-19 11:02:03   code            30
     2020-10-19 11:02:03   codeExtend      3000
     2020-10-19 11:02:03   condition       Wolkig
     2020-10-19 11:02:03   current_date_time
     2020-10-19 11:02:03   dewPoint        7
     2020-10-19 11:02:03   fc1_cloudCover  44
     2020-10-19 11:02:03   fc1_code        30
     2020-10-19 11:02:03   fc1_codeExtend  3000
     2020-10-19 11:02:03   fc1_condition   Wolkig
     2020-10-19 11:02:03   fc1_day_of_week Montag
     2020-10-19 11:02:03   fc1_high_c      12
     2020-10-19 11:02:03   fc1_icon        partly_cloudy
     2020-10-19 11:02:03   fc1_iconAPI     30
     2020-10-19 11:02:03   fc1_low_c       4
     2020-10-19 11:02:03   fc1_moonPhase   zunehmender Sichelmond
     2020-10-19 11:02:03   fc1_moonPhaseCode WXC
     2020-10-19 11:02:03   fc1_moonPhaseDay 3
     2020-10-19 11:02:03   fc1_moonriseTime
     2020-10-19 11:02:03   fc1_moonsetTime
     2020-10-19 11:02:03   fc1_narrative   Teilweise bedeckt. Höchsttemperaturen 11 bis 13C und Tiefsttemperaturen 3 bis 5C.
     2020-10-19 11:02:03   fc1_precipProbability 0
     2020-10-19 11:02:03   fc1_precipProbabilitySnow 0
     2020-10-19 11:02:03   fc1_sunriseTime
     2020-10-19 11:02:03   fc1_sunsetTime 
     2020-10-19 11:02:03   fc1_tempHigh    12
     2020-10-19 11:02:03   fc1_tempLow     4
     2020-10-19 11:02:03   fc1_uvIndex     2
     2020-10-19 11:02:03   fc2_cloudCover  74
     2020-10-19 11:02:03   fc2_code        28
     2020-10-19 11:02:03   fc2_codeExtend  2800
     2020-10-19 11:02:03   fc2_condition   Stark bewölkt
     2020-10-19 11:02:03   fc2_day_of_week Dienstag
     2020-10-19 11:02:03   fc2_high_c      17
     2020-10-19 11:02:03   fc2_icon        mostlycloudy
     2020-10-19 11:02:03   fc2_iconAPI     28
     2020-10-19 11:02:03   fc2_low_c       11
     2020-10-19 11:02:03   fc2_moonPhase   zunehmender Sichelmond
     2020-10-19 11:02:03   fc2_moonPhaseCode WXC
     2020-10-19 11:02:03   fc2_moonPhaseDay 4
     2020-10-19 11:02:03   fc2_moonriseTime
     2020-10-19 11:02:03   fc2_moonsetTime
     2020-10-19 11:02:03   fc2_narrative   Meistens bedeckt. Höchsttemperaturen 16 bis 18C und Tiefsttemperaturen 10 bis 12C.
     2020-10-19 11:02:03   fc2_precipProbability 0
     2020-10-19 11:02:03   fc2_precipProbabilitySnow 0
     2020-10-19 11:02:03   fc2_sunriseTime
     2020-10-19 11:02:03   fc2_sunsetTime 
     2020-10-19 11:02:03   fc2_tempHigh    17
     2020-10-19 11:02:03   fc2_tempLow     11
     2020-10-19 11:02:03   fc2_uvIndex     2
     2020-10-19 11:02:03   fc3_cloudCover  71
     2020-10-19 11:02:03   fc3_code        28
     2020-10-19 11:02:03   fc3_codeExtend  2800
     2020-10-19 11:02:03   fc3_condition   Stark bewölkt
     2020-10-19 11:02:03   fc3_day_of_week Mittwoch
     2020-10-19 11:02:03   fc3_high_c      19
     2020-10-19 11:02:03   fc3_icon        mostlycloudy
     2020-10-19 11:02:03   fc3_iconAPI     28
     2020-10-19 11:02:03   fc3_low_c       13
     2020-10-19 11:02:03   fc3_moonPhase   zunehmender Sichelmond
     2020-10-19 11:02:03   fc3_moonPhaseCode WXC
     2020-10-19 11:02:03   fc3_moonPhaseDay 5
     2020-10-19 11:02:03   fc3_moonriseTime
     2020-10-19 11:02:03   fc3_moonsetTime
     2020-10-19 11:02:03   fc3_narrative   Meistens bedeckt. Höchsttemperaturen 18 bis 20C und Tiefsttemperaturen 12 bis 14C.
     2020-10-19 11:02:03   fc3_precipProbability 0
     2020-10-19 11:02:03   fc3_precipProbabilitySnow 0
     2020-10-19 11:02:03   fc3_sunriseTime
     2020-10-19 11:02:03   fc3_sunsetTime 
     2020-10-19 11:02:03   fc3_tempHigh    19
     2020-10-19 11:02:03   fc3_tempLow     13
     2020-10-19 11:02:03   fc3_uvIndex     2
     2020-10-19 11:02:03   fc4_cloudCover  76
     2020-10-19 11:02:03   fc4_code        28
     2020-10-19 11:02:03   fc4_codeExtend  2800
     2020-10-19 11:02:03   fc4_condition   Stark bewölkt
     2020-10-19 11:02:03   fc4_day_of_week Donnerstag
     2020-10-19 11:02:03   fc4_high_c      19
     2020-10-19 11:02:03   fc4_icon        mostlycloudy
     2020-10-19 11:02:03   fc4_iconAPI     28
     2020-10-19 11:02:03   fc4_low_c       13
     2020-10-19 11:02:03   fc4_moonPhase   zunehmender Sichelmond
     2020-10-19 11:02:03   fc4_moonPhaseCode WXC
     2020-10-19 11:02:03   fc4_moonPhaseDay 6
     2020-10-19 11:02:03   fc4_moonriseTime
     2020-10-19 11:02:03   fc4_moonsetTime
     2020-10-19 11:02:03   fc4_narrative   Meistens bedeckt. Höchsttemperaturen 18 bis 20C und Tiefsttemperaturen 12 bis 14C.
     2020-10-19 11:02:03   fc4_precipProbability 2.23
     2020-10-19 11:02:03   fc4_precipProbabilitySnow 0
     2020-10-19 11:02:03   fc4_sunriseTime
     2020-10-19 11:02:03   fc4_sunsetTime 
     2020-10-19 11:02:03   fc4_tempHigh    19
     2020-10-19 11:02:03   fc4_tempLow     13
     2020-10-19 11:02:03   fc4_uvIndex     1
     2020-10-19 11:02:03   fc5_cloudCover  85
     2020-10-19 11:02:03   fc5_code        11
     2020-10-19 11:02:03   fc5_codeExtend  1100
     2020-10-19 11:02:03   fc5_condition   Schauer
     2020-10-19 11:02:03   fc5_day_of_week Freitag
     2020-10-19 11:02:03   fc5_high_c      16
     2020-10-19 11:02:03   fc5_icon        chance_of_rain
     2020-10-19 11:02:03   fc5_iconAPI     11
     2020-10-19 11:02:03   fc5_low_c       9
     2020-10-19 11:02:03   fc5_moonPhase   erstes Viertel
     2020-10-19 11:02:03   fc5_moonPhaseCode FQ
     2020-10-19 11:02:03   fc5_moonPhaseDay 7
     2020-10-19 11:02:03   fc5_moonriseTime
     2020-10-19 11:02:03   fc5_moonsetTime
     2020-10-19 11:02:03   fc5_narrative   Schauer. Höchsttemperaturen 15 bis 17C und Tiefsttemperaturen 8 bis 10C.
     2020-10-19 11:02:03   fc5_precipProbability 3.57
     2020-10-19 11:02:03   fc5_precipProbabilitySnow 0
     2020-10-19 11:02:03   fc5_sunriseTime
     2020-10-19 11:02:03   fc5_sunsetTime 
     2020-10-19 11:02:03   fc5_tempHigh    16
     2020-10-19 11:02:03   fc5_tempLow     9
     2020-10-19 11:02:03   fc5_uvIndex     1
     2020-10-19 11:02:03   fc6_cloudCover  52
     2020-10-19 11:02:03   fc6_code        30
     2020-10-19 11:02:03   fc6_codeExtend  3000
     2020-10-19 11:02:03   fc6_condition   Wolkig
     2020-10-19 11:02:03   fc6_day_of_week Samstag
     2020-10-19 11:02:03   fc6_high_c      15
     2020-10-19 11:02:03   fc6_icon        partly_cloudy
     2020-10-19 11:02:03   fc6_iconAPI     30
     2020-10-19 11:02:03   fc6_low_c       8
     2020-10-19 11:02:03   fc6_moonPhase   zunehmender Halbmond
     2020-10-19 11:02:03   fc6_moonPhaseCode WXG
     2020-10-19 11:02:03   fc6_moonPhaseDay 8
     2020-10-19 11:02:03   fc6_moonriseTime
     2020-10-19 11:02:03   fc6_moonsetTime
     2020-10-19 11:02:03   fc6_narrative   Teilweise bedeckt. Höchsttemperaturen 14 bis 16C und Tiefsttemperaturen 7 bis 9C.
     2020-10-19 11:02:03   fc6_precipProbability 0
     2020-10-19 11:02:03   fc6_precipProbabilitySnow 0
     2020-10-19 11:02:03   fc6_sunriseTime
     2020-10-19 11:02:03   fc6_sunsetTime 
     2020-10-19 11:02:03   fc6_tempHigh    15
     2020-10-19 11:02:03   fc6_tempLow     8
     2020-10-19 11:02:03   fc6_uvIndex     2
     2020-10-19 11:02:03   heatIndex       12
     2020-10-19 11:02:03   hfc10_cloudCover 61
     2020-10-19 11:02:03   hfc10_code      11
     2020-10-19 11:02:03   hfc10_codeExtend 1100
     2020-10-19 11:02:03   hfc10_condition Schauer
     2020-10-19 11:02:03   hfc10_dayOrNight N
     2020-10-19 11:02:03   hfc10_day_of_week Freitagnacht
     2020-10-19 11:02:03   hfc10_heatIndex 14
     2020-10-19 11:02:03   hfc10_humidity  92
     2020-10-19 11:02:03   hfc10_icon      chance_of_rain
     2020-10-19 11:02:03   hfc10_iconAPI   11
     2020-10-19 11:02:03   hfc10_narrative Schauer. Tiefsttemperatur 9C. Wind aus SW und wechselhaft. Regenrisiko 40 %.
     2020-10-19 11:02:03   hfc10_precipChance 40
     2020-10-19 11:02:03   hfc10_precipProbability 1.3
     2020-10-19 11:02:03   hfc10_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc10_precipType rain
     2020-10-19 11:02:03   hfc10_snowRange
     2020-10-19 11:02:03   hfc10_temp_c    9
     2020-10-19 11:02:03   hfc10_temperature 9
     2020-10-19 11:02:03   hfc10_thunderIndex 0
     2020-10-19 11:02:03   hfc10_uvDescription Niedrig
     2020-10-19 11:02:03   hfc10_uvIndex   0
     2020-10-19 11:02:03   hfc10_wind      9
     2020-10-19 11:02:03   hfc10_windPhrase Wind aus SW und wechselhaft.
     2020-10-19 11:02:03   hfc10_wind_chill 9
     2020-10-19 11:02:03   hfc10_wind_condition Wind: SW 9 km/h
     2020-10-19 11:02:03   hfc10_wind_direction 228
     2020-10-19 11:02:03   hfc10_wind_directionCardinal SW
     2020-10-19 11:02:03   hfc10_wind_speed 9
     2020-10-19 11:02:03   hfc10_wxPhraseShort
     2020-10-19 11:02:03   hfc11_cloudCover 52
     2020-10-19 11:02:03   hfc11_code      30
     2020-10-19 11:02:03   hfc11_codeExtend 3000
     2020-10-19 11:02:03   hfc11_condition Wolkig
     2020-10-19 11:02:03   hfc11_dayOrNight D
     2020-10-19 11:02:03   hfc11_day_of_week Samstag
     2020-10-19 11:02:03   hfc11_heatIndex 15
     2020-10-19 11:02:03   hfc11_humidity  79
     2020-10-19 11:02:03   hfc11_icon      partly_cloudy
     2020-10-19 11:02:03   hfc11_iconAPI   30
     2020-10-19 11:02:03   hfc11_narrative Teilweise bedeckt. Höchsttemperatur 15C. Wind aus SW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc11_precipChance 20
     2020-10-19 11:02:03   hfc11_precipProbability 0
     2020-10-19 11:02:03   hfc11_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc11_precipType rain
     2020-10-19 11:02:03   hfc11_snowRange
     2020-10-19 11:02:03   hfc11_temp_c    15
     2020-10-19 11:02:03   hfc11_temperature 15
     2020-10-19 11:02:03   hfc11_thunderIndex 0
     2020-10-19 11:02:03   hfc11_uvDescription Niedrig
     2020-10-19 11:02:03   hfc11_uvIndex   2
     2020-10-19 11:02:03   hfc11_wind      10
     2020-10-19 11:02:03   hfc11_windPhrase Wind aus SW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc11_wind_chill 9
     2020-10-19 11:02:03   hfc11_wind_condition Wind: SW 10 km/h
     2020-10-19 11:02:03   hfc11_wind_direction 231
     2020-10-19 11:02:03   hfc11_wind_directionCardinal SW
     2020-10-19 11:02:03   hfc11_wind_speed 10
     2020-10-19 11:02:03   hfc11_wxPhraseShort
     2020-10-19 11:02:03   hfc12_cloudCover 38
     2020-10-19 11:02:03   hfc12_code      29
     2020-10-19 11:02:03   hfc12_codeExtend 2900
     2020-10-19 11:02:03   hfc12_condition Wolkig
     2020-10-19 11:02:03   hfc12_dayOrNight N
     2020-10-19 11:02:03   hfc12_day_of_week Samstagnacht
     2020-10-19 11:02:03   hfc12_heatIndex 13
     2020-10-19 11:02:03   hfc12_humidity  87
     2020-10-19 11:02:03   hfc12_icon      partly_cloudy_night
     2020-10-19 11:02:03   hfc12_iconAPI   29
     2020-10-19 11:02:03   hfc12_narrative Teilweise bedeckt. Tiefsttemperatur 8C. Wind aus SSO und wechselhaft.
     2020-10-19 11:02:03   hfc12_precipChance 10
     2020-10-19 11:02:03   hfc12_precipProbability 0
     2020-10-19 11:02:03   hfc12_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc12_precipType rain
     2020-10-19 11:02:03   hfc12_snowRange
     2020-10-19 11:02:03   hfc12_temp_c    8
     2020-10-19 11:02:03   hfc12_temperature 8
     2020-10-19 11:02:03   hfc12_thunderIndex 0
     2020-10-19 11:02:03   hfc12_uvDescription Niedrig
     2020-10-19 11:02:03   hfc12_uvIndex   0
     2020-10-19 11:02:03   hfc12_wind      6
     2020-10-19 11:02:03   hfc12_windPhrase Wind aus SSO und wechselhaft.
     2020-10-19 11:02:03   hfc12_wind_chill 8
     2020-10-19 11:02:03   hfc12_wind_condition Wind: SSO 6 km/h
     2020-10-19 11:02:03   hfc12_wind_direction 165
     2020-10-19 11:02:03   hfc12_wind_directionCardinal SSO
     2020-10-19 11:02:03   hfc12_wind_speed 6
     2020-10-19 11:02:03   hfc12_wxPhraseShort
     2020-10-19 11:02:03   hfc1_cloudCover 44
     2020-10-19 11:02:03   hfc1_code       30
     2020-10-19 11:02:03   hfc1_codeExtend 3000
     2020-10-19 11:02:03   hfc1_condition  Wolkig
     2020-10-19 11:02:03   hfc1_dayOrNight D
     2020-10-19 11:02:03   hfc1_day_of_week Heute
     2020-10-19 11:02:03   hfc1_heatIndex  12
     2020-10-19 11:02:03   hfc1_humidity   67
     2020-10-19 11:02:03   hfc1_icon       partly_cloudy
     2020-10-19 11:02:03   hfc1_iconAPI    30
     2020-10-19 11:02:03   hfc1_narrative  Teilweise bedeckt. Höchsttemperatur 12C. Wind aus S und wechselhaft.
     2020-10-19 11:02:03   hfc1_precipChance 20
     2020-10-19 11:02:03   hfc1_precipProbability 0
     2020-10-19 11:02:03   hfc1_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc1_precipType rain
     2020-10-19 11:02:03   hfc1_snowRange 
     2020-10-19 11:02:03   hfc1_temp_c     12
     2020-10-19 11:02:03   hfc1_temperature 12
     2020-10-19 11:02:03   hfc1_thunderIndex 0
     2020-10-19 11:02:03   hfc1_uvDescription Niedrig
     2020-10-19 11:02:03   hfc1_uvIndex    2
     2020-10-19 11:02:03   hfc1_wind       5
     2020-10-19 11:02:03   hfc1_windPhrase Wind aus S und wechselhaft.
     2020-10-19 11:02:03   hfc1_wind_chill 10
     2020-10-19 11:02:03   hfc1_wind_condition Wind: S 5 km/h
     2020-10-19 11:02:03   hfc1_wind_direction 178
     2020-10-19 11:02:03   hfc1_wind_directionCardinal S
     2020-10-19 11:02:03   hfc1_wind_speed 5
     2020-10-19 11:02:03   hfc1_wxPhraseShort
     2020-10-19 11:02:03   hfc2_cloudCover 58
     2020-10-19 11:02:03   hfc2_code       29
     2020-10-19 11:02:03   hfc2_codeExtend 2900
     2020-10-19 11:02:03   hfc2_condition  Wolkig
     2020-10-19 11:02:03   hfc2_dayOrNight N
     2020-10-19 11:02:03   hfc2_day_of_week Heute Abend
     2020-10-19 11:02:03   hfc2_heatIndex  9
     2020-10-19 11:02:03   hfc2_humidity   79
     2020-10-19 11:02:03   hfc2_icon       partly_cloudy_night
     2020-10-19 11:02:03   hfc2_iconAPI    29
     2020-10-19 11:02:03   hfc2_narrative  Teilweise bedeckt. Tiefsttemperatur 4C. Wind aus OSO und wechselhaft.
     2020-10-19 11:02:03   hfc2_precipChance 10
     2020-10-19 11:02:03   hfc2_precipProbability 0
     2020-10-19 11:02:03   hfc2_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc2_precipType precip
     2020-10-19 11:02:03   hfc2_snowRange 
     2020-10-19 11:02:03   hfc2_temp_c     4
     2020-10-19 11:02:03   hfc2_temperature 4
     2020-10-19 11:02:03   hfc2_thunderIndex 0
     2020-10-19 11:02:03   hfc2_uvDescription Niedrig
     2020-10-19 11:02:03   hfc2_uvIndex    0
     2020-10-19 11:02:03   hfc2_wind       9
     2020-10-19 11:02:03   hfc2_windPhrase Wind aus OSO und wechselhaft.
     2020-10-19 11:02:03   hfc2_wind_chill 3
     2020-10-19 11:02:03   hfc2_wind_condition Wind: OSO 9 km/h
     2020-10-19 11:02:03   hfc2_wind_direction 121
     2020-10-19 11:02:03   hfc2_wind_directionCardinal OSO
     2020-10-19 11:02:03   hfc2_wind_speed 9
     2020-10-19 11:02:03   hfc2_wxPhraseShort
     2020-10-19 11:02:03   hfc3_cloudCover 74
     2020-10-19 11:02:03   hfc3_code       28
     2020-10-19 11:02:03   hfc3_codeExtend 2800
     2020-10-19 11:02:03   hfc3_condition  Stark bewölkt
     2020-10-19 11:02:03   hfc3_dayOrNight D
     2020-10-19 11:02:03   hfc3_day_of_week Morgen
     2020-10-19 11:02:03   hfc3_heatIndex  16
     2020-10-19 11:02:03   hfc3_humidity   66
     2020-10-19 11:02:03   hfc3_icon       mostlycloudy
     2020-10-19 11:02:03   hfc3_iconAPI    28
     2020-10-19 11:02:03   hfc3_narrative  Meistens bedeckt. Höchsttemperatur 17C. Wind aus S mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc3_precipChance 10
     2020-10-19 11:02:03   hfc3_precipProbability 0
     2020-10-19 11:02:03   hfc3_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc3_precipType rain
     2020-10-19 11:02:03   hfc3_snowRange 
     2020-10-19 11:02:03   hfc3_temp_c     17
     2020-10-19 11:02:03   hfc3_temperature 17
     2020-10-19 11:02:03   hfc3_thunderIndex 0
     2020-10-19 11:02:03   hfc3_uvDescription Niedrig
     2020-10-19 11:02:03   hfc3_uvIndex    2
     2020-10-19 11:02:03   hfc3_wind       11
     2020-10-19 11:02:03   hfc3_windPhrase Wind aus S mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc3_wind_chill 4
     2020-10-19 11:02:03   hfc3_wind_condition Wind: S 11 km/h
     2020-10-19 11:02:03   hfc3_wind_direction 172
     2020-10-19 11:02:03   hfc3_wind_directionCardinal S
     2020-10-19 11:02:03   hfc3_wind_speed 11
     2020-10-19 11:02:03   hfc3_wxPhraseShort
     2020-10-19 11:02:03   hfc4_cloudCover 94
     2020-10-19 11:02:03   hfc4_code       26
     2020-10-19 11:02:03   hfc4_codeExtend 2600
     2020-10-19 11:02:03   hfc4_condition  Bedeckt
     2020-10-19 11:02:03   hfc4_dayOrNight N
     2020-10-19 11:02:03   hfc4_day_of_week Morgen Abend
     2020-10-19 11:02:03   hfc4_heatIndex  14
     2020-10-19 11:02:03   hfc4_humidity   72
     2020-10-19 11:02:03   hfc4_icon       cloudy
     2020-10-19 11:02:03   hfc4_iconAPI    26
     2020-10-19 11:02:03   hfc4_narrative  Bedeckt. Tiefsttemperatur 11C. Wind aus S und wechselhaft.
     2020-10-19 11:02:03   hfc4_precipChance 20
     2020-10-19 11:02:03   hfc4_precipProbability 0
     2020-10-19 11:02:03   hfc4_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc4_precipType rain
     2020-10-19 11:02:03   hfc4_snowRange 
     2020-10-19 11:02:03   hfc4_temp_c     11
     2020-10-19 11:02:03   hfc4_temperature 11
     2020-10-19 11:02:03   hfc4_thunderIndex 0
     2020-10-19 11:02:03   hfc4_uvDescription Niedrig
     2020-10-19 11:02:03   hfc4_uvIndex    0
     2020-10-19 11:02:03   hfc4_wind       9
     2020-10-19 11:02:03   hfc4_windPhrase Wind aus S und wechselhaft.
     2020-10-19 11:02:03   hfc4_wind_chill 11
     2020-10-19 11:02:03   hfc4_wind_condition Wind: S 9 km/h
     2020-10-19 11:02:03   hfc4_wind_direction 170
     2020-10-19 11:02:03   hfc4_wind_directionCardinal S
     2020-10-19 11:02:03   hfc4_wind_speed 9
     2020-10-19 11:02:03   hfc4_wxPhraseShort
     2020-10-19 11:02:03   hfc5_cloudCover 71
     2020-10-19 11:02:03   hfc5_code       28
     2020-10-19 11:02:03   hfc5_codeExtend 2800
     2020-10-19 11:02:03   hfc5_condition  Stark bewölkt
     2020-10-19 11:02:03   hfc5_dayOrNight D
     2020-10-19 11:02:03   hfc5_day_of_week Mittwoch
     2020-10-19 11:02:03   hfc5_heatIndex  18
     2020-10-19 11:02:03   hfc5_humidity   59
     2020-10-19 11:02:03   hfc5_icon       mostlycloudy
     2020-10-19 11:02:03   hfc5_iconAPI    28
     2020-10-19 11:02:03   hfc5_narrative  Meistens bedeckt. Höchsttemperatur 19C. Wind aus S mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc5_precipChance 20
     2020-10-19 11:02:03   hfc5_precipProbability 0
     2020-10-19 11:02:03   hfc5_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc5_precipType rain
     2020-10-19 11:02:03   hfc5_snowRange 
     2020-10-19 11:02:03   hfc5_temp_c     19
     2020-10-19 11:02:03   hfc5_temperature 19
     2020-10-19 11:02:03   hfc5_thunderIndex 0
     2020-10-19 11:02:03   hfc5_uvDescription Niedrig
     2020-10-19 11:02:03   hfc5_uvIndex    2
     2020-10-19 11:02:03   hfc5_wind       16
     2020-10-19 11:02:03   hfc5_windPhrase Wind aus S mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc5_wind_chill 11
     2020-10-19 11:02:03   hfc5_wind_condition Wind: S 16 km/h
     2020-10-19 11:02:03   hfc5_wind_direction 174
     2020-10-19 11:02:03   hfc5_wind_directionCardinal S
     2020-10-19 11:02:03   hfc5_wind_speed 16
     2020-10-19 11:02:03   hfc5_wxPhraseShort
     2020-10-19 11:02:03   hfc6_cloudCover 66
     2020-10-19 11:02:03   hfc6_code       27
     2020-10-19 11:02:03   hfc6_codeExtend 2700
     2020-10-19 11:02:03   hfc6_condition  Stark bewölkt
     2020-10-19 11:02:03   hfc6_dayOrNight N
     2020-10-19 11:02:03   hfc6_day_of_week Mittwochnacht
     2020-10-19 11:02:03   hfc6_heatIndex  18
     2020-10-19 11:02:03   hfc6_humidity   65
     2020-10-19 11:02:03   hfc6_icon       mostlycloudy_night
     2020-10-19 11:02:03   hfc6_iconAPI    27
     2020-10-19 11:02:03   hfc6_narrative  Meistens bedeckt. Tiefsttemperatur 13C. Wind aus SSW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc6_precipChance 10
     2020-10-19 11:02:03   hfc6_precipProbability 0
     2020-10-19 11:02:03   hfc6_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc6_precipType rain
     2020-10-19 11:02:03   hfc6_snowRange 
     2020-10-19 11:02:03   hfc6_temp_c     13
     2020-10-19 11:02:03   hfc6_temperature 13
     2020-10-19 11:02:03   hfc6_thunderIndex 0
     2020-10-19 11:02:03   hfc6_uvDescription Niedrig
     2020-10-19 11:02:03   hfc6_uvIndex    0
     2020-10-19 11:02:03   hfc6_wind       14
     2020-10-19 11:02:03   hfc6_windPhrase Wind aus SSW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc6_wind_chill 13
     2020-10-19 11:02:03   hfc6_wind_condition Wind: SSW 14 km/h
     2020-10-19 11:02:03   hfc6_wind_direction 200
     2020-10-19 11:02:03   hfc6_wind_directionCardinal SSW
     2020-10-19 11:02:03   hfc6_wind_speed 14
     2020-10-19 11:02:03   hfc6_wxPhraseShort
     2020-10-19 11:02:03   hfc7_cloudCover 76
     2020-10-19 11:02:03   hfc7_code       28
     2020-10-19 11:02:03   hfc7_codeExtend 2800
     2020-10-19 11:02:03   hfc7_condition  Stark bewölkt
     2020-10-19 11:02:03   hfc7_dayOrNight D
     2020-10-19 11:02:03   hfc7_day_of_week Donnerstag
     2020-10-19 11:02:03   hfc7_heatIndex  18
     2020-10-19 11:02:03   hfc7_humidity   66
     2020-10-19 11:02:03   hfc7_icon       mostlycloudy
     2020-10-19 11:02:03   hfc7_iconAPI    28
     2020-10-19 11:02:03   hfc7_narrative  Meistens bedeckt. Höchsttemperatur 19C. Wind aus SSW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc7_precipChance 20
     2020-10-19 11:02:03   hfc7_precipProbability 0
     2020-10-19 11:02:03   hfc7_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc7_precipType rain
     2020-10-19 11:02:03   hfc7_snowRange 
     2020-10-19 11:02:03   hfc7_temp_c     19
     2020-10-19 11:02:03   hfc7_temperature 19
     2020-10-19 11:02:03   hfc7_thunderIndex 0
     2020-10-19 11:02:03   hfc7_uvDescription Niedrig
     2020-10-19 11:02:03   hfc7_uvIndex    1
     2020-10-19 11:02:03   hfc7_wind       15
     2020-10-19 11:02:03   hfc7_windPhrase Wind aus SSW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc7_wind_chill 13
     2020-10-19 11:02:03   hfc7_wind_condition Wind: SSW 15 km/h
     2020-10-19 11:02:03   hfc7_wind_direction 201
     2020-10-19 11:02:03   hfc7_wind_directionCardinal SSW
     2020-10-19 11:02:03   hfc7_wind_speed 15
     2020-10-19 11:02:03   hfc7_wxPhraseShort
     2020-10-19 11:02:03   hfc8_cloudCover 91
     2020-10-19 11:02:03   hfc8_code       11
     2020-10-19 11:02:03   hfc8_codeExtend 1100
     2020-10-19 11:02:03   hfc8_condition  Schauer
     2020-10-19 11:02:03   hfc8_dayOrNight N
     2020-10-19 11:02:03   hfc8_day_of_week Donnerstagnacht
     2020-10-19 11:02:03   hfc8_heatIndex  17
     2020-10-19 11:02:03   hfc8_humidity   82
     2020-10-19 11:02:03   hfc8_icon       chance_of_rain
     2020-10-19 11:02:03   hfc8_iconAPI    11
     2020-10-19 11:02:03   hfc8_narrative  Schauer. Tiefsttemperatur 13C. Wind aus SSW mit 10 bis 15 km/h. Regenrisiko 50 %.
     2020-10-19 11:02:03   hfc8_precipChance 50
     2020-10-19 11:02:03   hfc8_precipProbability 2.23
     2020-10-19 11:02:03   hfc8_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc8_precipType rain
     2020-10-19 11:02:03   hfc8_snowRange 
     2020-10-19 11:02:03   hfc8_temp_c     13
     2020-10-19 11:02:03   hfc8_temperature 13
     2020-10-19 11:02:03   hfc8_thunderIndex 0
     2020-10-19 11:02:03   hfc8_uvDescription Niedrig
     2020-10-19 11:02:03   hfc8_uvIndex    0
     2020-10-19 11:02:03   hfc8_wind       12
     2020-10-19 11:02:03   hfc8_windPhrase Wind aus SSW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc8_wind_chill 12
     2020-10-19 11:02:03   hfc8_wind_condition Wind: SSW 12 km/h
     2020-10-19 11:02:03   hfc8_wind_direction 205
     2020-10-19 11:02:03   hfc8_wind_directionCardinal SSW
     2020-10-19 11:02:03   hfc8_wind_speed 12
     2020-10-19 11:02:03   hfc8_wxPhraseShort
     2020-10-19 11:02:03   hfc9_cloudCover 85
     2020-10-19 11:02:03   hfc9_code       11
     2020-10-19 11:02:03   hfc9_codeExtend 1100
     2020-10-19 11:02:03   hfc9_condition  Schauer
     2020-10-19 11:02:03   hfc9_dayOrNight D
     2020-10-19 11:02:03   hfc9_day_of_week Freitag
     2020-10-19 11:02:03   hfc9_heatIndex  16
     2020-10-19 11:02:03   hfc9_humidity   85
     2020-10-19 11:02:03   hfc9_icon       chance_of_rain
     2020-10-19 11:02:03   hfc9_iconAPI    11
     2020-10-19 11:02:03   hfc9_narrative  Schauer. Höchsttemperatur 16C. Wind aus SW mit 10 bis 15 km/h. Regenrisiko 50 %.
     2020-10-19 11:02:03   hfc9_precipChance 50
     2020-10-19 11:02:03   hfc9_precipProbability 2.27
     2020-10-19 11:02:03   hfc9_precipProbabilitySnow 0
     2020-10-19 11:02:03   hfc9_precipType rain
     2020-10-19 11:02:03   hfc9_snowRange 
     2020-10-19 11:02:03   hfc9_temp_c     16
     2020-10-19 11:02:03   hfc9_temperature 16
     2020-10-19 11:02:03   hfc9_thunderIndex 0
     2020-10-19 11:02:03   hfc9_uvDescription Niedrig
     2020-10-19 11:02:03   hfc9_uvIndex    1
     2020-10-19 11:02:03   hfc9_wind       13
     2020-10-19 11:02:03   hfc9_windPhrase Wind aus SW mit 10 bis 15 km/h.
     2020-10-19 11:02:03   hfc9_wind_chill 12
     2020-10-19 11:02:03   hfc9_wind_condition Wind: SW 13 km/h
     2020-10-19 11:02:03   hfc9_wind_direction 224
     2020-10-19 11:02:03   hfc9_wind_directionCardinal SW
     2020-10-19 11:02:03   hfc9_wind_speed 13
     2020-10-19 11:02:03   hfc9_wxPhraseShort
     2020-10-19 11:02:03   humidity        73
     2020-10-19 11:02:03   icon            partly_cloudy
     2020-10-19 11:02:03   iconAPI         30
     2020-10-19 11:02:03   lastError       
     2020-10-19 11:02:03   lat             49.97347
     2020-10-19 11:02:03   long            8.80801
     2020-10-19 11:02:03   precipRate      0
     2020-10-19 11:02:03   precipTotal     0
     2020-10-19 11:02:03   pressure        1019
     2020-10-19 11:02:03   pubDate         
     2020-10-19 11:02:03   pwsCountry      DE
     2020-10-19 11:02:03   pwsElevation    365
     2020-10-19 11:02:03   pwsLat          48.559
     2020-10-19 11:02:03   pwsLon          9.202
     2020-10-19 11:02:03   pwsNeighborhood Pliezhausen
     2020-10-19 11:02:03   pwsQcStatus     1
     2020-10-19 11:02:03   pwsStationID    IPLIEZ3
     2020-10-19 11:02:03   state           T: 12 °C F: 73 % W: 2 km/h P: 1019 hPa
     2020-10-19 11:02:03   status          ok
     2020-10-19 11:02:03   temp_c          12
     2020-10-19 11:02:03   temperature     12
     2020-10-19 11:02:03   uvIndex         2
     2020-10-19 11:02:03   validity        up-to-date
     2020-10-19 11:02:03   wind            2
     2020-10-19 11:02:03   windGust        2
     2020-10-19 11:02:03   wind_chill      12
     2020-10-19 11:02:03   wind_condition  Wind: SO 2 km/h
     2020-10-19 11:02:03   wind_direction  135
     2020-10-19 11:02:03   wind_speed      2


Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

thburkhart

#377
ZitatWenn Du immer mehr weitere Readings brauchst, warum nimmst Du nicht einfach das Modul Weather.  Damit hättest Du mit nur einer Zeile (das "define") folgende Readings alle auf einmal:

ok gerne ...
wie sieht dafür ein define Muster aus?

statt
define WU_IPLIEZ3 HTTPMOD https://api.weather.com/v2/pws/observations/current?apiKey=4beabe9e6ef742feaabe9e6ef742fe11&units=m&stationId=IPLIEZ3&format=xml

also
define WU_IPLIEZ3 Weather API=wundergroundAPI,stationId:IPLIEZ3 apikey=4beabe9e6ef742feaabe9e6ef742fe11 location=48.559,9.202 interval=3600 lang=de
?

das liefert mir nur:

Internals:
   API        wundergroundAPI
   APIKEY     4beabe9e6ef742feaabe9e6ef742fe11
   APIOPTIONS stationId:IPLIEZ3
   DEF        API=wundergroundAPI,stationId:IPLIEZ3 apikey=4beabe9e6ef742feaabe9e6ef742fe11 location=48.559,9.202 interval=3600 lang=de[
   FUUID      5f8d6987-f33f-21fb-129a-4c9abc3fed9ef5d1
   FVERSION   59_Weather.pm:v2.1.3-s21117/2020-02-04
   INTERVAL   3600
   LANG       de[
   MODEL      wundergroundAPI
   NAME       WU_IPLIEZ_3
   NOTIFYDEV  global
   NR         802
   NTFY_ORDER 50-WU_IPLIEZ_3
   STATE      API Maintainer: Julian Pawlowski (loredo) ErrorMsg: Forecast data is not in JSON format
   TYPE       Weather
   VERSION    v2.1.3
   READINGS:
     2020-10-19 12:26:58   apiMaintainer   Julian Pawlowski (loredo)
     2020-10-19 12:26:58   apiVersion      1.000001
     2020-10-19 12:26:58   current_date_time Do,  1 Jan 1970 01:00
     2020-10-19 12:26:58   lastError       Forecast data is not in JSON format
     2020-10-19 12:26:58   lat             48.559
     2020-10-19 12:26:58   long            9.202
     2020-10-19 12:26:58   state           API Maintainer: Julian Pawlowski (loredo) ErrorMsg: Forecast data is not in JSON format
     2020-10-19 12:26:58   status          Forecast data is not in JSON format
     2020-10-19 12:26:58   validity        stale
   fhem:
     LOCATION   48.559,9.202
     allowCache 1
     interfaces temperature;humidity;wind
Attributes:
1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

amenomade

#378
defmod WU_IPLIEZ_3 Weather API=wundergroundAPI,stationId:IPLIEZ3 apikey=4beabe9e6ef742feaabe9e6ef742fe11

reicht schon.

Die restliche Attribute findest Du im CommandRef
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

thburkhart

1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

Medel

Hallo,

wie kann ich die Temperaturanzeigen mit dezimal stelle bekommen. Bei mir werden nur ganzzahlige Werte angezeigt. Bei einer direkten Abfrage der JSON Daten muss ich da den Parameter "numericPrecision=decimal" mit angeben. Kann man das bei dem Modul irgendwie machen (API Option)?.

Gruß

Medel

Frank_Huber

Moin Moin,

Kurze Frage zum Verständnis, der Wert "UVindex" was sagt der denn aus? (nicht der fc oder hfc)
Ich wundere mich dass der Wert auch nachts oben bleibt. der aktuelle index müsste doch nachts auf 0 fallen ohne Sonneneinstrahlung.
Er bleibt aber oben und hat sogar teilweise nachts seinen Höhepunkt.

im Anhang ein Plot der letzten Tage.

Danke & Grüße
Frank

stefanru

Hi,

UV Index sollte Nachts 0 sein
Der UV Index geht von 0 bis 11 und wird bei meiner Wetterstation von den LUX abgeleitet. (siehe Bild).

Was für eine Station hast du denn da? In einer anderen Zeitzone?

Gruß,
Stefan



Frank_Huber

Mahlzeit,

Nachts Null hätte ich auch erwartet.
die Daten kommen von WUnderground. meine Bresser 5in1 liefert kein UV.

defmod Wunderground_W12 Weather API=wundergroundAPI,stationId:IKARLS178 apikey=topsecretapikeyifitellyouihavetokillyou interval=600

stefanru

Hi Frank,

das ist interessant.
Ich weiß nicht was die API dir da liefert oder ob es ein fehler ist wenn nichts geliefert wird im parsen.
Die Station hat kein UV, siehe:
https://www.wunderground.com/dashboard/pws/IKARLS178


Gruß,
Stefan

yreiser

Ich habe das weather-Modul heute zum ersten Mal getestet. Funktioniert soweit auch... allerdings aktualisieren sich weder das 'current_date_time' noch das 'pubDate' reading, auch nicht nach einem 'set update'. Nur nach einem neuen defmod gibt es hier die aktuellen Daten. Ist das so normal oder mache ich da was falsch?

Persuasiv

Zitatwie kann ich die Temperaturanzeigen mit dezimal stelle bekommen. Bei mir werden nur ganzzahlige Werte angezeigt.

Das würde mich auch interessieren. Gibt es dafür eine Lösung?

GuraxUbrax

Hallo zusammen,

kann es sein, dass die API von Wunderground nicht mehr funktioniert? Im Netz und auf deren Seite finde ich nichts zu dem Thema.
Seit kurzem kommt:

Access Denied
You don't have permission to access "http://api.weather.com/v2/pws/observations/current?" on this server.
bzw.
You don't have permission to access "http://api.weather.com/v3/wx/observations/current?"

Wenn der API-Key falsch ist kommt normalerweise, dass der Invalid ist. Ich habe da auch irgendeinen immer bisher genutzt.

Hat sich die API geändert oder prüfen die jetzt hart auf korrekte API-Keys?

ch.eick

#388
Zitat von: GuraxUbrax am 03 November 2022, 13:21:38
Hat sich die API geändert oder prüfen die jetzt hart auf korrekte API-Keys?
Das scheint so, ich bekomme da auch einen Fehler.

Allerdings parse ich schon immer ohne die API, das liefert zumindest die Basis Daten, die ich brauche.

https://www.wunderground.com/dashboard/pws/<Station>



defmod wetter_I HTTPMOD https://www.wunderground.com/dashboard/pws/<Station> 900
attr wetter_I userattr reading08OExpr reading10OExpr reading12OExpr reading15OMap
attr wetter_I DbLogExclude .*
attr wetter_I DbLogInclude solarRadiation,solarUV,temperature
attr wetter_I alias wetter_wolfskehlen_II
attr wetter_I enableControlSet 1
attr wetter_I event-on-change-reading solarRadiation,solarUV,temperature
attr wetter_I group ASC Environment
attr wetter_I icon weather_sunrise
attr wetter_I reading01Name date
attr wetter_I reading01Regex Summary<.*>([[:alpha:]]{1,9} [\d]{1,2}, [\d]{4})<\/strong
attr wetter_I reading02Format %.1f
attr wetter_I reading02Name dewpointTemperature
attr wetter_I reading02OExpr UConv::f2c($val,2)
attr wetter_I reading02Regex DEWPOINT.*>([\d\.]+)<\/span>.*PRECIP RATE
attr wetter_I reading03Name dewpointTemperature_EN
attr wetter_I reading03Regex DEWPOINT.*>([\d\.]+)<\/span>.*PRECIP RATE
attr wetter_I reading04Format %.0f
attr wetter_I reading04Name humidity
attr wetter_I reading04Regex HUMIDITY.*>([\d\.]+)<.*WIND
attr wetter_I reading05Name precip1hrmetric
attr wetter_I reading05Regex PRECIP RATE.*>([\d\.]+)<.*PRECIP TOTAL
attr wetter_I reading06Name preciptodaymetric
attr wetter_I reading06Regex PRECIP TOTAL.*>([\d\.]+)<.*tile-precipitation
attr wetter_I reading07Format %.2f
attr wetter_I reading07Name pressure
attr wetter_I reading07OExpr UConv::inhg2hpa($val,2)
attr wetter_I reading07Regex CURRENT.*>([\d\.]+)<.*tile-pressure
attr wetter_I reading08Format %.2f
attr wetter_I reading08Name pressure_EN
attr wetter_I reading08Regex CURRENT.*>([\d\.]+)<.*tile-pressure
attr wetter_I reading09Name solarRadiation
attr wetter_I reading09Regex SOLAR RADIATION.*CURRENT.*weather__text">([\d\.]+)
attr wetter_I reading10Name solarUV
attr wetter_I reading10Regex CURRENT UV.*>([\d\.]+)<.*UV RISK
attr wetter_I reading11Format %.1f
attr wetter_I reading11Name temperature
attr wetter_I reading11OExpr UConv::f2c($val,2)
attr wetter_I reading11Regex Current Conditions.*">([- ]*[\d\.]+).*Feels Like
attr wetter_I reading12Format %.1f
attr wetter_I reading12Name temperature_EN
attr wetter_I reading12Regex Current Conditions.*">([- ]*[\d\.]+).*Feels Like
attr wetter_I reading13Format %.1f
attr wetter_I reading13Name windChill
attr wetter_I reading13OExpr UConv::f2c($val,2)
attr wetter_I reading13Regex Feels Like.*>([\d\.]+)<.*wind-dial__container
attr wetter_I reading14Format %.1f
attr wetter_I reading14Name windChill_EN
attr wetter_I reading14Regex Feels Like.*>([\d\.]+)<.*wind-dial__container
attr wetter_I reading15Name windDirection
attr wetter_I reading15OExpr UConv::compasspoint2compasspoint($val,"en",1,"de")
attr wetter_I reading15Regex WIND FROM.*>([NESW]+)<.*GUST
attr wetter_I reading16Name windDirection_EN
attr wetter_I reading16Regex WIND FROM.*>([NESW]+)<.*GUST
attr wetter_I reading17Format %.0f
attr wetter_I reading17Name windSpeed
attr wetter_I reading17OExpr UConv::mph2kph($val,1)
attr wetter_I reading17Regex wind-dial__container.*>([\d\.]+)<.*unit-speed
attr wetter_I reading18Name windSpeed_EN
attr wetter_I reading18Regex wind-dial__container.*>([\d\.]+)<.*unit-speed
attr wetter_I reading19Name windGust
attr wetter_I reading19OExpr UConv::mph2kph($val,1)
attr wetter_I reading19Regex GUST.*>([\d\.]+)<.*mph
attr wetter_I reading20Name windGust_EN
attr wetter_I reading20Regex GUST.*>([\d\.]+)<.*mph
attr wetter_I room Informationen->Wetter,Rollos
attr wetter_I sortby 03
attr wetter_I stateFormat T: temperature °C | F: humidity % | W: windSpeed km/h | D: pressure hPa | U: solarUV | R: solarRadiation W/m²
attr wetter_I timeout 5


Da ich das für meine Rollos verwende habe ich noch ein DOIF, dass mir einen Durchschnitt der solarRadiation und UV Werte bildet, dadurch bekomme ich aus der Nachbarschaft
einen schön gleichmäßigen Wert für die Abblendung der Rollos. In Verbindung mit dem Astro Modul bekomme ich zusätzlich noch einen Trigger für einen Raum, wenn es blendet.
Das hat zumindest schon mal diesen Sommer sehr gut in Verbindung mit dem AutoShutterModul funktioniert.

VG
    Christian
RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick

Persuasiv

@ch.eick

Ich habe das mal probiert und bei mir sind die metrischen Werte immer 0. Woran liegt das? temperature_EN wird aber beispielsweise richtig ausgelesen.