PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.

Begonnen von Spezialtrick, 25 September 2016, 12:31:21

Vorheriges Thema - Nächstes Thema

Spezialtrick

Hallo zusammen,

ich habe gestern meine bestehende Fhem Konfiguration erfolgreich von FileLog auf DBLog umgestellt. Leider findet sich seither alle paar Sekunden der im Thema genannte Warnung im Hauptlogfile wieder.  :-\


2016.09.25 12:26:13 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:13 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:13 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:18 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:19 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:19 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:21 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:23 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:24 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:24 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:29 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:29 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:34 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:34 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:34 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:39 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 12:26:39 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.


Zudem taucht auch immer wieder nachfolgende Zeile im Log auf:

2016.09.24 22:34:47 1: Error:  has no TYPE

Weiß zufällig jemand woran das liegt? Vor der Umstellung hatte ich diese Warnungen/Fehler nicht.
FHEM - Debmatic - Zigbee2MQTT - Homekit

betateilchen

Das ist jetzt schon Dein zweiter Thread zu dem Thema. Mal schauen, wieviele es noch geben wird.

Die Meldung hat was mit dem forking von DbLog in fhem zu tun. Mehr fällt mir dazu spontan nicht ein.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Spezialtrick

Zitat von: betateilchen am 25 September 2016, 16:07:11
Das ist jetzt schon Dein zweiter Thread zu dem Thema. Mal schauen, wieviele es noch geben wird.

Das ist richtig. Habe es gestern versehentlich in den Anfängerbereich gepostet und Puschel74 bereits, darum gebeten das Thema zu löschen. ICh denke, dass es hier besser reinpasst. Es scheint ja ein Fehler zu sein.

ZitatDie Meldung hat was mit dem forking von DbLog in fhem zu tun. Mehr fällt mir dazu spontan nicht ein.

Verwiesen wird ja auf diese Zeile in der fhem.pl:


   $h->{DBH}->{InactiveDestroy} = 1


und im Zusammenhang:

# Child here
  # Close FDs as we cannot restart FHEM if child keeps TCP Serverports open
  foreach my $d (sort keys %defs) {
    my $h = $defs{$d};
    $h->{DBH}->{InactiveDestroy} = 1
      if($h->{TYPE} eq 'DbLog' && $h->{DBH}); #Forum #43271
    TcpServer_Close($h) if($h->{SERVERSOCKET});
    if($h->{DeviceName}) {
      require "$attr{global}{modpath}/FHEM/DevIo.pm";
      DevIo_CloseDev($h,1);
    }
  }
FHEM - Debmatic - Zigbee2MQTT - Homekit

Burny4600

Diese Meldung taucht bei mir auch seit kurzem auf.
2016.09.24 19:54:57 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.

Dachte vorher das es etwas mit dem ModbusServer zu tun hätte weil dieser auch unerklärliche Meldungen im LOG produziert,
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

betateilchen

Zitat von: Spezialtrick am 25 September 2016, 16:15:42
Verwiesen wird ja auf diese Zeile in der fhem.pl:

   $h->{DBH}->{InactiveDestroy} = 1


Wenn Du schon eine einzelne Zeile zitierst, dann mach es bitte auch richtig und zitiere die gesamte perl Anweisung, um die es geht.


    $h->{DBH}->{InactiveDestroy} = 1
      if($h->{TYPE} eq 'DbLog' && $h->{DBH}); #Forum #43271


Und da dort der Verweis auf einen Forum-Thread (43271) angegeben ist, lohnt sich immer ein Blick in diesen ursprünglichen Thread.

-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Burny4600

Habe den LOG Eintrag noch ein wenig erweitert.
2016.09.25 18:55:12 4: F2F_sduino_AB: SIGNALduino sduino_AB P12#751ABA4A32BFDD51EB
2016.09.25 18:55:12 5: Triggering sduino_AB (1 changes)
2016.09.25 18:55:12 5: Starting notify loop for sduino_AB, first event UNKNOWNCODE P12#751ABA4A32BFDD51EB
2016.09.25 18:55:12 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.25 18:55:12 3: stacktrace:
2016.09.25 18:55:12 3:     main::__ANON__                      called by fhem.pl (4584)
2016.09.25 18:55:12 3:     main::fhemFork                      called by FHEM/Blocking.pm (122)
2016.09.25 18:55:12 3:     main::BlockingStart                 called by FHEM/Blocking.pm (78)
2016.09.25 18:55:12 3:     main::BlockingCall                  called by ./FHEM/70_JSONMETER.pm (378)
2016.09.25 18:55:12 3:     main::JSONMETER_GetUpdate           called by fhem.pl (2824)
2016.09.25 18:55:12 3:     main::HandleTimeout                 called by fhem.pl (603)


Kommt diese PERL WARNING Meldung vom Sduino oder JSONMETER?
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

Spezialtrick

Zitat von: betateilchen am 25 September 2016, 18:15:06
Wenn Du schon eine einzelne Zeile zitierst, dann mach es bitte auch richtig und zitiere die gesamte perl Anweisung, um die es geht.

Aufgrund der fehlenden Zeilennummer habe ich die Zeile einzeln und unmittelbar danach im gleichen Post im Zusammenhang gepostet.  ;)

Dem Verweis auf den anderen Post habe ich auch schon gesehen und habe den Lösungsvorschlag von Rudi ausprobiert.

Zitat von: rudolfkoenig am 31 Oktober 2015, 14:20:23
Viel wahrscheinlicher ist es, dass versehentlich ein unvollstaendiges device (ohne TYPE) angelegt wurde, durch ein Zugriff auf $defs{Etwas}. "Etwas" kriegt man raus durch
{ join(",",grep { !defined($defs{$_}{TYPE}) } keys %defs) }
(eingegeben in der Kommandozeile).

Leider erhalte ich nach der Eingabe in die Kommando Zeile von Fhem keine Ausgabe, obwohl ich ja auch die Meldung "Error:  has no TYPE" bekommen, die wiederum zu Rudi Aussage passen würde.

Hast du den Fehler auch Burny4600?

Danke für die Verlinkung im anderen Post, Udo!  :)

Edit:

Bei mir taucht der Fehler immer im Zusammenhang mit dem Modul CUPS Switch auf:

2016.09.25 19:59:14 4: BlockingCall (CUPS_Switch_DoGetSpool): created child (13213), uses telnetForBlockingFn_1474797597 to connect back
2016.09.25 19:59:14 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
FHEM - Debmatic - Zigbee2MQTT - Homekit

rudolfkoenig

Zitat"Error:  has no TYPE"
Ein Geraet ohne Namen (NAME) hat auch kein Typ (TYPE).
Da hat wer (vermutlich der Benutzer aber evl auch ein Modulautor) $defs{""}{bla}{blub} oder so aehnlich ausgefuehrt.
Mehr Hinweise kriegt man (hoffentlich) mit
fhem> { join(",", map { join(",", keys $defs{$_}) if(!$_) } keys %defs) }


Spezialtrick

Danke für deine Antwort!

Leider gibt

{ join(",", map { join(",", keys $defs{$_}) if(!$_) } keys %defs) }

wenig brauchbares aus:

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

???
FHEM - Debmatic - Zigbee2MQTT - Homekit

rudolfkoenig


betateilchen

-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Spezialtrick

Zitat von: rudolfkoenig am 26 September 2016, 10:29:33
Vmtl. existiert z.Zt. auch kein Problem.

D.h. ich soll den Logeintrag einfach ignorieren? Da muss doch irgendwo ein Fehler sein. Ich meine das geht den ganze Tag so weiter. Hier ein Auszug der letzten zwei Minuten:

2016.09.26 11:10:00 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:00 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:04 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:05 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:05 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:05 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:09 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:10 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:10 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:15 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:15 3: SONOS0: Connection accepted from localhost:49939
2016.09.26 11:10:15 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:15 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:15 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:21 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:21 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:25 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:26 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:26 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:26 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:31 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:32 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:35 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:36 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:37 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:37 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:41 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:42 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:42 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:45 3: SONOS0: Connection accepted from localhost:49972
2016.09.26 11:10:46 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:47 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:47 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:52 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:53 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:56 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:56 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:58 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:10:58 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:03 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:03 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:07 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:07 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:08 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:08 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:12 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:13 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:13 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:18 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:18 3: SONOS0: Connection accepted from localhost:50007
2016.09.26 11:11:18 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:19 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:19 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:22 1: Error:  has no TYPE
2016.09.26 11:11:25 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:25 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:28 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:29 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:29 1: PERL WARNING: keys on reference is experimental at (eval 118881) line 1.
2016.09.26 11:11:29 3: eval: { join(",", map { join(",", keys $defs{$_}) if(!$_) } keys %defs) }
2016.09.26 11:11:30 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:30 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:32 1: PERL WARNING: keys on reference is experimental at (eval 118884) line 1.
2016.09.26 11:11:32 3: eval: { join(",", map { join(",", keys $defs{$_}) if(!$_) } keys %defs) }
2016.09.26 11:11:35 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:35 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:39 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:39 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:40 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:40 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:44 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:45 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:46 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:48 3: SONOS0: Connection accepted from localhost:50040
2016.09.26 11:11:49 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:51 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:51 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:56 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:56 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:11:59 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:00 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:01 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:01 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:06 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:06 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:09 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:10 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:12 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:12:12 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
FHEM - Debmatic - Zigbee2MQTT - Homekit

betateilchen

Ich würde ja mal die beiden zusätzlichen (nicht eingerückten) Zeilen einbauen und dann ins Log schauen :)


  # Close FDs as we cannot restart FHEM if child keeps TCP Serverports open
use Data::Dumper;
  foreach my $d (sort keys %defs) {
    my $h = $defs{$d};
Debug Dumper($h);
    $h->{DBH}->{InactiveDestroy} = 1
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Burny4600

Anbei das erweiterte LOG.
Sieht nach JSONMETER aus.
2016.09.26 11:34:55 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:34:55 3: stacktrace:
2016.09.26 11:34:55 3:     main::__ANON__                      called by fhem.pl (4584)
2016.09.26 11:34:55 3:     main::fhemFork                      called by FHEM/Blocking.pm (122)
2016.09.26 11:34:55 3:     main::BlockingStart                 called by FHEM/Blocking.pm (78)
2016.09.26 11:34:55 3:     main::BlockingCall                  called by ./FHEM/70_JSONMETER.pm (378)
2016.09.26 11:34:55 3:     main::JSONMETER_GetUpdate           called by fhem.pl (2824)
2016.09.26 11:34:55 3:     main::HandleTimeout                 called by fhem.pl (603)
2016.09.26 11:34:55 5: Cmd: >{JSONMETER_ParseJsonFile('EnergieEG|1|SFRUUC8xLjAgMjAwIE9LDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCg0KeyJjbnQiOiI1MjAxLDcxMyIsInB3ciI6MTg3LCJsdmwiOjEwMywiZGV2IjoiIiwiZGV0IjoiJmJ1bGw7IiwiY29uIjoiT0siLCJzdHMiOiIoMjEpIiwicmF3IjowfQ==')}<
2016.09.26 11:34:55 4: JSONMETER EnergieEG: ParseJsonFile.572 Extract 2 readings from 2 json parts
2016.09.26 11:34:55 5: JSONMETER EnergieEG: ParseJsonFile.575 Handle 1 3 electricityConsumed 3 1 cnt
2016.09.26 11:34:55 4: JSONMETER EnergieEG: ParseJsonFile.607 Value 5201713 for reading electricityConsumed extracted from '"cnt":"5201,713","pwr":187,"lvl":103,"dev":"","det":"&bull;","con":"OK","sts":"(21)","raw":0}'
2016.09.26 11:34:55 5: JSONMETER EnergieEG: ParseJsonFile.575 Handle 1 3 electricityPower 1 0 pwr
2016.09.26 11:34:55 4: JSONMETER EnergieEG: ParseJsonFile.607 Value 187 for reading electricityPower extracted from '"cnt":"5201,713","pwr":187,"lvl":103,"dev":"","det":"&bull;","con":"OK","sts":"(21)","raw":0}'
2016.09.26 11:34:55 5: Triggering EnergieEG (1 changes)
2016.09.26 11:34:55 5: Starting notify loop for EnergieEG, first event electricityPower: 187
2016.09.26 11:34:55 5: Triggering Aktueller_Verbrauch (1 changes)
2016.09.26 11:34:55 5: Starting notify loop for Aktueller_Verbrauch, first event EnergieEG.electricityPower: <div style="text-align:right">187 W</div>
2016.09.26 11:34:55 5: SenRSSI: not on any display, ignoring notify
2016.09.26 11:34:55 5: battStatus: not on any display, ignoring notify
2016.09.26 11:34:55 4: Connection accepted from telnetForBlockingFn_1474882249_127.0.0.1_52362
2016.09.26 11:34:55 5: Cmd: >{JSONMETER_ParseJsonFile('EnergieOG1|1|SFRUUC8xLjAgMjAwIE9LDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCg0KeyJjbnQiOiI2MjA3LDU4OCIsInB3ciI6MjYwLCJsdmwiOjAsImRldiI6IiIsImRldCI6IiIsImNvbiI6Ik9LIiwic3RzIjoiKDQyKSIsInJhdyI6MH0=')}<
2016.09.26 11:34:55 5: Triggering EnergieOG1 (1 changes)
2016.09.26 11:34:55 5: Starting notify loop for EnergieOG1, first event electricityPower: 260
2016.09.26 11:34:55 5: Triggering Aktueller_Verbrauch (1 changes)
2016.09.26 11:34:55 5: Starting notify loop for Aktueller_Verbrauch, first event EnergieOG1.electricityPower: <div style="text-align:right">260 W</div>
2016.09.26 11:34:55 5: SenRSSI: not on any display, ignoring notify
2016.09.26 11:34:55 5: battStatus: not on any display, ignoring notify
2016.09.26 11:34:55 4: BlockingCall (JSONMETER_GetJsonFile): created child (9159), uses telnetForBlockingFn_1474882249 to connect back
2016.09.26 11:34:55 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:34:55 3: stacktrace:
2016.09.26 11:34:55 3:     main::__ANON__                      called by fhem.pl (4584)
2016.09.26 11:34:55 3:     main::fhemFork                      called by FHEM/Blocking.pm (122)
2016.09.26 11:34:55 3:     main::BlockingStart                 called by FHEM/Blocking.pm (78)
2016.09.26 11:34:55 3:     main::BlockingCall                  called by ./FHEM/70_JSONMETER.pm (378)
2016.09.26 11:34:55 3:     main::JSONMETER_GetUpdate           called by fhem.pl (2824)
2016.09.26 11:34:55 3:     main::HandleTimeout                 called by fhem.pl (603)
2016.09.26 11:34:55 4: BlockingCall (JSONMETER_GetJsonFile): created child (9160), uses telnetForBlockingFn_1474882249 to connect back
2016.09.26 11:34:55 4: JSONMETER EnergieOG2: ReadFromUrl.450 opening socket to host 192.168.17.242 port 80
2016.09.26 11:34:55 4: JSONMETER EnergieOG2: ReadFromUrl.467 Get json file from http://192.168.17.242:80/a?f=j
2016.09.26 11:34:55 5: JSONMETER EnergieOG2: ReadFromUrl.473 received:
HTTP/1.0 200 OK
Content-Type: application/json

{"cnt":"10759,278","pwr":559,"lvl":0,"dev":"","det":"","con":"OK","sts":"(34)","raw":0}
2016.09.26 11:34:55 4: JSONMETER EnergieOG2: ReadFromUrl.475 Socket closed
2016.09.26 11:34:55 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4584.
2016.09.26 11:34:55 3: stacktrace:
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

Spezialtrick

#14
Zitat von: betateilchen am 26 September 2016, 11:19:51
Ich würde ja mal die beiden zusätzlichen (nicht eingerückten) Zeilen einbauen und dann ins Log schauen :)

Habe es grad mal gemacht und das Log explodiert förmlich.  :o

2016.09.26 11:50:30 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4586.
2016.09.26 11:50:30 1: DEBUG>{
  'DEF' => 'CUL_TCM97001_195',
  'STATE' => 'Defined',
  'CFGFN' => '',
  'NAME' => 'AURIOL_195',
  'lastH' => 0,
  'lastT' => 0,
  'TYPE' => 'CUL_TCM97001',
  'NR' => 132,
  'CODE' => 'CUL_TCM97001_195'
}


Kann man darauf schließen, dass der Übeltäter das Modul CUL_TCM97001 ist?

Zusätzlich taucht nun auch noch diese ähnliche Meldung auf:

2016.09.26 12:05:39 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/10_CUL_HM.pm line 2862.
2016.09.26 12:05:39 1: PERL WARNING: Use of uninitialized value in pattern match (m//) at ./FHEM/10_CUL_HM.pm line 2862.
FHEM - Debmatic - Zigbee2MQTT - Homekit