FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Thomas0401 am 25 April 2022, 15:25:49

Titel: Robonect-Modul
Beitrag von: Thomas0401 am 25 April 2022, 15:25:49
Moin moin,

ich habe ein Gardena Sileno City und auch das GardenaSmart Device in FHEM installiert. Leider kann darüber aber ja keine Befehle absetzen. Vor ein paar Tagen habe ich mir das Robonect-modul zugelegt, montiert und in Betrieb genommen. Auf der Web-Oberfläche funktioniert alles tadellos. Das Rononect-Device in FHEM ist auch angelegt.
Leider bekomme ich immer ein Reading mit dem Hinweis
fehler_aktuell   cannot decode content   2022-04-25 15:23:25

Hat jemand eine Idee was da hakt?

VG Thomas
Titel: Antw:Robonect-Modul
Beitrag von: Boenne am 03 Mai 2022, 09:30:39
Moin Thomas,
keine Ahnung, ob Du Dein Problem schon gelöst hast.
Hast Du in Robonect einen Benutzer und auch ein PW angelegt? Wenn ja, dann müssen diese auch im Modul bekannt gemacht werden:

set [Robonect] benutzername

attr [Robonect] basicAuth benutzer:pw

basicAuth ist (leider) im Klartext hinterlegt.

Beste Grüße
Bönne
Titel: Antw:Robonect-Modul
Beitrag von: Thomas0401 am 05 Mai 2022, 12:22:54
Zitat von: Boenne am 03 Mai 2022, 09:30:39
Moin Thomas,
keine Ahnung, ob Du Dein Problem schon gelöst hast.
Hast Du in Robonect einen Benutzer und auch ein PW angelegt? Wenn ja, dann müssen diese auch im Modul bekannt gemacht werden:

set [Robonect] benutzername

attr [Robonect] basicAuth benutzer:pw

basicAuth ist (leider) im Klartext hinterlegt.

Moin, ja habe ich gemacht auch libjson-perl ist installiert aber trotzdem hat sich der Fehler nicht geändert


Beste Grüße
Bönne
Titel: Aw: Robonect-Modul
Beitrag von: Tobbi am 07 Juni 2023, 08:21:18
Guten Morgen zusammen,

gibt es zu dem Problem eine Lösung?
Ich habe leider genau das gleiche Problem.

- Benutzer per set im Modul gesetzt
- BasicAuth ist auch in den Attributen vermerkt
- libjson-perl ist installiert und aktuell

Grüße Tobias
Titel: Aw: Robonect-Modul
Beitrag von: nugat1 am 14 Juli 2023, 20:47:04
Hallo schließe mich an, habe selbes Problem bei der Ersteinrichtung.

Habe ebenfalls folgendes konfiguriert:
Zitatset [Robonect] benutzername

attr [Robonect] basicAuth benutzer:pw

basicAuth ist (leider) im Klartext hinterlegt.

Ergebnis: cannot decode content

Im Logfile taucht folgendes auf:
2023.07.14 20:42:58 1: PERL WARNING: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
2023.07.14 20:42:58 1: stacktrace:
2023.07.14 20:42:58 1:    main::__ANON__                      called by ./FHEM/86_Robonect.pm (961)
2023.07.14 20:42:58 1:    main::Robonect_getCmdList          called by ./FHEM/86_Robonect.pm (394)
2023.07.14 20:42:58 1:    main::Robonect_Set                  called by fhem.pl (3980)
2023.07.14 20:42:58 1:    main::CallFn                        called by fhem.pl (1956)
2023.07.14 20:42:58 1:    main::DoSet                        called by fhem.pl (1998)
2023.07.14 20:42:58 1:    main::CommandSet                    called by fhem.pl (2906)
2023.07.14 20:42:58 1:    main::getAllSets                    called by ./FHEM/01_FHEMWEB.pm (3347)
2023.07.14 20:42:58 1:    main::FW_devState                  called by ./FHEM/01_FHEMWEB.pm (1931)
2023.07.14 20:42:58 1:    main::FW_makeDeviceLine            called by ./FHEM/01_FHEMWEB.pm (1572)
2023.07.14 20:42:58 1:    main::FW_doDetail                  called by ./FHEM/01_FHEMWEB.pm (1197)
2023.07.14 20:42:58 1:    main::FW_answerCall                called by ./FHEM/01_FHEMWEB.pm (609)
2023.07.14 20:42:58 1:    main::FW_Read                      called by fhem.pl (3980)
2023.07.14 20:42:58 1:    main::CallFn                        called by fhem.pl (784)

Jemand eine Idee?
Titel: Aw: Robonect-Modul
Beitrag von: nugat1 am 14 Juli 2023, 21:04:28
Nach kurzer Recherche hab ich's hinbekommen. Gerät unter anderen Namen angelegt und Ausschließlich das BasicAuth Attribut gesetzt (also nicht set [Robonect] benutzername) :

Zitatdefmod Robi Robonect 192.168.xxx.xxx
attr Robi basicAuth robi:xxxxxx

Hoffe das hilf jemanden...

Danke an den Beitrag:

Zitat von: Darkrabbit am 10 August 2020, 15:39:40Hallo,

habe die Lösung nun selbst gefunden:

Habe das Device erneut gelöscht, dann unter neuem Namen, der bisher noch nie verwendet wurde, neu angelegt.
Anschließend Attribut BasicAuth mit über eine Webseite generierten Benutzername/Passwort befüllt.
Anschließend funktioniert es.

Die Fehlermeldung deutet demnach also vermutlich eher immer auf einen Login-Fehler hin.

Warum jedoch das Modul nicht einfach mit dem setzen von Benutzername und Passwort funktioniert, kann ich jedoch nicht beurteilen.

Titel: Aw: Robonect-Modul
Beitrag von: gosteli am 22 Mai 2024, 14:30:15
Hallo
Ich habe leider, trotz Löschen und Neuanlegen unter neuem Namen, immer wieder solche Meldungen:

[Wed May 22 14:24:40 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $hybernate in concatenation (.) or string at ./FHEM/86_Robonect.pm line 592.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:24:51 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:25:02 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:25:03 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:25:03 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:25:03 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.
[Wed May 22 14:25:52 2024] fhem.pl: Use of uninitialized value $retVal in concatenation (.) or string at ./FHEM/86_Robonect.pm line 961.

Stacktrace ist gelöscht...
Jemand eine Idee?
Danke und Gruss