Autor Thema: 33_readingsGroup.pm - PERL WARNING wiederkehrend  (Gelesen 374 mal)

Offline HomeAuto_User

  • Developer
  • Full Member
  • ****
  • Beiträge: 234
33_readingsGroup.pm - PERL WARNING wiederkehrend
« am: 28 Dezember 2017, 19:21:04 »
Hallo,

des öfternen erhalte ich diese PERL WARNING:
Zitat
2017.12.28 18:40:03 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE ._433Mhz_DMSG$/ at ./FHEM/33_readingsGroup.pm line 1076.
2017.12.28 18:40:03 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE ._433Mhz_DMSG$/ at ./FHEM/33_readingsGroup.pm line 1081.
2017.12.28 18:40:03 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE ._433Mhz_TIME$/ at ./FHEM/33_readingsGroup.pm line 1076.
2017.12.28 18:40:03 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE ._433Mhz_TIME$/ at ./FHEM/33_readingsGroup.pm line 1081.
2017.12.28 18:40:03 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE ._433Mhz_MSGCNT$/ at ./FHEM/33_readingsGroup.pm line 1076.
2017.12.28 18:40:03 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE ._433Mhz_MSGCNT$/ at ./FHEM/33_readingsGroup.pm line 1081.
Gibt es diesbezüglich schon eine Möglichkeit diese zu "bereinigen" OHNE einfach die WARNUNGEN auszustellen.

MfG
- FHEM v5.8 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) als Vergleichsempfänger
- Sensoren: 3x FHT 80b | 5x FHT 80 TF-2 | 2x S300TH | 1x WS7000-20 | 5x "Hideki" | THR128

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 17755
Antw:33_readingsGroup.pm - PERL WARNING wiederkehrend
« Antwort #1 am: 12 Februar 2018, 11:47:20 »
bitte zeig mal ein list der readingsGroup. ich glaube deine regex sind falsch.
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline HomeAuto_User

  • Developer
  • Full Member
  • ****
  • Beiträge: 234
Antw:33_readingsGroup.pm - PERL WARNING wiederkehrend
« Antwort #2 am: 12 Februar 2018, 19:34:31 »
Hallo,

Zitat
bitte zeig mal ein list der readingsGroup. ich glaube deine regex sind falsch.
Ich hoffe die richtige RG erwischt zu haben, da 3 Stück in einem Room sind. Das ist jedoch die einzige wo alle 3 argumente DMSG + TIME + MSGCNT dargestellt werden sollen.

Internals:
   DEF        <Sensor>,<Signal_Nano>,<Signal_radino>,<Empfang_Nano>,<Empfang_radino>,<Cnt_1>,<Cnt_2>
LASTInputDev=.*:+*._433Mhz_DMSG,+*._433Mhz_TIME,+*._433Mhz_MSGCNT,
NAME=CUL_FHTTK.*:+*._868Mhz_DMSG,+CUL_868Mhz_RAWMSG,+*._868Mhz_TIME,+*._868Mhz_MSGCNT
   NAME       Sensoranalyse
   NR         256
   NTFY_ORDER 50-Sensoranalyse
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   CONTENT:
     ABS700_79  1
     AURIOL_234 1
     CUL_FHTTK_195b30 1
     CUL_FHTTK_66e5dc 1
     CUL_FHTTK_81460e 1
     CUL_FHTTK_8ee4f9 1
     CUL_FHTTK_eea27f 1
     CUL_FHTTK_ef953e 1
     CUL_WS_1   1
     CUL_WS_2   1
     CUL_WS_8   1
     FHT_1617   1
     FHT_1740   1
     FHT_202c   1
     GT_WT_02_202 1
     Hideki_30_1 1
     Hideki_30_2 1
     Hideki_30_3 1
     Hideki_30_4 1
     Hideki_30_5 1
     Hideki_31_1 1
     THR128_3   1
     W174_209   1
     xs1Dev_Aktor_01 1
     xs1Dev_Aktor_02 1
     xs1Dev_Aktor_03 1
     xs1Dev_Aktor_04 1
     xs1Dev_Aktor_05 1
     xs1Dev_Aktor_06 1
     xs1Dev_Aktor_07 1
     xs1Dev_Aktor_10 1
     xs1Dev_Aktor_11 1
     xs1Dev_Aktor_12 1
     xs1Dev_Aktor_13 1
     xs1Dev_Aktor_14 1
     xs1Dev_Aktor_15 1
     xs1Dev_Aktor_16 1
     xs1Dev_Aktor_17 1
     xs1Dev_Sensor_01 1
     xs1Dev_Sensor_02 1
   CONTENT2:
   DEVICES:
     ARRAY(0x413dbe0)
     ARRAY(0x4109b58)
     ARRAY(0x4127c38)
     ARRAY(0x4154078)
     ARRAY(0x4168a48)
     ARRAY(0x42909d8)
     ARRAY(0x4185448)
     ARRAY(0x4190ca0)
     ARRAY(0x4198840)
     ARRAY(0x4199560)
     ARRAY(0x41366b0)
     ARRAY(0x40f6c80)
     ARRAY(0x41647d8)
     ARRAY(0x4352bc0)
     ARRAY(0x40fc500)
     ARRAY(0x415f3d8)
     ARRAY(0x412ae08)
     ARRAY(0x4199380)
     ARRAY(0x419ffe8)
     ARRAY(0x412a658)
     ARRAY(0x41872c0)
     ARRAY(0x416e698)
     ARRAY(0x42906c0)
     ARRAY(0x40d7c78)
     ARRAY(0x4276178)
     ARRAY(0x41727e8)
     ARRAY(0x417bfe0)
     ARRAY(0x4276778)
     ARRAY(0x41a4168)
     ARRAY(0x40f7618)
     ARRAY(0x4149d20)
     ARRAY(0x42a4748)
     ARRAY(0x413e9e0)
     ARRAY(0x40e9580)
     ARRAY(0x42a28a0)
     ARRAY(0x4274038)
     ARRAY(0x3a6a3f0)
     ARRAY(0x40f6128)
     ARRAY(0x4181488)
     ARRAY(0x41990c8)
     ARRAY(0x4100698)
     ARRAY(0x419d4f0)
     ARRAY(0x4158b40)
     ARRAY(0x40d38f8)
     ARRAY(0x4197cd0)
   fhem:
     lastDefChange 2
     last_update 1518460150.65898
   helper:
     DEF       
     mapping    %DEVICE
     nameStyle  style="text-align:left; color:blue; padding: 0px 8px 0px 8px;"
     valueStyle {'style="color:black;; align=center;; ""'}
     cellStyle:
       c:4        style="text-align:center;;"
       c:5        style="text-align:center;;"
       c:6        style="text-align:center;;"
       r:1,c:4    style="color:blue;; text-align:center;;"
       r:1,c:5    style="color:blue;; text-align:center;;"
       r:1,c:6    style="color:blue;; text-align:center;;"
     positions:
       ABS700_79.nano_433Mhz_DMSG 2:1
       ABS700_79.nano_433Mhz_MSGCNT 2:5
       ABS700_79.nano_433Mhz_TIME 2:3
       ABS700_79.radino_433Mhz_DMSG 2:2
       ABS700_79.radino_433Mhz_MSGCNT 2:6
       ABS700_79.radino_433Mhz_TIME 2:4
       AURIOL_234.nano_433Mhz_DMSG 3:1
       AURIOL_234.nano_433Mhz_MSGCNT 3:5
       AURIOL_234.nano_433Mhz_TIME 3:3
       CUL_FHTTK_195b30.CUL_868Mhz_MSGCNT 40:5
       CUL_FHTTK_195b30.CUL_868Mhz_RAWMSG 40:2
       CUL_FHTTK_195b30.CUL_868Mhz_TIME 40:3
       CUL_FHTTK_195b30.nano_868Mhz_DMSG 40:1
       CUL_FHTTK_195b30.nano_868Mhz_MSGCNT 40:6
       CUL_FHTTK_195b30.nano_868Mhz_TIME 40:4
       CUL_FHTTK_81460e.CUL_868Mhz_MSGCNT 42:3
       CUL_FHTTK_81460e.CUL_868Mhz_RAWMSG 42:1
       CUL_FHTTK_81460e.CUL_868Mhz_TIME 42:2
       CUL_FHTTK_8ee4f9.CUL_868Mhz_MSGCNT 43:5
       CUL_FHTTK_8ee4f9.CUL_868Mhz_RAWMSG 43:2
       CUL_FHTTK_8ee4f9.CUL_868Mhz_TIME 43:3
       CUL_FHTTK_8ee4f9.nano_868Mhz_DMSG 43:1
       CUL_FHTTK_8ee4f9.nano_868Mhz_MSGCNT 43:6
       CUL_FHTTK_8ee4f9.nano_868Mhz_TIME 43:4
       CUL_FHTTK_eea27f.CUL_868Mhz_MSGCNT 44:5
       CUL_FHTTK_eea27f.CUL_868Mhz_RAWMSG 44:2
       CUL_FHTTK_eea27f.CUL_868Mhz_TIME 44:3
       CUL_FHTTK_eea27f.nano_868Mhz_DMSG 44:1
       CUL_FHTTK_eea27f.nano_868Mhz_MSGCNT 44:6
       CUL_FHTTK_eea27f.nano_868Mhz_TIME 44:4
       CUL_FHTTK_ef953e.CUL_868Mhz_MSGCNT 45:3
       CUL_FHTTK_ef953e.CUL_868Mhz_RAWMSG 45:1
       CUL_FHTTK_ef953e.CUL_868Mhz_TIME 45:2
       CUL_WS_8.nano_433Mhz_DMSG 10:1
       CUL_WS_8.nano_433Mhz_MSGCNT 10:5
       CUL_WS_8.nano_433Mhz_TIME 10:3
       CUL_WS_8.radino_433Mhz_DMSG 10:2
       CUL_WS_8.radino_433Mhz_MSGCNT 10:6
       CUL_WS_8.radino_433Mhz_TIME 10:4
       GT_WT_02_202.nano_433Mhz_DMSG 14:1
       GT_WT_02_202.nano_433Mhz_MSGCNT 14:5
       GT_WT_02_202.nano_433Mhz_TIME 14:3
       Hideki_30_1.radino_433Mhz_DMSG 15:2
       Hideki_30_1.radino_433Mhz_MSGCNT 15:6
       Hideki_30_1.radino_433Mhz_TIME 15:4
       Hideki_30_2.nano_433Mhz_DMSG 16:1
       Hideki_30_2.nano_433Mhz_MSGCNT 16:5
       Hideki_30_2.nano_433Mhz_TIME 16:3
       Hideki_30_2.radino_433Mhz_DMSG 16:2
       Hideki_30_2.radino_433Mhz_MSGCNT 16:6
       Hideki_30_2.radino_433Mhz_TIME 16:4
       Hideki_30_3.nano_433Mhz_DMSG 17:1
       Hideki_30_3.nano_433Mhz_MSGCNT 17:5
       Hideki_30_3.nano_433Mhz_TIME 17:3
       Hideki_30_3.radino_433Mhz_DMSG 17:2
       Hideki_30_3.radino_433Mhz_MSGCNT 17:6
       Hideki_30_3.radino_433Mhz_TIME 17:4
       Hideki_30_4.nano_433Mhz_DMSG 18:1
       Hideki_30_4.nano_433Mhz_MSGCNT 18:5
       Hideki_30_4.nano_433Mhz_TIME 18:3
       Hideki_30_4.radino_433Mhz_DMSG 18:2
       Hideki_30_4.radino_433Mhz_MSGCNT 18:6
       Hideki_30_4.radino_433Mhz_TIME 18:4
       Hideki_30_5.nano_433Mhz_DMSG 19:1
       Hideki_30_5.nano_433Mhz_MSGCNT 19:5
       Hideki_30_5.nano_433Mhz_TIME 19:3
       Hideki_30_5.radino_433Mhz_DMSG 19:2
       Hideki_30_5.radino_433Mhz_MSGCNT 19:6
       Hideki_30_5.radino_433Mhz_TIME 19:4
       Hideki_31_1.nano_433Mhz_DMSG 20:1
       Hideki_31_1.nano_433Mhz_MSGCNT 20:5
       Hideki_31_1.nano_433Mhz_TIME 20:3
       THR128_3.nano_433Mhz_DMSG 21:1
       THR128_3.nano_433Mhz_MSGCNT 21:5
       THR128_3.nano_433Mhz_TIME 21:3
       THR128_3.radino_433Mhz_DMSG 21:2
       THR128_3.radino_433Mhz_MSGCNT 21:6
       THR128_3.radino_433Mhz_TIME 21:4
       W174_209.nano_433Mhz_DMSG 22:1
       W174_209.nano_433Mhz_MSGCNT 22:5
       W174_209.nano_433Mhz_TIME 22:3
       W174_209.radino_433Mhz_DMSG 22:2
       W174_209.radino_433Mhz_MSGCNT 22:6
       W174_209.radino_433Mhz_TIME 22:4
     valueColumn:
       nano_433Mhz_DMSG 1
       nano_433Mhz_MSGCNT 5
       nano_433Mhz_TIME 3
       radino_433Mhz_DMSG 2
       radino_433Mhz_MSGCNT 6
       radino_433Mhz_TIME 4
     values:
       formated:
         undef
         ARRAY(0x4277908)
         ARRAY(0x4126f40)
         ARRAY(0x4320158)
         ARRAY(0x418b7e8)
         ARRAY(0x42955d8)
         ARRAY(0x4126a90)
       orig:
         undef
         ARRAY(0x4353340)
         ARRAY(0x4274098)
         ARRAY(0x4176530)
         ARRAY(0x4175eb8)
         ARRAY(0x41007b8)
         ARRAY(0x41739a8)
       prefixsuffix:
         undef
         ARRAY(0x3a77ad8)
         ARRAY(0x41bc260)
         ARRAY(0x4296660)
         ARRAY(0x4109738)
         ARRAY(0x4295bd8)
         ARRAY(0x418c678)
Attributes:
   cellStyle  {
"r:1,c:4" => 'style="color:blue;; text-align:center;;"',
"r:1,c:5" => 'style="color:blue;; text-align:center;;"',
"r:1,c:6" => 'style="color:blue;; text-align:center;;"',
"c:4" => 'style="text-align:center;;"',
"c:5" => 'style="text-align:center;;"',
"c:6" => 'style="text-align:center;;"',
}
   group      5.0_Sonstiges
   mapping    %DEVICE
   nameStyle  style="text-align:left; color:blue; padding: 0px 8px 0px 8px;"
   room       99_Unbekannnt
   valueColumn {
nano_433Mhz_DMSG => 1,
radino_433Mhz_DMSG => 2,
nano_433Mhz_TIME => 3,
radino_433Mhz_TIME => 4,
nano_433Mhz_MSGCNT => 5,
radino_433Mhz_MSGCNT => 6,
}
   valueStyle {'style="color:black;; align=center;; ""'}
- FHEM v5.8 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) als Vergleichsempfänger
- Sensoren: 3x FHT 80b | 5x FHT 80 TF-2 | 2x S300TH | 1x WS7000-20 | 5x "Hideki" | THR128

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 17755
Antw:33_readingsGroup.pm - PERL WARNING wiederkehrend
« Antwort #3 am: 12 Februar 2018, 19:41:37 »
*. ist keine sinnvolle regex. es muss .* heißen.
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline HomeAuto_User

  • Developer
  • Full Member
  • ****
  • Beiträge: 234
Antw:33_readingsGroup.pm - PERL WARNING wiederkehrend
« Antwort #4 am: 12 Februar 2018, 20:08:27 »
Hallo,
danke. Ich werde es korrigieren.  :-*
- FHEM v5.8 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) als Vergleichsempfänger
- Sensoren: 3x FHT 80b | 5x FHT 80 TF-2 | 2x S300TH | 1x WS7000-20 | 5x "Hideki" | THR128