[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

Zitat von: CoolTux am 30 September 2020, 09:07:22
Klasse Leistung. Vielen vielen Dank. Ich denke das ich Anfang nächsten Jahres auf jeden Fall dazu kommen werde hier weiter machen zu können.

Ich habe Deinen Text mal in meinem privaten Git als Issues hinterlegt
https://git.cooltux.net/FHEM/mod-GardenaSmart/issues/2


PS: Erinnere mich bitte auf alle Fälle Anfang Januar noch mal falls ich mich nicht melde.
(...)

Grüße

Sorry, wenn ich hier total quer einsteige - aber ich hätte ja schon Anfang des Jahres dran erinnern sollen. Thema zusätzliche Funktionen für die Steuerung der Irrigation Control.
Diese Erinnerung mach ich jetzt mal (arg verspätet) - und hoffe, dass in den zahlreichen Posts seitdem nicht schon eine/eine andere Lösung drinstand... komme mit dem Lesen grad gar nicht nach!

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

BOFH

Zitat von: zife am 21 April 2021, 14:15:52
Sorry, wenn ich hier total quer einsteige - aber ich hätte ja schon Anfang des Jahres dran erinnern sollen. Thema zusätzliche Funktionen für die Steuerung der Irrigation Control.
Diese Erinnerung mach ich jetzt mal (arg verspätet) - und hoffe, dass in den zahlreichen Posts seitdem nicht schon eine/eine andere Lösung drinstand... komme mit dem Lesen grad gar nicht nach!

Was kann die denn ? Theoretisch? Ventil 1-x öffnen?  Noch mehr? Was soll das Modul abdecken?
Hab mir das damals mit hm gebaut weils günstiger war....
RasPi 4
ZWave.me ZME_UZB (Fibaro Auge Gen.2)/ HM-USB2 (Thermostat | Hutschienen Relais | 1-/2fach Schalter) / Enigma2 / PhilipsTV / Philips HUE (GO|Bulb|Stripe (plus)) / Somfy IO Rollos / BOSCH HSG636XS6 / SONOS (P1, P3, P5 2.Gen, SUB, Bar)

zife

Die Irrigation Control in der App kann:
... Ventil x an für y Minuten
... Ventil x aus
... Alle Ventile aus
... Ventile nach Zeitplan
... Zeitpläne pausieren für Zeitraum y
... Zeitpläne zusätzlich nach Sensoren steuern
... Zeitpläne nach Wettervorhersage steuern
... Zeitpläne nach Sonnenauf-/untergang steuern.

Ventil an/aus kann das Modul ja schon. Für sehr sinnvoll halte ich die Erweiterungen:
... Alle Ventile aus
... Zeitpläne pausieren und reaktivieren (analog Mäher).

Gerade jetzt, wo es nachts noch oft frostig ist (bei uns zumindest), würde ich gerne die Zeitpläne für z.B. 1 Woche aussetzen. Die App begrenzt das künstlich auf ein paar Tage, das könnte man mit fhem sogar besser machen. Oder, wenn man abends länger draussen sitzt, soll der Zeitplan zB. 1x aussetzen. Das kann man m.E. heute mit dem fhem-Modul nicht realisieren.
Wenn ich die Ventile ausschalte (Laufzeit 0 Sekunden), dann könnte es sein, dass ich mir gerade meine Feuerschale anmache und eine Minute später der Zeitplan aktiv wird...

Ich hatte damals die für diese Cloud-Funktionen notwendigen Gardena-Kommandos rausgesammelt - nur mit der Umsetzung im Modul hapert es bei mir dann doch.


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

choetzu

Zitat von: choetzu am 20 April 2021, 20:58:19
jep. ist aktuell.

ich habe meinen Husqvarna nicht über Gardena eingebunden, sondern via HusqvarnaAutomower.

ich habe insgesamt 5 GardenaDevices eingebunden, 3 Sensoren, 1 Irrigation Control, 1 Water Control.. und im Log jeweils 10 Fehlermeldungen alle 5 Minuten.

was könnte das sein?

Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.


Ich kriege diese Fehlermeldung immer noch. Sie müllt mir leider auch das Logfile zu... Kann mir hier jemand helfen? Danke. Ich habe übrigens die readingValueLanguage mal auf EN gestellt. Leider ohne Effekt.

Danke.
Lg C
Raspi3, EnOcean, Zwave, Homematic

CoolTux

Zitat von: choetzu am 22 April 2021, 08:59:09
Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:45:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:38 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 08:51:39 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 607.


Ich kriege diese Fehlermeldung immer noch. Sie müllt mir leider auch das Logfile zu... Kann mir hier jemand helfen? Danke. Ich habe übrigens die readingValueLanguage mal auf EN gestellt. Leider ohne Effekt.

Danke.
Lg C

Kannst Du bitte einmal vor der Zeile 607 also in Zeile 606 folgendes einfügen und FHEM dann neustarten

Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $decode_json->{settings}[$settings]{name}");


Sobald Du wieder den Fehler bekommst benötige ich den Fehler plus die Debug Meldungen
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

teufelchen

Hallo CoolTux,

das Modul läuft bei mir gut.
Wenn ich jedoch FHEM neu starte, dann verbindet sich das nicht mehr korrekt.
Im Status ist dann Fehler 404.
Wenn ich dann über RAW DEFINITION die GardenaBridge nochmal neu definiere, kommt auch ein Connected.

Brauchst Du mehr Infos, wenn ja welche?
Raspberry Pi 3
CUL433: V 1.26.05 a-culfw Build: 311 (2018-12-09_19-12-53) CUL433 (F-Band: 433MHz)
freq:433.920MHz bWidth:325KHz rAmpl:42dB sens:4dB
Debmatic mit RPI-RF-MOD

choetzu

Zitat von: CoolTux am 22 April 2021, 09:14:37
Kannst Du bitte einmal vor der Zeile 607 also in Zeile 606 folgendes einfügen und FHEM dann neustarten

Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $decode_json->{settings}[$settings]{name}");


Sobald Du wieder den Fehler bekommst benötige ich den Fehler plus die Debug Meldungen

Danke CoolTux, ich habe das so eingebunden:
    do {
        #Log3 $name, 1, "Settings pro Device : ".$decode_json->{settings}[$settings]{name};
        #Log3 $name, 1, " - KEIN ARRAY" if ( ref( $decode_json->{settings}[$settings]{value} ) ne "ARRAY");
        #Log3 $name, 1, " - IST ARRAY" if ( ref( $decode_json->{settings}[$settings]{value} ) eq "ARRAY");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $decode_json->{settings}[$settings]{name}");
        if ( $decode_json->{settings}[$settings]{name} eq 'schedules_paused_until'
              || $decode_json->{settings}[$settings]{name} eq 'eco_mode'
            )
        { 


und dann einen "reload 74_GardenaSmartDevice.pm" gemacht...

Das Logfile sieht nun wie folgt aus:
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Initialize redefined at ./FHEM/74_GardenaSmartDevice.pm line 171.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Define redefined at ./FHEM/74_GardenaSmartDevice.pm line 192.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Undef redefined at ./FHEM/74_GardenaSmartDevice.pm line 254.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Attr redefined at ./FHEM/74_GardenaSmartDevice.pm line 266.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Set redefined at ./FHEM/74_GardenaSmartDevice.pm line 274.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Parse redefined at ./FHEM/74_GardenaSmartDevice.pm line 451.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine WriteReadings redefined at ./FHEM/74_GardenaSmartDevice.pm line 496.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine ReadingLangGerman redefined at ./FHEM/74_GardenaSmartDevice.pm line 700.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine RigReadingsValue redefined at ./FHEM/74_GardenaSmartDevice.pm line 821.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Zulu2LocalString redefined at ./FHEM/74_GardenaSmartDevice.pm line 837.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine SetPredefinedStartPoints redefined at ./FHEM/74_GardenaSmartDevice.pm line 876.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.


Daraus kann man nicht viel mehr lesen, oder??
Raspi3, EnOcean, Zwave, Homematic

CoolTux

Zitat von: choetzu am 22 April 2021, 12:29:30
Danke CoolTux, ich habe das so eingebunden:
    do {
        #Log3 $name, 1, "Settings pro Device : ".$decode_json->{settings}[$settings]{name};
        #Log3 $name, 1, " - KEIN ARRAY" if ( ref( $decode_json->{settings}[$settings]{value} ) ne "ARRAY");
        #Log3 $name, 1, " - IST ARRAY" if ( ref( $decode_json->{settings}[$settings]{value} ) eq "ARRAY");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!!: $decode_json->{settings}[$settings]{name}");
        if ( $decode_json->{settings}[$settings]{name} eq 'schedules_paused_until'
              || $decode_json->{settings}[$settings]{name} eq 'eco_mode'
            )
        { 


und dann einen "reload 74_GardenaSmartDevice.pm" gemacht...

Das Logfile sieht nun wie folgt aus:
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Initialize redefined at ./FHEM/74_GardenaSmartDevice.pm line 171.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Define redefined at ./FHEM/74_GardenaSmartDevice.pm line 192.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Undef redefined at ./FHEM/74_GardenaSmartDevice.pm line 254.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Attr redefined at ./FHEM/74_GardenaSmartDevice.pm line 266.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Set redefined at ./FHEM/74_GardenaSmartDevice.pm line 274.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Parse redefined at ./FHEM/74_GardenaSmartDevice.pm line 451.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine WriteReadings redefined at ./FHEM/74_GardenaSmartDevice.pm line 496.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine ReadingLangGerman redefined at ./FHEM/74_GardenaSmartDevice.pm line 700.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine RigReadingsValue redefined at ./FHEM/74_GardenaSmartDevice.pm line 821.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine Zulu2LocalString redefined at ./FHEM/74_GardenaSmartDevice.pm line 837.
[Thu Apr 22 12:22:58 2021] fhem.pl: Subroutine SetPredefinedStartPoints redefined at ./FHEM/74_GardenaSmartDevice.pm line 876.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:02 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 12:28:03 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.


Daraus kann man nicht viel mehr lesen, oder??

Hast Du verbose auf 0 gestellt für das Device?
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

choetzu

Zitat von: CoolTux am 22 April 2021, 12:56:52
Hast Du verbose auf 0 gestellt für das Device?

ou Mann, so dämlich!!!! Klar hatte ich auf verbose 0... Sorry CoolTux..

Hier nun das Ergebnis:

2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: 3
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!:
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: 2
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: winter_mode
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: 1
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: schedules_paused_until
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: 0
2021.04.22 15:22:22 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!!: be_decision_time
2021.04.22 15:22:22 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!!: 1
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 15:22:22 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!!:
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 15:22:22 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!!: 0
2021.04.22 15:22:22 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!!: winter_mode
2021.04.22 15:22:22 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!!: 1
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 15:22:22 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!!:
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 15:22:22 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!!: 0
2021.04.22 15:22:22 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!!: winter_mode
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 10
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!:
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 9
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: winter_mode
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 8
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: valves_master_config
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 7
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: valve_names
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 6
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: schedules_paused_until_6
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 5
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: schedules_paused_until_5
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 4
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: schedules_paused_until_4
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 3
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: schedules_paused_until_3
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 2
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: schedules_paused_until_2
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 1
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: schedules_paused_until_1
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: 0
2021.04.22 15:22:22 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!!: be_decision_time
2021.04.22 15:22:22 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!!: 1
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 15:22:22 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!!:
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 15:22:22 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 15:22:22 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!!: 0
2021.04.22 15:22:22 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!!: winter_mode


Da taucht immer wieder winter_mode auf... Ich habe auf der Gardena-App nix dergleichen eingestellt... Hmm.. Hilft dir das CoolTux?
Raspi3, EnOcean, Zwave, Homematic

CoolTux

Ja das sieht schon mal gut aus.

Kleine Änderungen bitte

Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!! Settings: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!! Name: $decode_json->{settings}[$settings]{name}");


Ich muss verstehen was da genau fehlt.
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

BOFH

Zitat von: zife am 22 April 2021, 08:00:51
Die Irrigation Control in der App kann:
... Ventil x an für y Minuten
... Ventil x aus
... Alle Ventile aus
... Ventile nach Zeitplan
... Zeitpläne pausieren für Zeitraum y
... Zeitpläne zusätzlich nach Sensoren steuern
... Zeitpläne nach Wettervorhersage steuern
... Zeitpläne nach Sonnenauf-/untergang steuern.

Ventil an/aus kann das Modul ja schon. Für sehr sinnvoll halte ich die Erweiterungen:
... Alle Ventile aus
... Zeitpläne pausieren und reaktivieren (analog Mäher).

Gerade jetzt, wo es nachts noch oft frostig ist (bei uns zumindest), würde ich gerne die Zeitpläne für z.B. 1 Woche aussetzen. Die App begrenzt das künstlich auf ein paar Tage, das könnte man mit fhem sogar besser machen. Oder, wenn man abends länger draussen sitzt, soll der Zeitplan zB. 1x aussetzen. Das kann man m.E. heute mit dem fhem-Modul nicht realisieren.
Wenn ich die Ventile ausschalte (Laufzeit 0 Sekunden), dann könnte es sein, dass ich mir gerade meine Feuerschale anmache und eine Minute später der Zeitplan aktiv wird...

Ich hatte damals die für diese Cloud-Funktionen notwendigen Gardena-Kommandos rausgesammelt - nur mit der Umsetzung im Modul hapert es bei mir dann doch.

Firefox am Start? Bräuchte dann die payloads. Damit man das einbinden kann
RasPi 4
ZWave.me ZME_UZB (Fibaro Auge Gen.2)/ HM-USB2 (Thermostat | Hutschienen Relais | 1-/2fach Schalter) / Enigma2 / PhilipsTV / Philips HUE (GO|Bulb|Stripe (plus)) / Somfy IO Rollos / BOSCH HSG636XS6 / SONOS (P1, P3, P5 2.Gen, SUB, Bar)

choetzu

Zitat von: CoolTux am 22 April 2021, 15:49:47
Ja das sieht schon mal gut aus.

Kleine Änderungen bitte

Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!! Settings: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) choetzu DEBUG!!! Name: $decode_json->{settings}[$settings]{name}");


Ich muss verstehen was da genau fehlt.

Hilft das weiter?


[Thu Apr 22 18:58:45 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:45 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:45 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Settings: 2
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Settings: 1
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name: schedules_paused_until
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name: be_decision_time
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Settings: 1
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Settings: 1
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 10
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 9
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 8
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: valves_master_config
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 7
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: valve_names
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 6
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_6
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 5
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_5
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 4
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_4
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 3
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_3
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 2
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_2
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 1
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_1
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: be_decision_time
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Settings: 1
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Name: winter_mode
Raspi3, EnOcean, Zwave, Homematic

CoolTux

Ja das hilft auf jeden Fall. Super. Danke Dir. Ich mache da einen hotfix fertig
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

CoolTux

Zitat von: choetzu am 22 April 2021, 19:03:17
Hilft das weiter?


[Thu Apr 22 18:58:45 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:45 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:45 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Settings: 2
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Settings: 1
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name: schedules_paused_until
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:45 1: GardenaSmartDevice (Water_Control) choetzu DEBUG!!! Name: be_decision_time
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Settings: 1
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Rhabarberbeet) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Settings: 1
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Heidelbeerbeet) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 10
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 9
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: winter_mode
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 8
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: valves_master_config
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 7
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: valve_names
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 6
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_6
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 5
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_5
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 4
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_4
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 3
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_3
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 2
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_2
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 1
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: schedules_paused_until_1
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Ventile) choetzu DEBUG!!! Name: be_decision_time
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Settings: 1
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Name:
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Thu Apr 22 18:58:46 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Settings: 0
2021.04.22 18:58:46 1: GardenaSmartDevice (Brombeerbeet) choetzu DEBUG!!! Name: winter_mode


Kannst Du dieses File bitte einmal einspielen
https://git.cooltux.net/FHEM/mod-GardenaSmart/raw/branch/patch-uninitializedValue/FHEM/74_GardenaSmartDevice.pm

Danke Dir
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

Andy K.

Hi CoolTux,

das gleiche "Logfile" Problem habe ich auch.

Das Log habe ich noch in der do while Schlaufe drin:


Log3($name, 1, "GardenaSmartDevice ($name) DEBUG!!! Settings: $settings");
Log3($name, 1, "GardenaSmartDevice ($name) DEBUG!!! Name: $decode_json->{settings}[$settings]{name}");


Ich habe mal deine Verlinkte Version (incl. der beiden Zeilen oben) getestet und bekomme jetzt folgendes:

Zitat2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 10
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name:
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 9
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: winter_mode
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 8
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: starting_points
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 7
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: starting_distance
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 6
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: sensor_control
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 5
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: security_level
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 4
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: schedules_paused_until
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 3
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: mower_house
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 2
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: frost_sensor
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 1
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: eco_mode
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Settings: 0
2021.04.26 14:41:34 1: GardenaSmartDevice (SILENO) DEBUG!!! Name: drive_past_wire
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Settings: 3
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Name:
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Settings: 2
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Name: winter_mode
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Settings: 1
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Name: schedules_paused_until
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Settings: 0
2021.04.26 14:41:34 1: GardenaSmartDevice (Brunnen) DEBUG!!! Name: be_decision_time
2021.04.26 14:41:34 1: GardenaSmartDevice (SensorHochbeet) DEBUG!!! Settings: 1
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_GardenaSmartDevice.pm line 607.
2021.04.26 14:41:34 1: GardenaSmartDevice (SensorHochbeet) DEBUG!!! Name:
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
[Mon Apr 26 14:41:34 2021] fhem.pl: Use of uninitialized value in string eq at ./FHEM/74_GardenaSmartDevice.pm line 608.
2021.04.26 14:41:34 1: GardenaSmartDevice (SensorHochbeet) DEBUG!!! Settings: 0
2021.04.26 14:41:34 1: GardenaSmartDevice (SensorHochbeet) DEBUG!!! Name: winter_mode

Wenn "Name" leer ist scheint es diesen Fehler zu geben. Bis auf die Meldung im Log läuft auch alles problemlos (Mäher, Sensor und Bewässerung). Ich hoffe das hilft dir weiter.

Gruß,
Andy