Neuigkeiten:

Am Sonntag den 8.12.2024 kann es ab ca. 8:00 Uhr zu kurzzeitigen Einschränkungen / Ausfällen bei den Diensten des FHEM Vereines kommen.
Die Server müssen mal gewartet und dabei neu gestartet werden ;)

Hauptmenü

Wetterstation: WEATHERMAN-Controller von Dr. Stall

Begonnen von bubu185, 22 März 2018, 18:59:56

Vorheriges Thema - Nächstes Thema

GU!DO

Hast Du mal versucht eine externe Antenne am ESP anzuschließen?

Ich hatte an meinem Weatherman Testplatz absolut kein Netz. Selbst als ich einen Unify-AP nach draußen gehangen habe waren nicht mehr als 6m drin.
Dann habe ich aus einem alten Router die Antenne ausgebaut und angeschlossen. Jetzt bläst das Ding wie Teufel.  :D

sn0000py

Mal ne Frage, wie schnell geht es bei euch eigentlich wenn ihr auf den Windsensor pustet das dann auch was angezeigt wird?

Mir kommt vor das kurze Windböen gar nicht ankommen (Wie wenn der Weatherman, zu selten die W132 abfragt?) kanns das sein?

Flachzange

Wenn ich es richtig im Kopf habe, kommen die Werte vom W132 nur minütlich

sn0000py

Ok das kommt hin ... ich dachte da kommen die werte Sofort wenn ein windstoss kommt, aber nun weiss ich das zumindest alles richtig zusammengebaut ist ;)

caldir65

Moin,

ich habe hier seit einiger Zeit jetzt den Weatherman Edition2 am Start, und bekomme auch wunderschön die Daten übertragen. Die meisten Readings kann ich auch schön "übersetzen", jedoch wird im Userreading "regenstunden_heute" nichts Sinnvolles erzeugt - Ich habe meine Bezeichnungen ja soweit angepaßt bekommen, nur bei diesem einen Punkt komme ich nicht weiter  :'(

Internals:
   CONNECTS   1097
   FD         4
   FUUID      5f0092c0-f33f-378b-5c61-7f99da4f64318d46
   FVERSION   93_Log2Syslog.pm:v5.12.2-s21947/2020-05-15
   INTERFACE  global
   MODEL      Collector v5.12.2
   MYFQDN     raspi-fhem.fritz.box
   MYHOST     raspi-fhem
   NAME       WM_Log
   NR         1921
   NTFY_ORDER 50-WM_Log
   PORT       13797
   PROFILE    raw
   PROTOCOL   tcp
   SEQNO      1098
   STATE      active
   TYPE       Log2Syslog
   HELPER:
     LTIME      1599395606
     OLDSEQNO   1097
     OLDSTATE   active
     PACKAGE    FHEM::Log2Syslog
     SSLALGO    n.a.
     SSLVER     n.a.
     TCPPADDR   192.168.1.71
     VERSION    5.12.2
   HIPCACHE:
     192.168.1.71 ESP-B62275.fritz.box
   OLDREADINGS:
   READINGS:
     2020-09-06 14:12:25   Aussentemperatur 0
     2020-09-06 14:33:49   MSG_ESP-B62275.fritz.box {"modultyp":"weatherman","vars":[{"name":"0","homematic_name":"w_ip","desc":"weatherman_ip","type":"string","unit":"","value":"192.168.1.71"},{"name":"1","homematic_name":"w_temperatur","desc":"aussentemperatur","type":"number","unit":"gradC","value":"17.6"},{"name":"21","homematic_name":"w_windchill","desc":"gefuehlte_temperatur","type":"number","unit":"gradC","value":"16.4"},{"name":"9","homematic_name":"w_taupunkt","desc":"taupunkt_temperatur","type":"number","unit":"gradC","value":"8.7"},{"name":"14","homematic_name":"w_himmeltemperatur","desc":"himmel_temperatur","type":"number","unit":"gradC","value":"0.0"},{"name":"2","homematic_name":"w_feuchte_rel","desc":"rel_feuchte","type":"number","unit":"%","value":"56.0"},{"name":"17","homematic_name":"w_feuchte_abs","desc":"abs_feuchte","type":"number","unit":"g/m3","value":"8.4"},{"name":"18","homematic_name":"w_regensensor_wert","desc":"regenmelderwert","type":"number","unit":"","value":"0"},{"name":"7","homematic_name":"w_regenmelder","desc":"regenstatus","type":"boolean","unit":"","value":"false"},{"name":"8","homematic_name":"w_regenstaerke","desc":"regenstaerke","type":"number","unit":"mm/h","value":"0.0"},{"name":"19","homematic_name":"w_regen_letzte_h","desc":"regen_pro_h","type":"number","unit":"mm","value":"0.0"},{"name":"20","homematic_name":"w_regen_mm_heute","desc":"regen_mm_heute","type":"number","unit":"mm","value":"0.0"},{"name":"32","homematic_name":"","desc":"regenstunden_heute","type":"number","unit":"h","value":"0.0"},{"name":"27","homematic_name":"w_regen_mm_gestern","desc":"regen_mm_gestern","type":"number","unit":"mm","value":"4.0"},{"name":"3","homematic_name":"w_barometer","desc":"nn_luftdruck","type":"number","unit":"mb","value":"1018.98"},{"name":"11","homematic_name":"w_barotrend","desc":"luftdrucktrend","type":"string","unit":"","value":"stabil"},{"name":"5","homematic_name":"w_wind_1min","desc":"windgeschwindigkeit_1min","type":"number","unit":"km/h","value":"32.4"},{"name":"4","homematic_name":"w_wind_10min","desc":"windgeschwindigkeit_10min","type":"number","unit":"km/h","value":"19.8"},{"name":"24","homematic_name":"w_windstaerke","desc":"bft_windgeschwindigkeit","type":"number","unit":"bft","value":"5"},{"name":"23","homematic_name":"w_windrichtung","desc":"windrichtung","type":"string","unit":"","value":"NORDWEST"},{"name":"6","homematic_name":"w_wind_dir","desc":"windwinkel","type":"number","unit":"grad","value":"294"},{"name":"10","homematic_name":"w_lux","desc":"helligkeit","type":"number","unit":"lux","value":"819"},{"name":"28","homematic_name":"w_uv_index","desc":"uv-index","type":"number","unit":"uv_index","value":"1"},{"name":"16","homematic_name":"w_sonne_scheint","desc":"sonne_scheint","type":"boolean","unit":"","value":"true"},{"name":"26","homematic_name":"w_sonnenstunden_heute","desc":"Sonnenstunden_heute","type":"number","unit":"h","value":"4.8"},{"name":"12","homematic_name":"w_elevation","desc":"sonne_elevation","type":"number","unit":"grad","value":"41.3"},{"name":"13","homematic_name":"w_azimut","desc":"sonne_azimut","type":"number","unit":"grad","value":"202.8"},{"name":"30","homematic_name":"w_minuten_vor_sa","desc":"minuten_vor_sa","type":"number","unit":"min","value":"-463"},{"name":"31","homematic_name":"w_minuten_vor_su","desc":"minuten_vor_su","type":"number","unit":"min","value":"326"}],"Systeminfo":{"MAC-Adresse":"bc:dd:c2:b6:22:75","Homematic_CCU_ip":"192.168.1.144","WLAN_ssid":"Caldir.MacAran.2007","WLAN_Signal_dBm":"-73","sec_seit_reset":"41626","zeitpunkt":"2020.09.06 /14h33","firmware":"edition2_144"}}
     2020-09-05 21:13:00   Parse_Err_LastData n.a.
     2020-09-05 21:13:00   Parse_Err_No    0
     2020-09-05 21:13:00   SSL_Algorithm   n.a.
     2020-09-05 21:13:00   SSL_Version     n.a.
     2020-09-06 14:33:49   Sonnenstunden_heute 4.8
     2020-09-06 14:33:26   Transfered_logs_per_minute 1
     2020-09-06 14:07:25   Weatherman_IP   
     2020-09-06 14:33:49   abs_feuchte     8.4
     2020-09-06 14:33:49   aussentemperatur 17.6
     2020-09-06 14:33:49   avg_windgeschwindigkeit 19.8
     2020-09-06 14:33:49   bft_windgeschwindigkeit 5
     2020-09-06 14:33:49   gefuehlte_temperatur 16.4
     2020-09-06 14:33:49   helligkeit      819
     2020-09-06 14:28:08   himmel_temperatur 0.0
     2020-09-06 14:33:49   luftdrucktrend  stabil
     2020-09-06 14:33:49   minuten_vor_sa  -463
     2020-09-06 14:33:49   minuten_vor_su  326
     2020-09-06 14:33:49   nn_luftdruck    1018.98
     2020-09-06 14:33:49   peak_windgeschwindigkeit 32.4
     2020-09-06 14:33:49   regen_mm_gestern 4.0
     2020-09-06 14:33:49   regen_mm_heute  0.0
     2020-09-06 14:33:49   regen_pro_h     0.0
     2020-09-06 14:33:49   regenmelder     0
     2020-09-06 14:33:49   regensensor_wert 0
     2020-09-06 14:33:49   regenstaerke    0.0
     2020-09-06 14:33:49   regenstunden_heute {"modultyp":"weatherman","vars":[{"name":"0","homematic_name":"w_ip","desc":"weatherman_ip","type":"string","unit":"","value":"192.168.1.71"},{"name":"1","homematic_name":"w_temperatur","desc":"aussentemperatur","type":"number","unit":"gradC","value":"17.6"},{"name":"21","homematic_name":"w_windchill","desc":"gefuehlte_temperatur","type":"number","unit":"gradC","value":"16.4"},{"name":"9","homematic_name":"w_taupunkt","desc":"taupunkt_temperatur","type":"number","unit":"gradC","value":"8.7"},{"name":"14","homematic_name":"w_himmeltemperatur","desc":"himmel_temperatur","type":"number","unit":"gradC","value":"0.0"},{"name":"2","homematic_name":"w_feuchte_rel","desc":"rel_feuchte","type":"number","unit":"%","value":"56.0"},{"name":"17","homematic_name":"w_feuchte_abs","desc":"abs_feuchte","type":"number","unit":"g/m3","value":"8.4"},{"name":"18","homematic_name":"w_regensensor_wert","desc":"regenmelderwert","type":"number","unit":"","value":"0"},{"name":"7","homematic_name":"w_regenmelder","desc":"regenstatus","type":"boolean","unit":"","value":"false"},{"name":"8","homematic_name":"w_regenstaerke","desc":"regenstaerke","type":"number","unit":"mm/h","value":"0.0"},{"name":"19","homematic_name":"w_regen_letzte_h","desc":"regen_pro_h","type":"number","unit":"mm","value":"0.0"},{"name":"20","homematic_name":"w_regen_mm_heute","desc":"regen_mm_heute","type":"number","unit":"mm","value":"0.0"},{"name":"32","homematic_name":"","desc":"regenstunden_heute","type":"number","unit":"h","value":"0.0"},{"name":"27","homematic_name":"w_regen_mm_gestern","desc":"regen_mm_gestern","type":"number","unit":"mm","value":"4.0"},{"name":"3","homematic_name":"w_barometer","desc":"nn_luftdruck","type":"number","unit":"mb","value":"1018.98"},{"name":"11","homematic_name":"w_barotrend","desc":"luftdrucktrend","type":"string","unit":"","value":"stabil"},{"name":"5","homematic_name":"w_wind_1min","desc":"windgeschwindigkeit_1min","type":"number","unit":"km/h","value":"32.4"},{"name":"4","homematic_name":"w_wind_10min","desc":"windgeschwindigkeit_10min","type":"number","unit":"km/h","value":"19.8"},{"name":"24","homematic_name":"w_windstaerke","desc":"bft_windgeschwindigkeit","type":"number","unit":"bft","value":"5"},{"name":"23","homematic_name":"w_windrichtung","desc":"windrichtung","type":"string","unit":"","value":"NORDWEST"},{"name":"6","homematic_name":"w_wind_dir","desc":"windwinkel","type":"number","unit":"grad","value":"294"},{"name":"10","homematic_name":"w_lux","desc":"helligkeit","type":"number","unit":"lux","value":"819"},{"name":"28","homematic_name":"w_uv_index","desc":"uv-index","type":"number","unit":"uv_index","value":"1"},{"name":"16","homematic_name":"w_sonne_scheint","desc":"sonne_scheint","type":"boolean","unit":"","value":"true"},{"name":"26","homematic_name":"w_sonnenstunden_heute","desc":"Sonnenstunden_heute","type":"number","unit":"h","value":"4.8"},{"name":"12","homematic_name":"w_elevation","desc":"sonne_elevation","type":"number","unit":"grad","value":"41.3"},{"name":"13","homematic_name":"w_azimut","desc":"sonne_azimut","type":"number","unit":"grad","value":"202.8"},{"name":"30","homematic_name":"w_minuten_vor_sa","desc":"minuten_vor_sa","type":"number","unit":"min","value":"-463"},{"name":"31","homematic_name":"w_minuten_vor_su","desc":"minuten_vor_su","type":"number","unit":"min","value":"326"}],"Systeminfo":{"MAC-Adresse":"bc:dd:c2:b6:22:75","Homematic_CCU_ip":"192.168.1.144","WLAN_ssid":"Caldir.MacAran.2007","WLAN_Signal_dBm":"-73","sec_seit_reset":"41626","zeitpunkt":"2020.09.06 /14h33","firmware":"edition2_144"}}
     2020-09-06 14:33:49   rel_feuchte     56.0
     2020-09-06 14:33:49   sonne_azimut    202.8
     2020-09-06 14:33:49   sonne_elevation 41.3
     2020-09-06 14:33:49   sonne_scheint   1
     2020-09-06 14:33:49   state           active
     2020-09-06 14:33:49   taupunkt_temperatur 8.7
     2020-09-06 14:33:49   uv-index        1
     2020-09-06 14:33:49   vars_01_desc    weatherman_ip
     2020-09-06 14:33:49   vars_01_value   192.168.1.71
     2020-09-06 14:33:49   vars_02_desc    aussentemperatur
     2020-09-06 14:33:49   vars_02_value   17.6
     2020-09-06 14:33:49   vars_03_desc    gefuehlte_temperatur
     2020-09-06 14:33:49   vars_03_value   16.4
     2020-09-06 14:33:49   vars_04_desc    taupunkt_temperatur
     2020-09-06 14:33:49   vars_04_value   8.7
     2020-09-06 14:33:49   vars_05_desc    himmel_temperatur
     2020-09-06 14:33:49   vars_05_value   0.0
     2020-09-06 14:33:49   vars_06_desc    rel_feuchte
     2020-09-06 14:33:49   vars_06_value   56.0
     2020-09-06 14:33:49   vars_07_desc    abs_feuchte
     2020-09-06 14:33:49   vars_07_value   8.4
     2020-09-06 14:33:49   vars_08_desc    regenmelderwert
     2020-09-06 14:33:49   vars_08_value   0
     2020-09-06 14:33:49   vars_09_desc    regenstatus
     2020-09-06 14:33:49   vars_09_value   false
     2020-09-06 14:33:49   vars_10_desc    regenstaerke
     2020-09-06 14:33:49   vars_10_value   0.0
     2020-09-06 14:33:49   vars_11_desc    regen_pro_h
     2020-09-06 14:33:49   vars_11_value   0.0
     2020-09-06 14:33:49   vars_12_desc    regen_mm_heute
     2020-09-06 14:33:49   vars_12_value   0.0
     2020-09-06 14:33:49   vars_13_desc    regenstunden_heute
     2020-09-06 14:33:49   vars_13_value   0.0
     2020-09-06 14:33:49   vars_14_desc    regen_mm_gestern
     2020-09-06 14:33:49   vars_14_value   4.0
     2020-09-06 14:33:49   vars_15_desc    nn_luftdruck
     2020-09-06 14:33:49   vars_15_value   1018.98
     2020-09-06 14:33:49   vars_16_desc    luftdrucktrend
     2020-09-06 14:33:49   vars_16_value   stabil
     2020-09-06 14:33:49   vars_17_desc    windgeschwindigkeit_1min
     2020-09-06 14:33:49   vars_17_value   32.4
     2020-09-06 14:33:49   vars_18_desc    windgeschwindigkeit_10min
     2020-09-06 14:33:49   vars_18_value   19.8
     2020-09-06 14:33:49   vars_19_desc    bft_windgeschwindigkeit
     2020-09-06 14:33:49   vars_19_value   5
     2020-09-06 14:33:49   vars_20_desc    windrichtung
     2020-09-06 14:33:49   vars_20_value   NORDWEST
     2020-09-06 14:33:49   vars_21_desc    windwinkel
     2020-09-06 14:33:49   vars_21_value   294
     2020-09-06 14:33:49   vars_22_desc    helligkeit
     2020-09-06 14:33:49   vars_22_value   819
     2020-09-06 14:33:49   vars_23_desc    uv-index
     2020-09-06 14:33:49   vars_23_value   1
     2020-09-06 14:33:49   vars_24_desc    sonne_scheint
     2020-09-06 14:33:49   vars_24_value   true
     2020-09-06 14:33:49   vars_25_desc    Sonnenstunden_heute
     2020-09-06 14:33:49   vars_25_value   4.8
     2020-09-06 14:33:49   vars_26_desc    sonne_elevation
     2020-09-06 14:33:49   vars_26_value   41.3
     2020-09-06 14:33:49   vars_27_desc    sonne_azimut
     2020-09-06 14:33:49   vars_27_value   202.8
     2020-09-06 14:33:49   vars_28_desc    minuten_vor_sa
     2020-09-06 14:33:49   vars_28_value   -463
     2020-09-06 14:33:49   vars_29_desc    minuten_vor_su
     2020-09-06 14:33:49   vars_29_value   326
     2020-09-06 14:33:49   windrichtung    294
     2020-09-06 14:33:49   windwinkel      294
Attributes:
   group      Wetter
   makeEvent  reading
   parseProfile raw
   port       13797
   protocol   TCP
   room       Arbeitszimmer
   useEOF     1
   useParsefilter 1
   userReadings aussentemperatur { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_temperatur".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
gefuehlte_temperatur { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_windchill".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
taupunkt_temperatur { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_taupunkt".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
rel_feuchte { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_feuchte_rel".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
abs_feuchte { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_feuchte_abs".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regensensor_wert { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regensensor_wert".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regenmelder { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regenmelder".*?"value":"(true|false)".*/$1/ ;; $w =~ s/true/1/g ;;$w =~ s/false/0/g ;; $w },
regenstaerke { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regenstaerke".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regen_pro_h { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regen_letzte_h".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regen_mm_heute { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regen_mm_heute".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regenstunden_heute { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regen_stunden_heute".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regen_mm_gestern { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_regen_mm_gestern".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
nn_luftdruck { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_barometer".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
luftdrucktrend { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_barotrend".*?"value":"(fallend|stabil|steigend)".*/$1/ ;; $w },
avg_windgeschwindigkeit { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_wind_10min".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
peak_windgeschwindigkeit { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_wind_1min".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
bft_windgeschwindigkeit { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_windstaerke".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
windrichtung { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_windrichtung".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
windwinkel { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_wind_dir".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
helligkeit { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_lux".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
uv-index { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_uv_index".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
sonne_scheint { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_sonne_scheint".*?"value":"(true|false)".*/$1/ ;; $w =~ s/true/1/g ;;$w =~ s/false/0/g ;; $w },
Sonnenstunden_heute { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_sonnenstunden_heute".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
sonne_elevation { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_elevation".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
sonne_azimut { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_azimut".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
minuten_vor_sa { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_minuten_vor_sa".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
minuten_vor_su { my $w=ReadingsVal($name,"MSG_ESP-B62275.fritz.box",0) ;; $w =~ s/.*"w_minuten_vor_su".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w }

Hat vlt. jemand eine Idee oder sieht den Fehler sofort?

Danke.

Gruß, Christoph
Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.

Tsturm

#125
Hallo Zusammen,

noch ein Nachtrag zu meiner Lösung mit Log2Syslog:
Wenn man mehrere Devices mit Log2Syslog nutzen will, ist die Verarbeitung der JSON-Readings direkt im Log2Syslog-Device nicht sehr übersichtlich - da kommen die Readings der einzelnen Geräte durcheinander. Besser ist es, im Log2Syslog nur die JSON-Messages abzulegen, und die Verarbeitung in einem separaten Device (hier - DOIF) getriggert von einem neuen JSON-Telegramm zu machen. Damit hat man ein "sauberes" Device pro Weatherman, Airsniffer, Wiffi etc.

Beispiele anbei.

VG timmo

Die Definition des Log2Syslog (in den beiden letzten Zeilen sind die Readings für die beiden Wiffis abgekürzt zu sehen)

defmod Log2Syslog_home Log2Syslog
attr Log2Syslog_home event-on-change-reading .*
attr Log2Syslog_home makeEvent reading
attr Log2Syslog_home parseProfile raw
attr Log2Syslog_home port 1886
attr Log2Syslog_home protocol TCP
attr Log2Syslog_home useEOF 1
attr Log2Syslog_home useParsefilter 1

setstate Log2Syslog_home 2020-10-10 15:03:55 MSG_Weatherman.fritz.box {"modultyp":"weatherman",....}
setstate Log2Syslog_home 2020-10-10 15:03:45 MSG_ESP-587174.fritz.box {"modultyp":"airsniffer",....}


Eines der DOIFs (mit Regex - geht aber auch über ExtractJSON). Den "state" habe ich auf das alter der readings gesetzt, da irgendwie das event_readings beim Update des Log2Syslog nicht gefeuert hat - mit state gings dann, da muss ich nochmals bohren. event_Readings habe ich verwendet, um nach dem Update weitere Sachen zu triggern - das kann man evtl noch optimieren.

defmod DI_Airsniffer DOIF ##
attr DI_Airsniffer do always
attr DI_Airsniffer event_Readings airsniffer_msg:{([Log2Syslog_home:MSG_ESP-587174.fritz.box])}
attr DI_Airsniffer state {([Log2Syslog_home:MSG_ESP-587174.fritz.box:sec])}
attr DI_Airsniffer userReadings Temperatur { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Temperatur".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Luftfeuchte { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Luftfeuchte".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Taupunkt { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Taupunkt".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Absolutfeuchte { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Absolutfeuchte".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Luftdruck { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Luftdruck".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Luftqualitaet { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Luftqualitaet".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Luftqualitaetswert { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Luftqualitaetswert".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;;;; $w },\
Gesamtnote { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"as_IAQ_max_note".*?"value":"(\w+)".*/$1/ ;;;; $w },\
Luftdrucktrend { my $w=ReadingsVal($name,"airsniffer_msg",0) ;;;; $w =~ s/.*"Luftdrucktrend".*?"value":"(\w+)".*/$1/ ;;;; $w }


sn0000py

Eine Frage in die Runde, ich habe die WM1 kann ich da bedenkenlos von WEATHERMAN_138  auf  WM2_12_1 updaten?

Nur wenn es wirklich gut geht (Diese Firmware führt die Versionen für WM1 und WM2 zusammen. Es sind keine Hardware-Änderungen am WM1 notwendig!)

Da die WM1 am Dach montiert ist, komme ich erst im Sommer wieder halbwegs gut dazu, (Strom trennen geht jederzeit - aber zum USB eben nicht so einfach)

Lichti

Die WM2_12_1 läuft auf meinem WM1 ohne Probleme.

sn0000py

und weiss du noch zufällig ob das upate vom alten zum neuen ohne probleme OverTheAir ging?

Lichti


rcmcronny

Man muss dann noch einen Wert auf 1 stellen (nach dem Update)

weatherman_type ___________ param: 8: 1       WEATHERMAN-Typ: 1 >> WM1; 2 >> WM2

und alles ist schick :)

Ronny

Kellerkind86

Hallo,
Ich überlege auch mir den Weatherman2 zu kaufen. Mal ne frage dazu. Besteht die Möglichkeit das kabel zwischen windmesser und dem rest zu verlängern? Würde namlich gerne den wind sensor aufs dach packen und den Rest in ereichbarer Nähe.
Ist das so einfach wie ich mir das vorstelle?
Danke.
Gruß Marcell
Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

Licht2002

Hallo Experten,

ich habe mir den Weatherman bestellt und bin gescheitert :-( 

Meine Lötfähigkeiten sind nicht ausreichend - ist hier jemand, der mir das Ding löten könnte....? Natürlich gegen einen ordentlichen Stundenlohn!!!

Danke!

VG Tom

MadMax-FHEM

FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

caldir65

Moin,

ich habe jetzt alle userReadings so zusammen gebastelt, wie ich es gerne hätte, jetzt würde ich die ganzen vom WM gelieferten Readings "vars_irgendwas" ausblenden, da ich sie nicht benötige, zumal ja einmal der Variablen-Name und zum zweiten der Variablen-Inhalt geliefert wird - also für alle Daten zwei Zeilen.

Die ursprünglichen Namen der Readings werden ja bereits vom WM so geliefert.

Internals:
   CONNECTS   423
   FD         49
   FUUID      5f0092c0-f33f-378b-5c61-7f99da4f64318d46
   FVERSION   93_Log2Syslog.pm:v5.12.4-s23875/2021-03-01
   INTERFACE  global
   MODEL      Collector v5.12.4
   MYFQDN     raspi-fhem.fritz.box
   MYHOST     raspi-fhem
   NAME       WM_Log
   NR         1482
   NTFY_ORDER 50-WM_Log
   PORT       19721
   PROFILE    raw
   PROTOCOL   tcp
   SEQNO      424
   STATE      active
   TYPE       Log2Syslog
   stacktrace  TcpServer_Close:1357 FHEM::Log2Syslog::downServer:1430 FHEM::Log2Syslog::Set:3888 CallFn:1939 DoSet:1971 CommandSet:1266 AnalyzeCommand:2773 FW_fC:1006 FW_answerCall:598 FW_Read:3893 CallFn:774
   HELPER:
     LTIME      1622730477
     OLDSEQNO   423
     OLDSTATE   active
     PACKAGE    FHEM::Log2Syslog
     TCPPADDR   192.168.1.71
     VERSION    5.12.4
   HIPCACHE:
     192.168.1.71 Wetherman.fritz.box
   Helper:
     DBLOG:
       helligkeit:
         DBLogging:
           TIME       1622730481.96502
           VALUE       1579
   OLDREADINGS:
   READINGS:
     2021-06-03 16:28:01   MSG_Wetherman.fritz.box {"modultyp":"weatherman","vars":[{"name":"0","homematic_name":"w_ip","desc":"weatherman_ip","type":"string","unit":"","value":"192.168.1.71"},{"name":"1","homematic_name":"w_temperatur","desc":"aussentemperatur","type":"number","unit":"gradC","value":"19.0"},{"name":"21","homematic_name":"w_windchill","desc":"gefuehlte_temperatur","type":"number","unit":"gradC","value":"19.0"},{"name":"9","homematic_name":"w_taupunkt","desc":"taupunkt_temperatur","type":"number","unit":"gradC","value":"14.4"},{"name":"14","homematic_name":"w_himmeltemperatur","desc":"himmel_temperatur","type":"number","unit":"gradC","value":"0.0"},{"name":"2","homematic_name":"w_feuchte_rel","desc":"rel_feuchte","type":"number","unit":"%","value":"75.0"},{"name":"17","homematic_name":"w_feuchte_abs","desc":"abs_feuchte","type":"number","unit":"g/m3","value":"12.2"},{"name":"18","homematic_name":"w_regensensor_wert","desc":"regenmelderwert","type":"number","unit":"","value":"56"},{"name":"7","homematic_name":"w_regenmelder","desc":"regenstatus","type":"boolean","unit":"","value":"true"},{"name":"19","homematic_name":"w_regen_letzte_h","desc":"regen_pro_h","type":"number","unit":"mm","value":"0.0"},{"name":"20","homematic_name":"w_regen_mm_heute","desc":"regen_mm_heute","type":"number","unit":"mm","value":"0.0"},{"name":"29","homematic_name":"w_regen_stunden_heute","desc":"regenstunden_heute","type":"number","unit":"h","value":"0.8"},{"name":"27","homematic_name":"w_regen_mm_gestern","desc":"regen_mm_gestern","type":"number","unit":"mm","value":"0.0"},{"name":"3","homematic_name":"w_barometer","desc":"nn_luftdruck","type":"number","unit":"mb","value":"1033.36"},{"name":"11","homematic_name":"w_barotrend","desc":"luftdrucktrend","type":"string","unit":"","value":"steigend"},{"name":"5","homematic_name":"w_wind_1min","desc":"windgeschwindigkeit_1min","type":"number","unit":"km/h","value":"13.4"},{"name":"4","homematic_name":"w_wind_10min","desc":"windgeschwindigkeit_10min","type":"number","unit":"km/h","value":"11.9"},{"name":"24","homematic_name":"w_windstaerke","desc":"bft_windgeschwindigkeit","type":"number","unit":"bft","value":"3"},{"name":"23","homematic_name":"w_windrichtung","desc":"windrichtung","type":"string","unit":"","value":"OST"},{"name":"6","homematic_name":"w_wind_dir","desc":"windwinkel","type":"number","unit":"grad","value":"111"},{"name":"10","homematic_name":"w_lux","desc":"helligkeit","type":"number","unit":"lux","value":"1579"},{"name":"28","homematic_name":"w_uv_index","desc":"uv-index","type":"number","unit":"uv_index","value":"0"},{"name":"16","homematic_name":"w_sonne_scheint","desc":"sonne_scheint","type":"boolean","unit":"","value":"true"},{"name":"26","homematic_name":"w_sonnenstunden_heute","desc":"Sonnenstunden_heute","type":"number","unit":"h","value":"9.3"},{"name":"12","homematic_name":"w_elevation","desc":"sonne_elevation","type":"number","unit":"grad","value":"45.1"},{"name":"13","homematic_name":"w_azimut","desc":"sonne_azimut","type":"number","unit":"grad","value":"247.4"},{"name":"30","homematic_name":"w_minuten_vor_sa","desc":"minuten_vor_sa","type":"number","unit":"min","value":"-664"},{"name":"31","homematic_name":"w_minuten_vor_su","desc":"minuten_vor_su","type":"number","unit":"min","value":"307"}],"Systeminfo":{"MAC-Adresse":"bc:dd:c2:b6:22:75","Homematic_CCU_ip":"192.168.1.144","WLAN_ssid":"Fritz-IoT","WLAN_Signal_dBm":"-79","sec_seit_reset":"16133","zeitpunkt":"2021.06.03 /16h27","firmware":"edition2_153"}}
     2021-06-03 12:06:23   Parse_Err_LastData n.a.
     2021-06-03 12:08:18   Parse_Err_No    0
     2021-06-03 10:11:36   SSL_Algorithm   n.a.
     2021-06-03 10:11:36   SSL_Version     n.a.
     2021-06-03 16:28:02   Sonnenstunden_heute 9.3
     2021-06-03 16:27:57   Transfered_logs_per_minute 1
     2021-06-03 16:28:02   abs_feuchte     12.2
     2021-06-03 16:28:02   aussentemperatur 19.0
     2021-06-03 16:28:02   avg_windgeschwindigkeit 11.9
     2021-06-03 16:28:02   bft_windgeschwindigkeit 3
     2021-06-03 16:28:02   gefuehlte_temperatur 19.0
     2021-06-03 16:28:02   helligkeit      1579
     2021-06-03 16:28:02   luftdrucktrend  steigend
     2021-06-03 16:28:02   minuten_vor_sa  0
     2021-06-03 16:28:02   minuten_vor_su  307
     2021-06-03 16:28:02   nn_luftdruck    1033.36
     2021-06-03 16:28:02   peak_windgeschwindigkeit 13.4
     2021-06-03 16:28:02   regen_mm_gestern 0.0
     2021-06-03 16:28:02   regen_mm_heute  0.0
     2021-06-03 16:28:02   regen_pro_h     0.0
     2021-06-03 16:28:02   regenmelder     1
     2021-06-03 16:28:02   regensensor_wert 56
     2021-06-03 16:28:02   regenstunden_heute 0.8
     2021-06-03 16:28:02   rel_feuchte     75.0
     2021-06-03 16:28:02   sonne_azimut    247.4
     2021-06-03 16:28:02   sonne_elevation 45.1
     2021-06-03 16:28:02   sonne_scheint   1
     2021-06-03 16:28:02   state           active
     2021-06-03 16:28:02   taupunkt_temperatur 14.4
     2021-06-03 16:28:02   uv-index        0
     2020-09-10 07:23:24   vars_01_desc    weatherman_ip
     2020-09-10 07:23:24   vars_01_value   192.168.1.71
     2020-09-10 07:23:24   vars_02_desc    aussentemperatur
     2020-09-10 07:23:24   vars_02_value   10.2
     2020-09-10 07:23:24   vars_03_desc    gefuehlte_temperatur
     2020-09-10 07:23:24   vars_03_value   10.2
     2020-09-10 07:23:24   vars_04_desc    taupunkt_temperatur
     2020-09-10 07:23:24   vars_04_value   10.2
     2020-09-10 07:23:24   vars_05_desc    himmel_temperatur
     2020-09-10 07:23:24   vars_05_value   0.0
     2020-09-10 07:23:24   vars_06_desc    rel_feuchte
     2020-09-10 07:23:24   vars_06_value   100.0
     2020-09-10 07:23:24   vars_07_desc    abs_feuchte
     2020-09-10 07:23:24   vars_07_value   9.5
     2020-09-10 07:23:24   vars_08_desc    regenmelderwert
     2020-09-10 07:23:24   vars_08_value   0
     2020-09-10 07:23:24   vars_09_desc    regenstatus
     2020-09-10 07:23:24   vars_09_value   false
     2020-09-10 07:23:24   vars_10_desc    regenstaerke
     2020-09-10 07:23:24   vars_10_value   0.0
     2020-09-10 07:23:24   vars_11_desc    regen_pro_h
     2020-09-10 07:23:24   vars_11_value   0.0
     2020-09-10 07:23:24   vars_12_desc    regen_mm_heute
     2020-09-10 07:23:24   vars_12_value   0.0
     2020-09-10 07:23:24   vars_13_desc    regenstunden_heute
     2020-09-10 07:23:24   vars_13_value   0.0
     2020-09-10 07:23:24   vars_14_desc    regen_mm_gestern
     2020-09-10 07:23:24   vars_14_value   0.7
     2020-09-10 07:23:24   vars_15_desc    nn_luftdruck
     2020-09-10 07:23:24   vars_15_value   1023.38
     2020-09-10 07:23:24   vars_16_desc    luftdrucktrend
     2020-09-10 07:23:24   vars_16_value   stabil
     2020-09-10 07:23:24   vars_17_desc    windgeschwindigkeit_1min
     2020-09-10 07:23:24   vars_17_value   0.0
     2020-09-10 07:23:24   vars_18_desc    windgeschwindigkeit_10min
     2020-09-10 07:23:24   vars_18_value   0.0
     2020-09-10 07:23:24   vars_19_desc    bft_windgeschwindigkeit
     2020-09-10 07:23:24   vars_19_value   0
     2020-09-10 07:23:24   vars_20_desc    windrichtung
     2020-09-10 07:23:24   vars_20_value   WEST
     2020-09-10 07:23:24   vars_21_desc    windwinkel
     2020-09-10 07:23:24   vars_21_value   272
     2020-09-10 07:23:24   vars_22_desc    helligkeit
     2020-09-10 07:23:24   vars_22_value   41
     2020-09-10 07:23:24   vars_23_desc    uv-index
     2020-09-10 07:23:24   vars_23_value   0
     2020-09-10 07:23:24   vars_24_desc    sonne_scheint
     2020-09-10 07:23:24   vars_24_value   false
     2020-09-10 07:23:24   vars_25_desc    Sonnenstunden_heute
     2020-09-10 07:23:24   vars_25_value   0.0
     2020-09-10 07:23:24   vars_26_desc    sonne_elevation
     2020-09-10 07:23:24   vars_26_value   3.1
     2020-09-10 07:23:24   vars_27_desc    sonne_azimut
     2020-09-10 07:23:24   vars_27_value   87.5
     2020-09-10 07:23:24   vars_28_desc    minuten_vor_sa
     2020-09-10 07:23:24   vars_28_value   -26
     2020-09-10 07:23:24   vars_29_desc    minuten_vor_su
     2020-09-10 07:23:24   vars_29_value   747
     2021-06-03 16:28:02   weatherman_ip   192.168.1.71
     2021-06-03 16:28:02   windrichtung    OST
     2021-06-03 16:28:02   windrichtung_grad 111
Attributes:
   DbLogExclude .*
   DbLogInclude vars_22_desc,vars_22_value,helligkeit
   event-on-change-reading weatherman_ip,peak_windgeschwindigkeit,helligkeit,regenmelder,state
   group      Wetter
   makeEvent  reading
   parseProfile raw
   port       19721
   protocol   TCP
   room       Arbeitszimmer
   useEOF     1
   useParsefilter 1
   userReadings aussentemperatur { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_temperatur".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
gefuehlte_temperatur { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_windchill".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
taupunkt_temperatur { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_taupunkt".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
rel_feuchte { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_feuchte_rel".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
abs_feuchte { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_feuchte_abs".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regensensor_wert { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_regensensor_wert".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regenmelder { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_regenmelder".*?"value":"(true|false)".*/$1/ ;; $w =~ s/true/1/g ;;$w =~ s/false/0/g ;; $w },
regen_pro_h { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_regen_letzte_h".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regen_mm_heute { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_regen_mm_heute".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regenstunden_heute { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_regen_stunden_heute".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
regen_mm_gestern { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_regen_mm_gestern".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
nn_luftdruck { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_barometer".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
luftdrucktrend { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_barotrend".*?"value":"(fallend|stabil|steigend)".*/$1/ ;; $w },
avg_windgeschwindigkeit { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_wind_10min".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
peak_windgeschwindigkeit { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_wind_1min".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
bft_windgeschwindigkeit { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_windstaerke".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
windrichtung { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_windrichtung".*?"value":"(WEST|NORDWEST|NORD|NORDOST|OST|SUEDOST|SUED|SUEDWEST)".*/$1/ ;; $w },
windrichtung_grad { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_wind_dir".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
helligkeit { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_lux".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
uv-index { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_uv_index".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
sonne_scheint { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_sonne_scheint".*?"value":"(true|false)".*/$1/ ;; $w =~ s/true/1/g ;;$w =~ s/false/0/g ;; $w },
Sonnenstunden_heute { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_sonnenstunden_heute".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
sonne_elevation { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_elevation".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
sonne_azimut { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_azimut".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
minuten_vor_sa { my $w=ReadingsVal($name,"MSGMSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_minuten_vor_sa".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
minuten_vor_su { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_minuten_vor_su".*?"value":"([+-]?\d*[\.\d]\d*)".*/$1/ ;; $w },
weatherman_ip { my $w=ReadingsVal($name,"MSG_Wetherman.fritz.box",0) ;; $w =~ s/.*"w_ip".*?"value":"((\d|\d\d|[0-1]\d\d|2[0-4]\d|25[0-5])\.(\d|\d\d|[0-1]\d\d|2[0-4]\d|25[0-5])\.(\d|\d\d|[0-1]\d\d|2[0-4]\d|25[0-5])\.(\d|\d\d|[0-1]\d\d|2[0-4]\d|25[0-5]))".*/$1/ ;; $w }


Vielen Dank,

Christoph
Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.