FHEM Forum

FHEM - Hausautomations-Systeme => Zigbee => Thema gestartet von: punker am 10 Januar 2022, 08:32:17

Titel: Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: punker am 10 Januar 2022, 08:32:17
Moin,
habe seit dem heutigen Update folgende Perl Wanung im Log:
2022.01.10 08:20:43.383 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/31_HUEDevice.pm line 1495.
2022.01.10 08:20:43.384 1: stacktrace:
2022.01.10 08:20:43.384 1:     main::__ANON__                      called by ./FHEM/31_HUEDevice.pm (1495)
2022.01.10 08:20:43.385 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1947)
2022.01.10 08:20:43.385 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.10 08:20:43.385 1:     main::__ANON__                      called by fhem.pl (771)
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 10 Januar 2022, 15:41:11
danke. sollte morgen repariert sein.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: Jamo am 12 Januar 2022, 22:02:43
Ich habe mit dem heutigen update folgende Warnungen im Logile:

Internals:
   DEF        ME.IN.E.IP
   FUUID      5c42ff42-9101-5678-1234-3d2hh75368ssc5c7
   FVERSION   30_HUEBridge.pm:0.242960/2021-04-21
   INTERVAL   60
   NAME       PhilipsHue
   NOTIFYDEV  global
   NR         2146
   NTFY_ORDER 50-PhilipsHue
   STATE      connected
   TYPE       HUEBridge
   apiversion 1.48.0
   bridgeid   001788FFFE253FFA
   host       ME.IN.E.IP
   mac        00:17:88:gh:ef:cd
   manufacturer Signify
   modelName  Philips hue bridge 2015
   modelid    BSB002
   name       Philips Hue
   swversion  1948086000
   updatestate 0
   zigbeechannel 15
   READINGS:
     2021-06-09 15:48:24   alert           none
     2022-01-11 01:13:25   lastError       parameter, xy, is not modifiable. Device is set to off.
     2021-06-09 15:51:50   onoff           0
     2021-06-09 15:51:50   pct             0
     2021-06-09 15:48:24   reachable       1
     2022-01-12 21:53:36   state           connected
     2021-09-18 21:37:25   swupdate        ZGB_100B_010F - LedStrips-SAMR21 - 16.0
   helper:
     apiversion 77824
     count      0
     last_config_timestamp 1642020813
     offsetUTC  3600
     updatestate 0
     groups:
       1:
         class      Living room


022.01.12 21:53:36.249 1: PERL WARNING: Use of uninitialized value in join or string at ./FHEM/31_HUEDevice.pm line 1501.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/31_HUEDevice.pm line 1468.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/31_HUEDevice.pm line 1480.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1608.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/31_HUEDevice.pm line 1622.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1791.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1792.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1793.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1794.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1812.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1837.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1839.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1840.
2022.01.12 21:53:36.256 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/31_HUEDevice.pm line 1843.
2022.01.12 21:53:36.257 1: ERROR: empty name in readingsBeginUpdate
2022.01.12 21:53:36.257 1: stacktrace:
2022.01.12 21:53:36.257 1:     main::readingsBeginUpdate           called by ./FHEM/31_HUEDevice.pm (1854)
2022.01.12 21:53:36.257 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.257 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.257 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.257 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/31_HUEDevice.pm line 1887.
2022.01.12 21:53:36.257 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4947.
2022.01.12 21:53:36.257 1: readingsUpdate(,colormode,hs) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.257 1: stacktrace:
2022.01.12 21:53:36.257 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1887)
2022.01.12 21:53:36.257 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.257 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.257 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.257 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at ./FHEM/31_HUEDevice.pm line 1888.
2022.01.12 21:53:36.257 1: readingsUpdate(,bri,205) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.257 1: stacktrace:
2022.01.12 21:53:36.257 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1888)
2022.01.12 21:53:36.257 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.257 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.257 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.257 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at ./FHEM/31_HUEDevice.pm line 1889.
2022.01.12 21:53:36.258 1: readingsUpdate(,ct,500 (2000K)) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.258 1: stacktrace:
2022.01.12 21:53:36.258 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1894)
2022.01.12 21:53:36.258 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.258 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.258 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.258 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at ./FHEM/31_HUEDevice.pm line 1897.
2022.01.12 21:53:36.258 1: readingsUpdate(,hue,6553) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.258 1: stacktrace:
2022.01.12 21:53:36.258 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1897)
2022.01.12 21:53:36.258 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.258 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.258 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.258 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at ./FHEM/31_HUEDevice.pm line 1898.
2022.01.12 21:53:36.258 1: readingsUpdate(,sat,254) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.258 1: stacktrace:
2022.01.12 21:53:36.258 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1898)
2022.01.12 21:53:36.258 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.258 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.258 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.258 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/31_HUEDevice.pm line 1899.
2022.01.12 21:53:36.258 1: readingsUpdate(,xy,0.558,0.4086) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.258 1: stacktrace:
2022.01.12 21:53:36.258 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1899)
2022.01.12 21:53:36.258 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.258 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.258 1:     main::__ANON__                      called by fhem.pl (771)
2022.01.12 21:53:36.259 1: readingsUpdate(,reachable,1) missed to call readingsBeginUpdate first.
2022.01.12 21:53:36.259 1: stacktrace:
2022.01.12 21:53:36.259 1:     main::readingsBulkUpdate            called by ./FHEM/31_HUEDevice.pm (1900)
2022.01.12 21:53:36.259 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (1988)
2022.01.12 21:53:36.259 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.12 21:53:36.259 1:     main::__ANON__                      called by fhem.pl (771)

.
.
.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 13 Januar 2022, 09:24:44
zeig mal bitte noch die ausgabe von list TYPE=HUEDevice NR
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: Jamo am 13 Januar 2022, 09:36:48
Habe ich Dir per PM geschickt.
Ich habe alle Hue Lampen / Lightstrips mit der Phillips Bridge angebunden, alles andere wie Tradfri / Osram / etc über ConbeeII Deconz.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 13 Januar 2022, 13:52:29
irgendetwas ist bei dir komisch. bitte das ergebnis von {Dumper $modules{HUEDevice}{defptr}}
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 14 Januar 2022, 18:19:38
Hallo,

...ich kann das Problem von Jamo bestätigen.
Hab' dann die alte Version eingespielt und das LOG war damit sauber.

Bei Bedarf unterstütze ich auch gerne mit LOG-Auszüge etc....

Gutes Neues Jahr an alle 
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 15 Januar 2022, 11:56:10
sehr komisch...

könnt ihr bitte mal die HUEBridge version von hier: https://forum.fhem.de/index.php/topic,122075.msg1166634.html#msg1166634 probieren? hat das einfluß auf die meldungen?
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: Jamo am 15 Januar 2022, 13:30:56
Hallo Justme,
die HueBridge in kombination mit der HUEDevice.pm aus dem gleichen thread,
oder mit dem HUEDevice.pm aus dem HueDevice.pm vom fhem svn?
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 15 Januar 2022, 13:51:39
nur die bridge aus dem thread und das aktuelle device modul.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 16 Januar 2022, 12:43:44
Hallo Justme,


# $Id: 30_HUEBridge.pm 24296 2021-04-21 08:30:11Z justme1968 $
# $Id: 31_HUEDevice.pm 25444 2022-01-09 15:42:33Z justme1968 $

...im Einsatz und das Ergebnis nach restart fhem:


2022.01.16 12:39:58.830 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at .//FHEM/31_HUEDevice.pm line 1468.
2022.01.16 12:39:58.830 1: PERL WARNING: Use of uninitialized value in string eq at .//FHEM/31_HUEDevice.pm line 1480.
2022.01.16 12:39:58.831 1: PERL WARNING: Use of uninitialized value $name in hash element at .//FHEM/31_HUEDevice.pm line 1607.
2022.01.16 12:39:58.831 1: PERL WARNING: Use of uninitialized value in string eq at .//FHEM/31_HUEDevice.pm line 1621.
2022.01.16 12:39:58.831 1: PERL WARNING: Use of uninitialized value $name in hash element at .//FHEM/31_HUEDevice.pm line 1790.
2022.01.16 12:39:58.831 1: PERL WARNING: Use of uninitialized value $name in hash element at .//FHEM/31_HUEDevice.pm line 1791.
2022.01.16 12:39:58.832 1: PERL WARNING: Use of uninitialized value $name in hash element at .//FHEM/31_HUEDevice.pm line 1811.
2022.01.16 12:39:58.832 1: PERL WARNING: Use of uninitialized value $name in hash element at .//FHEM/31_HUEDevice.pm line 1836.
2022.01.16 12:39:58.832 1: PERL WARNING: Use of uninitialized value $name in hash element at .//FHEM/31_HUEDevice.pm line 1838.
2022.01.16 12:39:58.833 1: ERROR: empty name in readingsBeginUpdate
2022.01.16 12:39:58.833 1: stacktrace:
2022.01.16 12:39:58.833 1:     main::readingsBeginUpdate           called by .//FHEM/31_HUEDevice.pm (1853)
2022.01.16 12:39:58.833 1:     main::HUEDevice_Parse               called by .//FHEM/30_HUEBridge.pm (126)
2022.01.16 12:39:58.834 1:     main::HUEBridge_Read                called by fhem.pl (3896)
2022.01.16 12:39:58.834 1:     main::CallFn                        called by fhem.pl (774)
2022.01.16 12:39:58.834 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4682.
2022.01.16 12:39:58.834 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4946.
2022.01.16 12:39:58.835 1: readingsUpdate(,reachable,0) missed to call readingsBeginUpdate first.
2022.01.16 12:39:58.835 1: stacktrace:
2022.01.16 12:39:58.835 1:     main::readingsBulkUpdate            called by .//FHEM/31_HUEDevice.pm (1899)
2022.01.16 12:39:58.835 1:     main::HUEDevice_Parse               called by .//FHEM/30_HUEBridge.pm (126)
2022.01.16 12:39:58.836 1:     main::HUEBridge_Read                called by fhem.pl (3896)
2022.01.16 12:39:58.836 1:     main::CallFn                        called by fhem.pl (774)
2022.01.16 12:39:58.836 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at .//FHEM/31_HUEDevice.pm line 1940.
2022.01.16 12:39:58.836 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at .//FHEM/31_HUEDevice.pm line 1943.
2022.01.16 12:39:58.837 1: PERL WARNING: Use of uninitialized value in string ne at .//FHEM/31_HUEDevice.pm line 1969.
2022.01.16 12:39:58.837 1: readingsUpdate(,state,unreachable) missed to call readingsBeginUpdate first.
2022.01.16 12:39:58.837 1: stacktrace:
2022.01.16 12:39:58.837 1:     main::readingsBulkUpdate            called by .//FHEM/31_HUEDevice.pm (1969)
2022.01.16 12:39:58.837 1:     main::HUEDevice_Parse               called by .//FHEM/30_HUEBridge.pm (126)
2022.01.16 12:39:58.838 1:     main::HUEBridge_Read                called by fhem.pl (3896)
2022.01.16 12:39:58.838 1:     main::CallFn                        called by fhem.pl (774)
2022.01.16 12:39:58.838 1: PERL WARNING: Use of uninitialized value $dev in hash element at fhem.pl line 3765.


VG
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 16 Januar 2022, 13:06:04

Gerade update gemacht....,
..immer noch mit bekannten LOG-Fehlern:
30_HUEBridge.pm        24296 2021-04-21 08:30:11Z justme1968
31_HUEDevice.pm        25449 2022-01-10 14:41:00Z justme1968


LOG-fehlerfrei bleibt die Kombi...:
30_HUEBridge.pm        24296 2021-04-21 08:30:11Z justme1968
31_HUEDevice.pm        25430 2022-01-06 17:28:13Z justme1968

VG





VG
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 16 Januar 2022, 13:23:49

SIZE 86524 aus o.e. thread:    30_HUEBridge.pm        24296 2021-04-21 08:30:11Z justme1968
SIZE 86454                              31_HUEDevice.pm        25449 2022-01-10 14:41:00Z justme1968

....mit bekannten LOG-Fehler ...
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 16 Januar 2022, 13:35:50
bitte probiert mal die angehängte version.

kann es sein das ihr nicht alle lampen/gruppen/sensoren auch in fhem als device angelegt habt?

edit 2022-01-17: ist inzwischen eingecheckt
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 16 Januar 2022, 13:48:56

Ich verbinde mit deconz...und übernehme möglicherweise nicht alle Devices nach fhem....


Kleiner bug in deinem file ?:
2022.01.16 13:46:11.608 1: reload: Error:Modul 31_HUEDevice deactivated:
syntax error at .//FHEM/31_HUEDevice.pm line 1502, near ")
                                       return"

2022.01.16 13:46:11.608 0: syntax error at .//FHEM/31_HUEDevice.pm line 1502, near ")
                                       return"

2022.01.16 13:46:11.646 1: reload: Error:Modul 31_HUEDevice deactivated:
syntax error at .//FHEM/31_HUEDevice.pm line 1502, near ")
                                       return"

2022.01.16 13:46:11.646 0: syntax error at .//FHEM/31_HUEDevice.pm line 1502, near ")
                                       return"

2022.01.16 13:46:11.683 1: reload: Error:Modul 31_HUEDevice deactivated:
syntax error at .//FHEM/31_HUEDevice.pm line 1502, near ")
                                       return"

2022.01.16 13:46:11.683 0: syntax error at .//FHEM/31_HUEDevice.pm line 1502, near ")
                                       return"
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 16 Januar 2022, 14:26:15
sorry. ich habe die falsche version erwischt. ich habe oben jetzt die richtige angehängt. bitte noch mal probieren.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 16 Januar 2022, 15:24:27
Sorry ?.....DU verbrätst hier dein Wochenende für UNS...dafür DANKE !

Ich hab' mich mal grad bei  Boeuf Bourguignon mit Glühweingewürz, Polenta mit Thymian & Walnüssen, Parmesan
und einem schönen Seguret-Wein vergnüglich ausgeruht....  :o

P.S  :)
Es läuft seit 20 Minuten ohne LOG-Warnungen ....

VG




Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: daedalus0815 am 16 Januar 2022, 15:50:43
...und läuft immer noch  :)

Vielleicht können Punker & Jamo das noch bestätigen ?

VG
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: Jamo am 16 Januar 2022, 16:17:06
Hi,
ich probiers heute Abend. Aber ich kann schon mal bestätigen, das ich nicht alle Gruppen aus Deconz, in fhem als Device angelegt habe. Ich sag noch Bescheid.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 16 Januar 2022, 17:21:53
keine sorge, ich falle nicht vom fleisch und habe ebenfalls sehr gut gegessen :).

ich hab die version mal eingecheckt.
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: Jamo am 16 Januar 2022, 20:18:47
getestet, funktioniert.
Hammer dein Support und was Du hier leistest!
Danke justme!
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: punker am 20 Januar 2022, 08:25:28
Hi, nach dem heutigen Update leider wieder Perl-Warnungen.
2022.01.20 08:03:31.270 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/31_HUEDevice.pm line 1465.
2022.01.20 08:03:31.271 1: stacktrace:
2022.01.20 08:03:31.271 1:     main::__ANON__                      called by ./FHEM/31_HUEDevice.pm (1465)
2022.01.20 08:03:31.272 1:     main::HUEDevice_Parse               called by ./FHEM/30_HUEBridge.pm (2530)
2022.01.20 08:03:31.272 1:     main::HUEBridge_dispatch            called by FHEM/HttpUtils.pm (647)
2022.01.20 08:03:31.273 1:     main::__ANON__                      called by fhem.pl (771)
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: justme1968 am 20 Januar 2022, 08:38:22
sollte morgen behoben sein.


falls die meldung bei auch deutlich nach dem starten kommt: ist das eine runde oder eckige bridge und ist bridge firmware aktuell?
Titel: Antw:Perl Warning seit heutigem Update von 31_HUEDevice.pm
Beitrag von: punker am 20 Januar 2022, 08:43:11
Bei mir direkt nach dem Neustart, habe einen Deconz2-Stick.