FHEM Forum

FHEM - Hausautomations-Systeme => Sonstige Systeme => Thema gestartet von: Homalix99 am 28 Januar 2019, 09:15:56

Titel: OBIS: Viele PERL WARNING: Use of uninitialized value im Logfile
Beitrag von: Homalix99 am 28 Januar 2019, 09:15:56
Hallo,
ich nutze einen IR Lesekopf an einem EHZ der Fa. eMH (Typ: Typ ehz PW8E2A6L0HQ20)
Soweit funktioniert alles, jedoch wird das fhem Logfile mit vielen Warnings zugemüllt
(hier ein Auszug):

2019.01.27 21:06:25.085 1: PERL WARNING: Use of uninitialized value $tmp2 in concatenation (.) or string at ./FHEM/47_OBIS.pm line 787, <GEN55> line 536.
2019.01.27 21:06:25.086 1: PERL WARNING: Use of uninitialized value in numeric gt (>) at ./FHEM/47_OBIS.pm line 793, <GEN55> line 536.
2019.01.27 21:06:45.076 1: PERL WARNING: Use of uninitialized value $tmp2 in concatenation (.) or string at ./FHEM/47_OBIS.pm line 787, <GEN55> line 538.
2019.01.27 21:06:45.077 1: PERL WARNING: Use of uninitialized value in numeric gt (>) at ./FHEM/47_OBIS.pm line 793, <GEN55> line 538.
2019.01.27 21:10:35.087 1: PERL WARNING: Use of uninitialized value $dataT in numeric eq (==) at ./FHEM/47_OBIS.pm line 342, <GEN55> line 554.
2019.01.27 21:10:35.088 1: PERL WARNING: Use of uninitialized value $data in substitution (s///) at ./FHEM/47_OBIS.pm line 349, <GEN55> line 554.
2019.01.27 21:10:35.088 1: PERL WARNING: Use of uninitialized value $data in substitution (s///) at ./FHEM/47_OBIS.pm line 350, <GEN55> line 554.
2019.01.27 21:10:35.089 1: PERL WARNING: Use of uninitialized value $data in string at ./FHEM/47_OBIS.pm line 351, <GEN55> line 554.
2019.01.27 21:10:35.089 1: PERL WARNING: Use of uninitialized value $msg in pattern match (m//) at ./FHEM/47_OBIS.pm line 330, <GEN55> line 554.


Hat vielleicht jemand einen Tipp?

Hier noch das Define:

Internals:
   DEF        /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AH065FCR-if00-port0 SML
   DeviceName /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AH065FCR-if00-port0
   FD         32
   MeterType  SML
   NAME       ZRZ
   NR         1221
   PARTIAL   
   STATE      opened
   TYPE       OBIS
   READINGS:
     2019-01-16 17:51:29   0.118.5.3.71.255 -1e+30
     2019-01-28 09:14:31   Hersteller      EMH
     2019-01-28 09:14:31   Power.av        -67.000
     2019-01-28 09:14:31   Powerconsumption 323
     2019-01-28 09:14:31   ZRZ_Status      1857796
     2019-01-28 09:14:31   power           -65
     2019-01-28 09:14:31   power_L1        -83
     2019-01-28 09:14:31   power_L2        130
     2019-01-28 09:14:31   power_L3        -113
     2019-01-28 07:48:58   state           opened
     2019-01-28 09:14:31   total_consumption 1366708.4
     2019-01-28 09:14:31   total_feed      2841342.5
   helper:
     BUFFER     
     EoM        1
     SPEED      5
     TRIGGERTIME 1548658138.22274
     Channels:
       1.0.36.7.0.255 power_L1
       1.0.56.7.0.255 power_L2
       1.0.76.7.0.255 power_L3
       1.0.96.5.0.255 ZRZ_Status
       1.0.96.50.1.255 Hersteller
     DEVICES:
       
       10
       
     directions:
     history:
       ARRAY(0x4d7b348)
       ARRAY(0x4cde7a8)
       ARRAY(0x4e75a00)
       ARRAY(0x4d90c80)
       ARRAY(0x4e8c840)
       ARRAY(0x4e561a0)
       ARRAY(0x4cec2d8)
       ARRAY(0x4d574a8)
       ARRAY(0x5028a90)
       ARRAY(0x4cde088)
       ARRAY(0x4cf2a78)
Attributes:
   channels   {"1.0.96.5.0.255"=>"ZRZ_Status","1.0.96.50.1.255"=>"Hersteller","1.0.36.7.0.255"=>"power_L1","1.0.56.7.0.255"=>"power_L2","1.0.76.7.0.255"=>"power_L3"}
   event-min-interval 10
   event-on-change-reading .*
   group      Verbrauchszähler
   icon       electric_meter_bidirectional
   interval   10
   room       Keller,PV_Anlage
   userReadings Power.av {movingAverage("ZRZ","power",100)},
Powerconsumption {ReadingsVal("PV_WR","SPOT_PACTOT",0) + ReadingsVal("ZRZ","power",0)}
   verbose    0


VG

Alex