Robonect (Automower G3): online

Begonnen von Andi291, 15 Mai 2016, 21:12:56

Vorheriges Thema - Nächstes Thema

Andi291

Joa, beißt sich aber irgendwie mit curts Aussage.

Wie gesagt - ich krieg die FW leider nicht auf mein Modul, kann also nur raten...

blueberry63

Kann ich Dir mit den Ergebnissen, die man per URL-Aufruf bekommt, weiterhelfen? Die o.g. Ausgabe habe ich mittels XML gezogen. Du verwendest JSON, wenn ich die 86_Robonect.pm richtig interpretiere. Sag mir einfach Bescheid, wenn ich helfen kann. Ich glaube übrigens nicht, dass sich die API in diesem Bereich noch ändert.

Gruß
Blueberry63
FHEM auf BBB mit Wheezy: 1x CUL_HM_HM_SCI_3_FM, 1x INSTAR CAM3010, 1x HM-LC-SW1-PL2, 1x HM-LC-Bl1PBU-FM, 1x HM-Sen-MDIR-O, Viessmann Heizung, Gaszähler via GPIO, Klingel via HM-LC-Bl1PBU-FM an FBox, Mailcheck, AVR, XBMC, NanoCUL 433+668 an Raspi per Ethernet, Funksteckdosen (Pollin, IT), Automower

Andi291

Moin!

Ja, sicher. Ein Abzug (möglichst zeitlich synchron) von angezeigten Readings, XML-Rückgabe (wenn möglich) und FHEM-Log (verbose 5) würd schon helfen. Das Attribut hierbei bitte aus useHealth = 1 stellen...

blueberry63

#198
Hallo Andy,

ich habe gerade nicht viel Zeit, backe aber mal schnell etwas zusammen:

XML:

<robonect><successful>true</successful><health><alarm><voltage3v3intmin>false</voltage3v3intmin><voltage3v3intmax>false</voltage3v3intmax><voltage3v3extmin>false</voltage3v3extmin><voltage3v3extmax>false</voltage3v3extmax><voltagebattmin>false</voltagebattmin><voltagebattmax>false</voltagebattmax><temperatureMin>false</temperatureMin><temperatureMax>false</temperatureMax><humidityMax>false</humidityMax></alarm><voltages><int3v3>3280</int3v3><ext3v3>9</ext3v3><batt>27360</batt></voltages><climate><temperature>22</temperature><humidity>36</humidity></climate></health></robonect>


LOG:

2018.05.03 21:32:57 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:32:57 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:32:57 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:32:57 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:32:57 5: enter get Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:33:03 5: enter update Rasenmaeher: Rasenmaeher
2018.05.03 21:33:03 5: enter get Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, status
2018.05.03 21:33:03 5: credentials - found encrypted data
2018.05.03 21:33:03 5: credentials - found plain or decrypted data
2018.05.03 21:33:03 5: exit get
2018.05.03 21:33:03 5: enter get Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, health
2018.05.03 21:33:03 5: credentials - found encrypted data
2018.05.03 21:33:03 5: credentials - found plain or decrypted data
2018.05.03 21:33:03 5: exit get
2018.05.03 21:33:03 5: exit update
2018.05.03 21:33:03 4: callback - url http://192.168.99.20/json?user=yyyy&pass=xxxxi&cmd=status returned: {"name": "Erwin", "id": "9BC1BD", "status": {"status": 17, "stopped": false, "duration": 17389, "mode": 0, "battery": 100, "hours": 908}, "timer": {"status": 2, "next": {"date": "2018-05-04", "time": "10:00:00", "unix": 1525428000}}, "blades": {"quality": 79, "hours": 43, "days": 11}, "wlan": {"signal": -72}, "health": {"temperature": 22, "humidity": 36}, "error": {"error_code": 0, "error_message": "Unbekannter Fehlercode!", "date": "2018-04-28", "time": "11:21:26", "unix": 1524914486}, "clock": {"date": "2018-05-03", "time": "21:33:02", "unix": 1525383182}, "successful": true}
2018.05.03 21:33:03 4: callback - url http://192.168.99.20/json?user=xxxx&pass=yyyy&cmd=status repaired: {"name": "Erwin", "id": "9BC1BD", "status": {"status": 17, "stopped": false, "duration": 17389, "mode": 0, "battery": 100, "hours": 908}, "timer": {"status": 2, "next": {"date": "2018-05-04", "time": "10:00:00", "unix": 1525428000}}, "blades": {"quality": 79, "hours": 43, "days": 11}, "wlan": {"signal": -72}, "health": {"temperature": 22, "humidity": 36}, "error": {"error_code": 0, "error_message": "Unbekannter Fehlercode!", "date": "2018-04-28", "time": "11:21:26", "unix": 1524914486}, "clock": {"date": "2018-05-03", "time": "21:33:02", "unix": 1525383182}, "successful": true}
2018.05.03 21:33:03 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.03 21:33:03 5: callback - communication ok
2018.05.03 21:33:03 5: callback - update readings
2018.05.03 21:33:03 5: decodeContent - NAME: allgemein-status, VALUE: schlafen
2018.05.03 21:33:03 5: decodeContent - NAME: allgemein-modus, VALUE: automatik
2018.05.03 21:33:03 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: 100
2018.05.03 21:33:03 5: decodeContent - NAME: allgemein-dauer, VALUE: 17389
2018.05.03 21:33:03 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: 908
2018.05.03 21:33:03 5: decodeContent - NAME: timer-status, VALUE: standby
2018.05.03 21:33:03 5: decodeContent - NAME: timer-startdatum, VALUE: 2018-05-04
2018.05.03 21:33:03 5: decodeContent - NAME: timer-startzeit, VALUE: 10:00:00
2018.05.03 21:33:03 5: decodeContent - NAME: wlan-signal, VALUE: -72
2018.05.03 21:33:03 5: decodeContent - NAME: alarm-unterspannung_batterie, VALUE: undef
2018.05.03 21:33:03 5: decodeContent - NAME: alarm-ueberspannung_batterie, VALUE: undef
2018.05.03 21:33:03 5: decodeContent - NAME: alarm-zu_kalt, VALUE: undef
2018.05.03 21:33:03 5: decodeContent - NAME: alarm-zu_warm, VALUE: undef
2018.05.03 21:33:03 5: decodeContent - NAME: alarm-zu_feucht, VALUE: undef
2018.05.03 21:33:03 5: decodeContent - NAME: spannung-batterie, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: -, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: -, VALUE: undef
2018.05.03 21:33:04 4: callback - url http://192.168.99.20/json?user=xxxx&pass=yyyyy&cmd=health returned: {"successful": true, "health": {"alarm": {"voltage3v3intmin": false, "voltage3v3intmax": false, "voltage3v3extmin": false, "voltage3v3extmax": false, "voltagebattmin": false, "voltagebattmax": false, "temperatureMin": false, "temperatureMax": false, "humidityMax": false}, "voltages": {"int3v3": 3276, "ext3v3": 9, "batt": 27342}, "climate": {"temperature": 22, "humidity": 36}}}
2018.05.03 21:33:04 4: callback - url http://192.168.99.20/json?user=yyyyy&pass=xxxx&cmd=health repaired: {"successful": true, "health": {"alarm": {"voltage3v3intmin": false, "voltage3v3intmax": false, "voltage3v3extmin": false, "voltage3v3extmax": false, "voltagebattmin": false, "voltagebattmax": false, "temperatureMin": false, "temperatureMax": false, "humidityMax": false}, "voltages": {"int3v3": 3276, "ext3v3": 9, "batt": 27342}, "climate": {"temperature": 22, "humidity": 36}}}
2018.05.03 21:33:04 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.03 21:33:04 5: callback - communication ok
2018.05.03 21:33:04 5: callback - update readings
2018.05.03 21:33:04 5: decodeContent - NAME: allgemein-status, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: allgemein-modus, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: allgemein-dauer, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: timer-status, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: timer-startdatum, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: timer-startzeit, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: wlan-signal, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: alarm-unterspannung_batterie, VALUE: bereit
2018.05.03 21:33:04 5: decodeContent - NAME: alarm-ueberspannung_batterie, VALUE: bereit
2018.05.03 21:33:04 5: decodeContent - NAME: alarm-zu_kalt, VALUE: bereit
2018.05.03 21:33:04 5: decodeContent - NAME: alarm-zu_warm, VALUE: bereit
2018.05.03 21:33:04 5: decodeContent - NAME: alarm-zu_feucht, VALUE: bereit
2018.05.03 21:33:04 5: decodeContent - NAME: spannung-batterie, VALUE: 27342
2018.05.03 21:33:04 5: decodeContent - NAME: -, VALUE: undef
2018.05.03 21:33:04 5: decodeContent - NAME: -, VALUE: undef
2018.05.03 21:33:04 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:33:04 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:33:06 5: enter get Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, health
2018.05.03 21:33:06 5: credentials - found encrypted data
2018.05.03 21:33:06 5: credentials - found plain or decrypted data
2018.05.03 21:33:06 5: exit get
2018.05.03 21:33:06 4: callback - url http://192.168.99.20/json?user=xxxx&pass=yyyyy&cmd=health returned: {"successful": true, "health": {"alarm": {"voltage3v3intmin": false, "voltage3v3intmax": false, "voltage3v3extmin": false, "voltage3v3extmax": false, "voltagebattmin": false, "voltagebattmax": false, "temperatureMin": false, "temperatureMax": false, "humidityMax": false}, "voltages": {"int3v3": 3280, "ext3v3": 9, "batt": 27360}, "climate": {"temperature": 22, "humidity": 36}}}
2018.05.03 21:33:06 4: callback - url http://192.168.99.20/json?user=yyyyy&pass=xxxx&cmd=health repaired: {"successful": true, "health": {"alarm": {"voltage3v3intmin": false, "voltage3v3intmax": false, "voltage3v3extmin": false, "voltage3v3extmax": false, "voltagebattmin": false, "voltagebattmax": false, "temperatureMin": false, "temperatureMax": false, "humidityMax": false}, "voltages": {"int3v3": 3280, "ext3v3": 9, "batt": 27360}, "climate": {"temperature": 22, "humidity": 36}}}
2018.05.03 21:33:06 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.03 21:33:06 5: callback - communication ok
2018.05.03 21:33:06 5: callback - update readings
2018.05.03 21:33:06 5: decodeContent - NAME: allgemein-status, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: allgemein-modus, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: allgemein-dauer, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: timer-status, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: timer-startdatum, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: timer-startzeit, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: wlan-signal, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: alarm-unterspannung_batterie, VALUE: bereit
2018.05.03 21:33:07 5: decodeContent - NAME: alarm-ueberspannung_batterie, VALUE: bereit
2018.05.03 21:33:07 5: decodeContent - NAME: alarm-zu_kalt, VALUE: bereit
2018.05.03 21:33:07 5: decodeContent - NAME: alarm-zu_warm, VALUE: bereit
2018.05.03 21:33:07 5: decodeContent - NAME: alarm-zu_feucht, VALUE: bereit
2018.05.03 21:33:07 5: decodeContent - NAME: spannung-batterie, VALUE: 27360
2018.05.03 21:33:07 5: decodeContent - NAME: -, VALUE: undef
2018.05.03 21:33:07 5: decodeContent - NAME: -, VALUE: undef
2018.05.03 21:33:07 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?
2018.05.03 21:33:07 5: enter set Rasenmaeher: Rasenmaeher hash: HASH(0x32373f0), attributes: Rasenmaeher, ?


Readings: s. Anhang

Gruß
Blueberry63
FHEM auf BBB mit Wheezy: 1x CUL_HM_HM_SCI_3_FM, 1x INSTAR CAM3010, 1x HM-LC-SW1-PL2, 1x HM-LC-Bl1PBU-FM, 1x HM-Sen-MDIR-O, Viessmann Heizung, Gaszähler via GPIO, Klingel via HM-LC-Bl1PBU-FM an FBox, Mailcheck, AVR, XBMC, NanoCUL 433+668 an Raspi per Ethernet, Funksteckdosen (Pollin, IT), Automower

blueberry63

Fehler gefunden!

In Zeilen 738+741 muss "umwelt" durch "climate" ersetzt werden:


                                ($key, $value) = Robonect_decodeContent ($hash, $answer, "health", [b]"climate"[/b], "temperature");
                                readingsBulkUpdate($hash, $key, $value) if (defined ($value) and !($value =~ m/undef/));

                                ($key, $value) = Robonect_decodeContent ($hash, $answer, "health", [b]"climate"[/b], "humidity");
                                readingsBulkUpdate($hash, $key, $value) if (defined ($value) and !($value =~ m/undef/));



Gruß
Blueberry63
FHEM auf BBB mit Wheezy: 1x CUL_HM_HM_SCI_3_FM, 1x INSTAR CAM3010, 1x HM-LC-SW1-PL2, 1x HM-LC-Bl1PBU-FM, 1x HM-Sen-MDIR-O, Viessmann Heizung, Gaszähler via GPIO, Klingel via HM-LC-Bl1PBU-FM an FBox, Mailcheck, AVR, XBMC, NanoCUL 433+668 an Raspi per Ethernet, Funksteckdosen (Pollin, IT), Automower

Andi291

Danke...

Naja, die endgültige Lösung isses nicht - damit funktioniert dann halt die 0.9 nicht mehr - auch keine schöne Lösung.

Ich hab mir die API und Eure Ergebnisse angesehen...Für einen vollen Support muss das Modul meine ich doch gebranched werden. Eine nicht rückwärtskompatible Änderung kommt nicht in Frage...

blueberry63

Hallo Andy,

da hast Du natürlich Recht. Aber so können die Beta-Tester von Robonect die Zusatzwerte wieder auswerten.

Vielen Dank übrigens für das tolle Modul.

Gruß
Blueberry63
FHEM auf BBB mit Wheezy: 1x CUL_HM_HM_SCI_3_FM, 1x INSTAR CAM3010, 1x HM-LC-SW1-PL2, 1x HM-LC-Bl1PBU-FM, 1x HM-Sen-MDIR-O, Viessmann Heizung, Gaszähler via GPIO, Klingel via HM-LC-Bl1PBU-FM an FBox, Mailcheck, AVR, XBMC, NanoCUL 433+668 an Raspi per Ethernet, Funksteckdosen (Pollin, IT), Automower

Andi291

Abend!

Da hab ich wohl zu früh gewettert - das war schlicht ein Fehler.
Habe diesen korrigiert und eingechecked. Bitte ab morgen früh mal testen, bitte...

Grüße, Andi

blueberry63

Die "Umwelt-Readings" sind wieder da :-)
FHEM auf BBB mit Wheezy: 1x CUL_HM_HM_SCI_3_FM, 1x INSTAR CAM3010, 1x HM-LC-SW1-PL2, 1x HM-LC-Bl1PBU-FM, 1x HM-Sen-MDIR-O, Viessmann Heizung, Gaszähler via GPIO, Klingel via HM-LC-Bl1PBU-FM an FBox, Mailcheck, AVR, XBMC, NanoCUL 433+668 an Raspi per Ethernet, Funksteckdosen (Pollin, IT), Automower

Chris46

Hallo Andi,

danke dir für das Modul, ich habe es auch seit Kurzem bei mir im Einsatz. :)

Bei mir funktionieren leider die "Alarm-Readings" nicht korrekt. Statt "Bereit" wird bei mir nur "0" gesetzt. Weißt du zufällig woran das liegen könnte? Auf dem ersten Blick habe ich keinen Fehler entdecken können.

List:
Internals:
   DEF        192.168.178.86
   DEVNAME    Robbi
   IP         192.168.178.86
   LAST_CMD   cmd=health
   LAST_COMM_STATUS success: erfolgreich
   NAME      Robbi
   NR         130
   STATE      schlafen
   TYPE       Robonect
   Helper:
     DBLOG:
       allgemein-batteriezustand:
         logdb:
           TIME       1525841518.93409
           VALUE      100
       allgemein-betriebsstunden:
         logdb:
           TIME       1525838457.24555
           VALUE      698
       allgemein-dauer:
         logdb:
           TIME       1525859527.74824
           VALUE      5
       allgemein-status:
         logdb:
           TIME       1525841518.93409
           VALUE      schlafen
       fehler_aktuell:
         logdb:
           TIME       1525841519.006
           VALUE      Unbekannter Fehlercode!
       spannung-batterie:
         logdb:
           TIME       1525861328.44638
           VALUE      27257
       state:
         logdb:
           TIME       1525841518.93409
           VALUE      schlafen
       timer-startzeit:
         logdb:
           TIME       1525838457.24555
           VALUE      19:00:00
       timer-status:
         logdb:
           TIME       1525838457.24555
           VALUE      standby
       umwelt-feuchte:
         logdb:
           TIME       1525860247.99917
           VALUE      45
       umwelt-temperatur:
         logdb:
           TIME       1525859167.59386
           VALUE      29
       wlan-signal:
         logdb:
           TIME       1525861058.44916
           VALUE      -88
       wlan-signal-prozent:
         logdb:
           TIME       1525861058.44916
           VALUE      11
   READINGS:
     2018-05-09 12:22:08   alarm-ueberspannung_batterie 0
     2018-05-09 12:22:08   alarm-unterspannung_batterie 0
     2018-05-09 12:22:08   alarm-zu_feucht 0
     2018-05-09 12:22:08   alarm-zu_kalt   0
     2018-05-09 12:22:08   alarm-zu_warm   0
     2018-05-09 12:22:08   allgemein-batteriezustand 100
     2018-05-09 12:22:08   allgemein-betriebsstunden 698
     2018-05-09 12:22:08   allgemein-dauer 5
     2018-05-09 12:22:08   allgemein-modus automatik
     2018-05-09 12:22:08   allgemein-status schlafen
     2018-05-09 12:22:08   fehler_aktuell  Unbekannter Fehlercode!
     2018-05-09 12:22:08   spannung-batterie 27257
     2018-05-09 12:22:08   state           schlafen
     2018-05-09 12:22:08   timer-startdatum 2018-05-09
     2018-05-09 12:22:08   timer-startzeit 19:00:00
     2018-05-09 12:22:08   timer-status    standby
     2018-05-09 12:22:08   umwelt-feuchte  45
     2018-05-09 12:22:08   umwelt-temperatur 29
     2018-04-21 08:52:16   winterschlaf    off
     2018-05-09 12:22:08   wlan-signal     -88
     2018-05-09 12:22:08   wlan-signal-prozent 11
Attributes:
   event-on-change-reading .*
   room       Robbi
   useHealth  1
   verbose    5


verbose 5 log:
2018.05.09 12:26:38 4: callback - url http://192.168.178.86/json?cmd=status returned: {"name": "Robbi", "id": "9BC339", "status": {"status": 17, "stopped": false, "duration": 20096, "mode": 0, "battery": 100, "hours": 698}, "timer": {"status": 2, "next": {"date": "2018-05-09", "time": "19:00:00", "unix": 1525892400}}, "blades": {"quality": 76, "hours": 49, "days": 18}, "wlan": {"signal": -88}, "health": {"temperature": 29, "humidity": 45}, "error": {"error_code": 0, "error_message": "Unbekannter Fehlercode!", "date": "1970-01-01", "time": "00:00:00", "unix": 0}, "clock": {"date": "2018-05-09", "time": "12:26:37", "unix": 1525868797}, "successful": true}
2018.05.09 12:26:38 4: callback - url http://192.168.178.86/json?cmd=status repaired: {"name": "Robbi", "id": "9BC339", "status": {"status": 17, "stopped": false, "duration": 20096, "mode": 0, "battery": 100, "hours": 698}, "timer": {"status": 2, "next": {"date": "2018-05-09", "time": "19:00:00", "unix": 1525892400}}, "blades": {"quality": 76, "hours": 49, "days": 18}, "wlan": {"signal": -88}, "health": {"temperature": 29, "humidity": 45}, "error": {"error_code": 0, "error_message": "Unbekannter Fehlercode!", "date": "1970-01-01", "time": "00:00:00", "unix": 0}, "clock": {"date": "2018-05-09", "time": "12:26:37", "unix": 1525868797}, "successful": true}
2018.05.09 12:26:38 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.09 12:26:38 5: callback - communication ok
2018.05.09 12:26:38 5: callback - update readings
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-status, VALUE: schlafen
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-modus, VALUE: automatik
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: 100
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-dauer, VALUE: 20096
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: 698
2018.05.09 12:26:38 5: decodeContent - NAME: timer-status, VALUE: standby
2018.05.09 12:26:38 5: decodeContent - NAME: timer-startdatum, VALUE: 2018-05-09
2018.05.09 12:26:38 5: decodeContent - NAME: timer-startzeit, VALUE: 19:00:00
2018.05.09 12:26:38 5: decodeContent - NAME: wlan-signal, VALUE: -88
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-unterspannung_batterie, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-ueberspannung_batterie, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-zu_kalt, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-zu_warm, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-zu_feucht, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: spannung-batterie, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: umwelt-temperatur, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: umwelt-feuchte, VALUE: undef
2018.05.09 12:26:38 4: callback - url http://192.168.178.86/json?cmd=health returned: {"successful": true, "health": {"alarm": {"voltage3v3intmin": false, "voltage3v3intmax": false, "voltage3v3extmin": false, "voltage3v3extmax": false, "voltagebattmin": false, "voltagebattmax": false, "temperatureMin": false, "temperatureMax": false, "humidityMax": false}, "voltages": {"int3v3": 3220, "ext3v3": 4, "batt": 27275}, "climate": {"temperature": 29, "humidity": 45}}}
2018.05.09 12:26:38 4: callback - url http://192.168.178.86/json?cmd=health repaired: {"successful": true, "health": {"alarm": {"voltage3v3intmin": false, "voltage3v3intmax": false, "voltage3v3extmin": false, "voltage3v3extmax": false, "voltagebattmin": false, "voltagebattmax": false, "temperatureMin": false, "temperatureMax": false, "humidityMax": false}, "voltages": {"int3v3": 3220, "ext3v3": 4, "batt": 27275}, "climate": {"temperature": 29, "humidity": 45}}}
2018.05.09 12:26:38 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.09 12:26:38 5: callback - communication ok
2018.05.09 12:26:38 5: callback - update readings
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-status, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-modus, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-dauer, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: timer-status, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: timer-startdatum, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: timer-startzeit, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: wlan-signal, VALUE: undef
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-unterspannung_batterie, VALUE: 0
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-ueberspannung_batterie, VALUE: 0
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-zu_kalt, VALUE: 0
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-zu_warm, VALUE: 0
2018.05.09 12:26:38 5: decodeContent - NAME: alarm-zu_feucht, VALUE: 0
2018.05.09 12:26:38 5: decodeContent - NAME: spannung-batterie, VALUE: 27275
2018.05.09 12:26:38 5: decodeContent - NAME: umwelt-temperatur, VALUE: 29
2018.05.09 12:26:38 5: decodeContent - NAME: umwelt-feuchte, VALUE: 45



blackbite

Hallo Andi,

bin jetzt auch beim Männerspielzeug Robonect + FHEM und Deinem Modul gelandet.
Teste gerade mit der 1.0 beta 4 und habe ebenfalls das Problem, dass keinerlei Authentifizierung (setkey, plain, coded, oder configfile) funktioniert. Kann nur ohne user & pw connecten.
Du hast ja schon geschrieben, dass es mit Deinem Modus schwierig wird zu testen. Vielleicht sollten wir Interessierten Dir ein neues Robonect spendieren ;-)

Was mir aber auch aufgefallen ist - und das hat nichts mit der Firmware zu tun - Bei mir pollt das Modul munter alle 90 Sekunden weiter, obwohl ich Winterschlaf = on gesetzt haben. Mit verbose 5 kann ich sehen, wie er trotzdem alle 90 Sekunden abfragt... Sollte eigentlich nicht sein.
Blackbite

Andi291

Was genau loggt er denn alle 90s?

blackbite

Zitat von: Andi291 am 09 Mai 2018, 17:25:53
Was genau loggt er denn alle 90s?

Also im Log steht:

2018.05.09 18:56:30 5: enter set Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, ?
2018.05.09 18:56:30 5: enter set Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, ?
2018.05.09 18:56:30 5: enter set Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, ?
2018.05.09 18:56:30 5: enter get Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, ?
2018.05.09 18:56:40 5: enter update Charly_Robo: Charly_Robo
2018.05.09 18:56:40 5: enter get Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, status
2018.05.09 18:56:40 5: exit get
2018.05.09 18:56:40 5: exit update
2018.05.09 18:56:40 4: callback - url http://192.168.69.167/json?cmd=status returned: {"name": "Charly", "id": "9BC860", "status": {"status": 16, "stopped": true, "duration": 62778, "mode": 2, "battery": 84, "hours": 0}, "timer": {"status": 2, "next": {"date": "2018-05-09", "time": "07:00:00", "unix": 1525849200}}, "blades": {"quality": 100, "hours": 0, "days": 0}, "wlan": {"signal": -80}, "health": {"temperature": 29, "humidity": 27}, "clock": {"date": "2018-05-09", "time": "18:56:39", "unix": 1525892199}, "successful": true}
2018.05.09 18:56:40 4: callback - url http://192.168.69.167/json?cmd=status repaired: {"name": "Charly", "id": "9BC860", "status": {"status": 16, "stopped": true, "duration": 62778, "mode": 2, "battery": 84, "hours": 0}, "timer": {"status": 2, "next": {"date": "2018-05-09", "time": "07:00:00", "unix": 1525849200}}, "blades": {"quality": 100, "hours": 0, "days": 0}, "wlan": {"signal": -80}, "health": {"temperature": 29, "humidity": 27}, "clock": {"date": "2018-05-09", "time": "18:56:39", "unix": 1525892199}, "successful": true}
2018.05.09 18:56:40 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.09 18:56:40 5: callback - communication ok
2018.05.09 18:56:40 5: callback - update readings
2018.05.09 18:56:40 5: decodeContent - NAME: allgemein-status, VALUE: abgeschaltet
2018.05.09 18:56:40 5: decodeContent - NAME: allgemein-modus, VALUE: home
2018.05.09 18:56:40 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: 84
2018.05.09 18:56:40 5: decodeContent - NAME: allgemein-dauer, VALUE: 62778
2018.05.09 18:56:40 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: 0
2018.05.09 18:56:40 5: decodeContent - NAME: timer-status, VALUE: standby
2018.05.09 18:56:40 5: decodeContent - NAME: timer-startdatum, VALUE: 2018-05-09
2018.05.09 18:56:40 5: decodeContent - NAME: timer-startzeit, VALUE: 07:00:00
2018.05.09 18:56:40 5: decodeContent - NAME: wlan-signal, VALUE: -80
2018.05.09 18:56:40 5: enter set Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, ?
2018.05.09 18:58:10 5: enter update Charly_Robo: Charly_Robo
2018.05.09 18:58:10 5: enter get Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, status
2018.05.09 18:58:10 5: exit get
2018.05.09 18:58:10 5: exit update
2018.05.09 18:58:10 4: callback - url http://192.168.69.167/json?cmd=status returned: {"name": "Charly", "id": "9BC860", "status": {"status": 16, "stopped": true, "duration": 62868, "mode": 2, "battery": 84, "hours": 0}, "timer": {"status": 2, "next": {"date": "2018-05-09", "time": "07:00:00", "unix": 1525849200}}, "blades": {"quality": 100, "hours": 0, "days": 0}, "wlan": {"signal": -80}, "health": {"temperature": 29, "humidity": 27}, "clock": {"date": "2018-05-09", "time": "18:58:09", "unix": 1525892289}, "successful": true}
2018.05.09 18:58:10 4: callback - url http://192.168.69.167/json?cmd=status repaired: {"name": "Charly", "id": "9BC860", "status": {"status": 16, "stopped": true, "duration": 62868, "mode": 2, "battery": 84, "hours": 0}, "timer": {"status": 2, "next": {"date": "2018-05-09", "time": "07:00:00", "unix": 1525849200}}, "blades": {"quality": 100, "hours": 0, "days": 0}, "wlan": {"signal": -80}, "health": {"temperature": 29, "humidity": 27}, "clock": {"date": "2018-05-09", "time": "18:58:09", "unix": 1525892289}, "successful": true}
2018.05.09 18:58:10 5: decodeContent - NAME: kommunikation, VALUE: erfolgreich
2018.05.09 18:58:10 5: callback - communication ok
2018.05.09 18:58:10 5: callback - update readings
2018.05.09 18:58:10 5: decodeContent - NAME: allgemein-status, VALUE: abgeschaltet
2018.05.09 18:58:10 5: decodeContent - NAME: allgemein-modus, VALUE: home
2018.05.09 18:58:10 5: decodeContent - NAME: allgemein-batteriezustand, VALUE: 84
2018.05.09 18:58:10 5: decodeContent - NAME: allgemein-dauer, VALUE: 62868
2018.05.09 18:58:10 5: decodeContent - NAME: allgemein-betriebsstunden, VALUE: 0
2018.05.09 18:58:10 5: decodeContent - NAME: timer-status, VALUE: standby
2018.05.09 18:58:10 5: decodeContent - NAME: timer-startdatum, VALUE: 2018-05-09
2018.05.09 18:58:10 5: decodeContent - NAME: timer-startzeit, VALUE: 07:00:00
2018.05.09 18:58:10 5: decodeContent - NAME: wlan-signal, VALUE: -80
2018.05.09 18:58:10 5: enter set Charly_Robo: Charly_Robo hash: HASH(0x2797400), attributes: Charly_Robo, ?


Blackbite

Andi291

@Chris: nein, versteh ich nicht. Habs mir angeschaut und komme nicht drauf. Leider kann ich kein health - also auch nicht nachschauen...
@blackbite: sollte repariert sein - ist eingechecked

blackbite

Zitat von: Andi291 am 09 Mai 2018, 20:48:40
@blackbite: sollte repariert sein - ist eingechecked

Super, danke für den schnellen Fix.
Dann lasse ich Robo mal schweigen bis zur finalen v1.0.
Hoffentlich kannst Du das Modul trotzdem weitestgehend für die neue Firmware fit machen. Würde nen 10er für Dein neues Robonect springen lassen, wenn sich andere auch beteiligen.
Danke für Deine Mühe & Zeit für das Modul.

Gruß
blackbite
Blackbite