Autor Thema: [GELÖST] PERL WARNING: ^* ... 33_readingsGroup.pm  (Gelesen 738 mal)

Offline Burny4600

  • Hero Member
  • *****
  • Beiträge: 1912
[GELÖST] PERL WARNING: ^* ... 33_readingsGroup.pm
« am: 20 April 2022, 12:39:15 »
Folgende LOG Einträge treten immer wieder bei einem Bootvorgang auf.
2022.04.20 12:28:13.927 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE BL*$/ at ./FHEM/33_readingsGroup.pm line 131.
2022.04.20 12:28:13.959 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE BW*$/ at ./FHEM/33_readingsGroup.pm line 131.
2022.04.20 12:28:13.991 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE FS*$/ at ./FHEM/33_readingsGroup.pm line 131.
2022.04.20 12:28:14.022 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .RM$/ at ./FHEM/33_readingsGroup.pm line 131.

Ich kann diese Meldungen aber nirgends zuordnen.
« Letzte Änderung: 23 April 2022, 13:38:25 von Burny4600 »
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 21304
Antw:PERL WARNING: ^* ... 33_readingsGroup.pm
« Antwort #1 am: 20 April 2022, 13:09:15 »
da stimmt mit dem define einer readingsGroup etwas nicht. zeig mal die ausgabe von

list TYPE=readingsGroup NAME DEF
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, …

https://github.com/sponsors/justme-1968

Offline Burny4600

  • Hero Member
  • *****
  • Beiträge: 1912
Antw:PERL WARNING: ^* ... 33_readingsGroup.pm
« Antwort #2 am: 22 April 2022, 11:33:25 »
Die readingGroup Übersicht.

list TYPE=readingsGroup NAME DEF
Aktueller_Verbrauch                        NAME            Aktueller_Verbrauch
                                           DEF             <Energiezähler>,<Verbrauch>,<hr> .*:FILTER=group=Energiezähler.Strom.Verbraucher:electricityPower <hr> Aktueller_Verbrauch:$sum
BATT_LEVEL_HM                              NAME            BATT_LEVEL_HM
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> TYPE=CUL_HM.*:batteryLevel
BATT_STATUS_BR                             NAME            BATT_STATUS_BR
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> TYPE=SD_WS.*:battery|TYPE=SD_WS07.*:battery
BATT_STATUS_HM_BL                          NAME            BATT_STATUS_HM_BL
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*BL*:battery
BATT_STATUS_HM_BW                          NAME            BATT_STATUS_HM_BW
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*BW*:battery
BATT_STATUS_HM_FS                          NAME            BATT_STATUS_HM_FS
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*FS*:battery
BATT_STATUS_HM_RM                          NAME            BATT_STATUS_HM_RM
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*.RM:battery
BATT_STATUS_HM_UES                         NAME            BATT_STATUS_HM_UES
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=UES.*:battery
BATT_STATUS_OR                             NAME            BATT_STATUS_OR
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> TYPE=OREGON.*:battery
Heizung                                    NAME            Heizung
                                           DEF             <%sani_heating>,<Sollwert>,<Sollwert neu>,<Istwert>,<Ventil | Feuchte>,<Modus>,<Lock>,<Batteriestatus>,<Fensterstatus>

EG_BA_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@EG_BA_HZG_TC,batteryLevel@EG_BA_HZG_TC,state@EG_BA_HZG_FSD
EG_BA_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_BA_HZG_RT,batteryLevel@EG_BA_HZG_RT

EG_KU_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@EG_KU_HZG_TC,batteryLevel@EG_KU_HZG_TC,state@EG_KU_HZG_FSD
EG_KU_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_KU_HZG_RT,batteryLevel@EG_KU_HZG_RT

EG_SL_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@EG_SL_HZG_TC,batteryLevel@EG_SL_HZG_TC,state@EG_SL_HZG_FSD
EG_SL_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_SL_HZG_RT,batteryLevel@EG_SL_HZG_RT

EG_WC_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@EG_WC_HZG_TC,batteryLevel@EG_WC_HZG_TC,state@EG_WC_HZG_FSD
EG_WC_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_WC_HZG_RT,batteryLevel@EG_WC_HZG_RT

EG_WI_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@EG_WI_HZG_TC,batteryLevel@EG_WI_HZG_TC,state@EG_WI_HZG_FSD
EG_WI_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_WI_HZG_RT,batteryLevel@EG_WI_HZG_RT

EG_WZ_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@EG_WZ_HZG_TC,batteryLevel@EG_WZ_HZG_TC,state@EG_WZ_HZG_FSD
EG_WZ_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_WZ_HZG_RT,batteryLevel@EG_WZ_HZG_RT

OG1_BA_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_BA_HZG_TC,batteryLevel@OG1_BA_HZG_TC,state@OG1_BA_HZG_FSD

OG1_KI_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_KI_HZG_TC,batteryLevel@OG1_KI_HZG_TC,state@OG1_KI_HZG_FSD
OG1_KI_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG1_KI_HZG_RT,batteryLevel@OG1_KI_HZG_RT

OG1_KU_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_KU_HZG_TC,batteryLevel@OG1_KU_HZG_TC,state@OG1_KU_HZG_FSD
OG1_KU_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG1_KU_HZG_RT,batteryLevel@OG1_KU_HZG_RT

OG1_SL_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_SL_HZG_TC,batteryLevel@OG1_SL_HZG_TC,state@OG1_SL_HZG_FSD
OG1_SL_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG1_SL_HZG_RT,batteryLevel@OG1_SL_HZG_RT

OG1_STH_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_STH_HZG_TC,batteryLevel@OG1_STH_HZG_TC,state@OG1_STH_HZG_FSD
EG_STH_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@EG_STH_HZG_RT,batteryLevel@EG_STH_HZG_RT
OG1_STH_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG1_STH_HZG_RT,batteryLevel@OG1_STH_HZG_RT

OG1_WC_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_WC_HZG_TC,batteryLevel@OG1_WC_HZG_TC,state@OG1_WC_HZG_FSD
OG1_WC_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG1_WC_HZG_RT,batteryLevel@OG1_WC_HZG_RT

OG1_WZ_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG1_WZ_HZG_TC,batteryLevel@OG1_WZ_HZG_TC,state@OG1_WZ_HZG_FSD
OG1_WZ_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG1_WZ_HZG_RT,batteryLevel@OG1_WZ_HZG_RT

OG2_BU1_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG2_BU1_HZG_TC,batteryLevel@OG2_BU1_HZG_TC,state@OG2_BU1_HZG_FSD
OG2_BU1_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG2_BU1_HZG_RT,batteryLevel@OG2_BU1_HZG_RT

OG2_BU2_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG2_BU2_HZG_TC,batteryLevel@OG2_BU2_HZG_TC,state@OG2_BU2_HZG_FSD
OG2_BU2_HZG_RT1_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG2_BU2_HZG_RT1,batteryLevel@OG2_BU2_HZG_RT1
OG2_BU2_HZG_RT2_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG2_BU2_HZG_RT2,batteryLevel@OG2_BU2_HZG_RT2

OG2_WC_HZG_TC_Climate:desired-temp,<sollsetz>,measured-temp,humidity,controlMode,R-btnLock@OG2_WC_HZG_TC,batteryLevel@OG2_WC_HZG_TC,state@OG2_WC_HZG_FSD
OG2_WC_HZG_RT_Clima:desired-temp,<>,measured-temp,ValvePosition,controlMode,R-btnLock@OG2_WC_HZG_RT,batteryLevel@OG2_WC_HZG_RT
SabStatus                                  NAME            SabStatus
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> .*:sabotageError
SenRSSI                                    NAME            SenRSSI
                                           DEF             <Gerät>,<Signal>,<Zeit>,<hr> .*:rssi_dB
Top_5_Tankstellen_D                        NAME            Top_5_Tankstellen_D
                                           DEF             <%fuel>,<Preis / L>,<Name>,<Ort>,<Adresse>
Diesel:Diesel-1,Tankstellenname-1,Ort-1,Adresse-1
Diesel:Diesel-2,Tankstellenname-2,Ort-2,Adresse-2
Diesel:Diesel-3,Tankstellenname-3,Ort-3,Adresse-3
Diesel:Diesel-4,Tankstellenname-4,Ort-4,Adresse-4
Diesel:Diesel-5,Tankstellenname-5,Ort-5,Adresse-5

Top_5_Tankstellen_S                        NAME            Top_5_Tankstellen_S
                                           DEF             <%fuel>,<Preis / L>,<Name>,<Ort>,<Adresse>
Super:Super95-1,Tankstellenname-1,Ort-1,Adresse-1
Super:Super95-2,Tankstellenname-2,Ort-2,Adresse-2
Super:Super95-3,Tankstellenname-3,Ort-3,Adresse-3
Super:Super95-4,Tankstellenname-4,Ort-4,Adresse-4
Super:Super95-5,Tankstellenname-5,Ort-5,Adresse-5

culRSSI                                    NAME            culRSSI
                                           DEF             <Gerät>,<Signal>,<Zeit>,<hr>
HmUART_AB_FR_RSSI=.*:+HmUART_AB_FR_RSSI,+HmUART_AB_FR_TIME
HmUART_AB_GTO_RSSI=.*:+HmUART_AB_GTO_RSSI,+HmUART_AB_GTO_TIME
HmUART_EG_RSSI=.*:+HmUART_EG_RSSI,+HmUART_EG_TIME
HmUART_OG1_RSSI=.*:+HmUART_OG1_RSSI,+HmUART_OG1_TIME
HmUART_OG2_RSSI=.*:+HmUART_OG2_RSSI,+HmUART_OG2_TIME
jeelink_RSSI=.*:+jeelink_RSSI,+jeelink_TIME
nanoCUL433_AB_FR_RSSI=.*:+nanoCUL433_AB_FR_RSSI,+nanoCUL433_AB_FR_TIME
nanoCUL433_AB_GAW_RSSI=.*:+nanoCUL433_AB_GAW_RSSI,+nanoCUL433_AB_GAW_TIME
nanoCUL433_EG_RSSI=.*:+nanoCUL433_EG_RSSI,+nanoCUL433_EG_TIME
nanoCUL433_OG1_RSSI=.*:+nanoCUL433_OG1_RSSI,+nanoCUL433_OG1_TIME
nanoCUL433_OG2_RSSI=.*:+nanoCUL433_OG2_RSSI,+nanoCUL433_OG2_TIME
nanoCUL868_AB_FR_RSSI=.*:+nanoCUL868_AB_FR_RSSI,+nanoCUL868_AB_FR_TIME
nanoCUL868_AB_GAW_RSSI=.*:+nanoCUL868_AB_GAW_RSSI,+nanoCUL868_AB_GAW_TIME
nanoCUL868_EG_RSSI=.*:+nanoCUL868_EG_RSSI,+nanoCUL868_EG_TIME
nanoCUL868_OG1_RSSI=.*:+nanoCUL868_OG1_RSSI,+nanoCUL868_OG1_TIME
nanoCUL868_OG2_RSSI=.*:+nanoCUL868_OG2_RSSI,+nanoCUL868_OG2_TIME
nanoCUL868_WebCam_RSSI=.*:+nanoCUL868_WebCam_RSSI,+nanoCUL868_WebCam_TIME
RFXtrx433E_WS_RSSI=.*:+RFXtrx433E_WS_RSSI,+RFXtrx433E_WS_TIME
sduino_RSSI=.*:+sduino_RSSI,+sduino_TIME
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

Online frank

  • Hero Member
  • *****
  • Beiträge: 11046
Antw:PERL WARNING: ^* ... 33_readingsGroup.pm
« Antwort #3 am: 22 April 2022, 12:13:31 »
BATT_STATUS_HM_BL                          NAME            BATT_STATUS_HM_BL
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*BL*:battery
BATT_STATUS_HM_BW                          NAME            BATT_STATUS_HM_BW
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*BW*:battery
BATT_STATUS_HM_FS                          NAME            BATT_STATUS_HM_FS
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*FS*:battery
BATT_STATUS_HM_RM                          NAME            BATT_STATUS_HM_RM
                                           DEF             <Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=*.RM:battery

die sternchen sind nicht zur "deko" gedacht.  :)

vor dem stern muss auch wenigstens ein zeichen stehen. also jeweils nach "NAME=" zb ein punkt für ein beliebiges zeichen einfügen oder die sterne weglassen.

welche namen sollen denn bei diesen 4 rg gefunden werden?
der 2. stern vor dem doppelpunkt scheint mir auch eher falsch zu sein.
« Letzte Änderung: 22 April 2022, 12:15:53 von frank »
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

Online frank

  • Hero Member
  • *****
  • Beiträge: 11046
Antw:PERL WARNING: ^* ... 33_readingsGroup.pm
« Antwort #4 am: 23 April 2022, 09:44:36 »
huch, gestern gab es hier noch eine antwort.

beispiel für die erste DEF mit punkt:
<Sensor>,<Zustand>,<Zeitstempel> <hr> NAME=.*BL*:battery
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

Offline Burny4600

  • Hero Member
  • *****
  • Beiträge: 1912
Antw:PERL WARNING: ^* ... 33_readingsGroup.pm
« Antwort #5 am: 23 April 2022, 13:37:56 »
Peinlich.  ::)
Da sind gleich mehrere Copy-Paste Fehler passiert.

Gelegentlich sollte man den Sand aus den Augen wischen, damit man wieder etwas sieht.
Die Fehler habe ich jetzt behoben.

Danke Euch.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT