[73_GardenaSmartBridge, 74_GardenaSmartDevice] - Module für Gardena Smart System

Begonnen von CoolTux, 05 August 2017, 23:17:06

Vorheriges Thema - Nächstes Thema

zife

Im fhem-LOG? (also nicht im Device-Log)?
Kann ich nicht finden... nur die ARRAY-Fehlermeldung von oben.

Muss ich mehr Details reinholen als verbose 3?
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Zitat von: zife am 01 Februar 2022, 10:08:07
Im fhem-LOG? (also nicht im Device-Log)?
Kann ich nicht finden... nur die ARRAY-Fehlermeldung von oben.

Muss ich mehr Details reinholen als verbose 3?

Hast Du auch die neue Version installiert? Da dürfte die Array Meldung gar nicht mehr kommen. Ja im FHEM Log findest Du die Meldung.. Verbose 3 reicht.
Wie genau lautet die Array Meldung?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

zife

Option 1: ich bin zu dusselig (nicht ausgeschlossen, hatte erst 1 Kaffee)
Option 2: klappt nicht:


2022.02.01 10:14:30 3: GardenaSmartBridge (GardenaZentrale) - no Match for processing data
Can't use string ("ARRAY(0x4136ff0)") as an ARRAY ref while "strict refs" in use at ./FHEM/73_GardenaSmartBridge.pm line 926.


Kein "Response ist" zu finden
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Zitat von: zife am 01 Februar 2022, 10:17:20
Option 1: ich bin zu dusselig (nicht ausgeschlossen, hatte erst 1 Kaffee)
Option 2: klappt nicht:


2022.02.01 10:14:30 3: GardenaSmartBridge (GardenaZentrale) - no Match for processing data
Can't use string ("ARRAY(0x4136ff0)") as an ARRAY ref while "strict refs" in use at ./FHEM/73_GardenaSmartBridge.pm line 926.


Kein "Response ist" zu finden

Weder noch. Ich habe nicht richtig geschaut. Er kann ja gar nicht die Ausgabe bringen wenn er vorher schon abstürzt durch die can't use string Geschichte.

Neue Version online.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

zife

Ah, jetzt ja!

Die Abstürze/Neustarts sind jetzt weg, dem entsprechend ist die CPU-Last nur noch sporadisch auf >90%, also kein Vergleich zu vorher.

Hier die "neuen" Log-Einträge.


2022.02.01 11:28:07 3: GardenaSmartBridge (GardenaZentrale) - enabled
2022.02.01 11:28:07 3: GardenaSmartBridge (GardenaZentrale) - send credentials to fetch Token and locationId
2022.02.01 11:28:10 3: GardenaSmartBridge (GardenaZentrale) - fetch locations id
2022.02.01 11:28:10 3: GardenaSmartBridge (GardenaZentrale) - processed locations id. ID is 4b6b[anonymisiert]
2022.02.01 11:28:11 3: GardenaSmartBridge (GardenaZentrale) - no Match for processing data
2022.02.01 11:28:13 3: GardenaSmartBridge (GardenaZentrale) - It looks like so is no Array reference at response
2022.02.01 11:28:13 3: GardenaSmartBridge (GardenaZentrale) - Response ist: $VAR1 = 'ARRAY(0x2cf9e30)';


Die letzten 3 Zeilen kommen minütlich mit identischem Inhalt.

Der Hex-Code des ARRAYs ändert sich mit jedem fhem-Neustart. Hier die Antwort nach einem shutdown restart

2022.02.01 11:30:35 3: GardenaSmartBridge (GardenaZentrale) - no Match for processing data
2022.02.01 11:30:37 3: GardenaSmartBridge (GardenaZentrale) - It looks like so is no Array reference at response
2022.02.01 11:30:37 3: GardenaSmartBridge (GardenaZentrale) - Response ist: $VAR1 = 'ARRAY(0x3ab7cc8)';


Und noch ein Neustart später:

2022.02.01 11:31:46 3: GardenaSmartBridge (GardenaZentrale) - no Match for processing data
2022.02.01 11:31:48 3: GardenaSmartBridge (GardenaZentrale) - It looks like so is no Array reference at response
2022.02.01 11:31:48 3: GardenaSmartBridge (GardenaZentrale) - Response ist: $VAR1 = 'ARRAY(0x3934e10)';



fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

zife

Eine Runde geht noch, weil's so schön ist.


2022.02.01 12:03:26 1: reload: Error:Modul 73_GardenaSmartBridge deactivated:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./FHEM/73_GardenaSmartBridge.pm line 904, <$fh> line 212.

2022.02.01 12:03:26 0: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./FHEM/73_GardenaSmartBridge.pm line 904, <$fh> line 212.

2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224.
2022.02.01 12:03:26 1: GardenaSmartDevice (Bloekmann) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Bloekmann) - defined GardenaSmartDevice with DEVICEID: ee351f7f-906[anonymisiert]
2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224, <$fh> line 245.
2022.02.01 12:03:26 1: GardenaSmartDevice (Wassermann) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Wassermann) - defined GardenaSmartDevice with DEVICEID: cf94[anonymisiert]
2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224, <$fh> line 261.
2022.02.01 12:03:26 1: GardenaSmartDevice (Fuehlmann_Mobil) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Fuehlmann_Mobil) - defined GardenaSmartDevice with DEVICEID: 840[anonymisiert]
2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224, <$fh> line 278.
2022.02.01 12:03:26 1: GardenaSmartDevice (Fuehlmann_Beet) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Fuehlmann_Beet) - defined GardenaSmartDevice with DEVICEID: 331[anonymisiert]
2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224, <$fh> line 295.
2022.02.01 12:03:26 1: GardenaSmartDevice (Fuehlmann_Hochbeet) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Fuehlmann_Hochbeet) - defined GardenaSmartDevice with DEVICEID: e6d[anonymisiert]
2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224, <$fh> line 312.
2022.02.01 12:03:26 1: GardenaSmartDevice (Fuehlmann_Rasen) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Fuehlmann_Rasen) - defined GardenaSmartDevice with DEVICEID: 842[anonymisiert]
2022.02.01 12:03:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 224, <$fh> line 328.
2022.02.01 12:03:26 1: GardenaSmartDevice (Hausmann) - no I/O device
2022.02.01 12:03:26 3: GardenaSmartDevice (Hausmann) - defined GardenaSmartDevice with DEVICEID: 117[anonymisiert]


...und dann weiter unten im LOG, wen wundert's

2022.02.01 12:03:40 1: Messages collected while initializing FHEM:configfile: Cannot load module GardenaSmartBridge
setuuid: Please define GardenaZentrale first
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Bin jetzt gleich auf Nummer sicher gegangen. Ich habe die Prüfung angepasst und gleichzeitig die Dumperausgabe gleich nach dem einlesen vom response gesetzt. Jetzt sehen wir auf jeden Fall was.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

zife

Nach Modulreload:
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 905.
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 950.



Nach shutdown restart:
2022.02.01 12:48:33 1: reload: Error:Modul 73_GardenaSmartBridge deactivated:
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 905, <$fh> line 212.
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 950, <$fh> line 212.

2022.02.01 12:48:33 0: Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 905, <$fh> line 212.
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 950, <$fh> line 212.
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

zife

Hab Dir nen Kaffee für zwischendurch an Deine Paypal geschickt (ok, physisch holen musst Du ihn selbst)
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Zitat von: zife am 01 Februar 2022, 12:51:06
Nach Modulreload:
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 905.
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 950.



Nach shutdown restart:
2022.02.01 12:48:33 1: reload: Error:Modul 73_GardenaSmartBridge deactivated:
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 905, <$fh> line 212.
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 950, <$fh> line 212.

2022.02.01 12:48:33 0: Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 905, <$fh> line 212.
Global symbol "$response" requires explicit package name (did you forget to declare "my $response"?) at ./FHEM/73_GardenaSmartBridge.pm line 950, <$fh> line 212.


Sehr gut wir sind also weiter. Neues update
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

zife


2022.02.01 12:59:12 3: GardenaSmartBridge (GardenaZentrale) - processed locations id. ID is 4b6[anonymisiert]
2022.02.01 12:59:13 3: GardenaSmartBridge (GardenaZentrale) - no Match for processing data
2022.02.01 12:59:14 3: GardenaSmartBridge (GardenaZentrale) - Response ist: $VAR1 = undef;

2022.02.01 12:59:14 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/73_GardenaSmartBridge.pm line 940.
2022.02.01 12:59:14 1: PERL WARNING: Use of uninitialized value $dmsg in pattern match (m//) at fhem.pl line 4086.
2022.02.01 12:59:14 1: PERL WARNING: Use of uninitialized value $dmsg in concatenation (.) or string at fhem.pl line 4150.
2022.02.01 12:59:14 1: PERL WARNING: Use of uninitialized value $dmsg in concatenation (.) or string at fhem.pl line 4151.
2022.02.01 12:59:14 3: GardenaZentrale: Unknown code , help me!
2022.02.01 12:59:14 3: GardenaSmartBridge (GardenaZentrale) - It looks like so is no Array reference at response
2022.02.01 12:59:14 3: GardenaSmartBridge (GardenaZentrale) - Response ist: $VAR1 = undef;


"Unknown code, help me!"  ;D ;D ;D
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Ok soweit so gut. Jetzt muss ich schauen wieso das leer ist. Ich muss noch eine Ausgabe einbauen. Hast noch Zeit und Lust?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

zife

Läuft bei mir nebenher am zweiten Rechner, sitze eh hier für die Arbeit. Also... kein Problem, immer her damit!
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

CoolTux

Zitat von: zife am 01 Februar 2022, 13:04:50
Läuft bei mir nebenher am zweiten Rechner, sitze eh hier für die Arbeit. Also... kein Problem, immer her damit!

Neue Version ist da
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net