Code Monkey home page Code Monkey logo

Comments (36)

capitaenz avatar capitaenz commented on June 2, 2024 1

@mrbungle64
Zum Staubbehälter gebe ich dir später mehr Infos.
Pause funktioniert direkt nicht, also auch nicht beim 1. Mal.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@mrbungle64
Folgendes funktioniert nicht mit dem Adapter in Version 0.5.6.

Die Staubbox steht immer auf true und der Wert ändert sich nicht.

Hatte das mit der Version vorher funktioniert?

Ein Fehler wird hierzu auch nicht angezeigt, der Wert bleibt leer.

Du meinst das Feld 'error'?

Pause funktioniert nicht, der Roboter reagiert nicht darauf.

Hatte das mit der Version vorher funktioniert?

Ansonsten konnte ich keine weiteren Probleme feststellen.

Sehr gut 👍
Danke für das Feedback

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64
Sorry, habe mich schlecht ausgedrückt.

Hatte das mit der Version vorher funktioniert?

Nein

Du meinst das Feld 'error'?

Ja

Hatte das mit der Version vorher funktioniert?

Jain, es hat sich wie Stop verhalten.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@mrbungle64
Sorry, habe mich schlecht ausgedrückt.

War schon ok soweit ;)

Hatte das mit der Version vorher funktioniert?

Nein

Taucht dazu im Log etwas auf, wenn du den Level auf "debug" stellst und den Behälter heraus nimmst und wieder einsetzt?

Du meinst das Feld 'error'?

Ja

Hatte das mit der Version vorher funktioniert?

Jain, es hat sich wie Stop verhalten.

Ja genau daran hatte ich auch gearbeitet, dass es beim ersten ausführen pausiert wird und wenn es bereits pausiert ist ein "resume" ausgeführt wird. Das funktioniert beim Ozmo 930 auch wie erwartet.

Funktioniert beim Ozmo 710 auch beim ersten Mal Pause drücken schon nicht mehr, oder erst ab dem zweiten Mal?

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

Ich glaube Dir natürlich, dass sich das bei Dir so verhält, aber verstehen tue ich es ehrlich gesagt (noch) nicht ...

@mrbungle64
Zum Staubbehälter gebe ich dir später mehr Infos.
Pause funktioniert direkt nicht, also auch nicht beim 1. Mal.

Ich habe es bei mir noch mal getestet und sowohl "pause" als auch "resume" funktioniert mit der Version 0.5.6.

Das sollte mit "debug" Level ungefähr so im Log aussehen:

Level Meldung
debug (21407) state change info.deviceStatus => paused
debug (21407) state change info.cleanstatus => pause
info (21407) cleaning paused
debug (21407) state change control.pause => true

Falls das bei Dir auch so aussieht, liegt das Problem außerhalb vom Adapter. Entweder an der Library oder an was anderem.

Kannst Du das bitte mal im Log nachschauen?

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

Also hier der Debuglog zum Thema "Pause"
Habe zwei Mal versucht Pause zu drücken und dann zuletzt Stop. Stop hat dann funktioniert.

ecovacs-deebot.0 2020-03-13 18:45:11.826 debug (30327) system.adapter.admin.0: logging true
ecovacs-deebot.0 2020-03-13 18:45:09.055 debug (30327) state change info.deviceStatus => stopped
ecovacs-deebot.0 2020-03-13 18:45:09.052 debug (30327) state change info.cleanstatus => stop
ecovacs-deebot.0 2020-03-13 18:45:08.873 info (30327) run: stop
ecovacs-deebot.0 2020-03-13 18:45:08.872 debug (30327) state change control.stop => true
ecovacs-deebot.0 2020-03-13 18:45:07.605 debug (30327) state change map.deebotPosition => 210,201
ecovacs-deebot.0 2020-03-13 18:45:06.496 info (30327) cleaning paused
ecovacs-deebot.0 2020-03-13 18:45:06.493 debug (30327) state change control.pause => true
ecovacs-deebot.0 2020-03-13 18:45:06.470 debug (30327) state change map.deebotPosition => 206,200
ecovacs-deebot.0 2020-03-13 18:45:03.548 info (30327) cleaning paused
ecovacs-deebot.0 2020-03-13 18:45:03.545 debug (30327) state change control.pause => true
ecovacs-deebot.0 2020-03-13 18:45:00.899 debug (30327) state change map.deebotPosition => 200,200
ecovacs-deebot.0 2020-03-13 18:44:54.920 debug (30327) state change info.battery => 99
ecovacs-deebot.0 2020-03-13 18:44:54.806 debug (30327) state change map.deebotPosition => 203,200
ecovacs-deebot.0 2020-03-13 18:44:52.984 debug (30327) state change info.error =>
ecovacs-deebot.0 2020-03-13 18:44:52.980 debug (30327) state change info.deviceStatus => idle
ecovacs-deebot.0 2020-03-13 18:44:52.978 debug (30327) state change info.chargestatus => idle
ecovacs-deebot.0 2020-03-13 18:44:52.835 debug (30327) state change map.deebotPosition => 200,200
ecovacs-deebot.0 2020-03-13 18:44:49.804 debug (30327) system.adapter.admin.0: logging false
ecovacs-deebot.0 2020-03-13 18:44:47.095 debug (30327) state change info.error =>
ecovacs-deebot.0 2020-03-13 18:44:47.092 debug (30327) state change info.deviceStatus => cleaning
ecovacs-deebot.0 2020-03-13 18:44:47.090 debug (30327) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-13 18:44:46.907 info (30327) run: clean
ecovacs-deebot.0 2020-03-13 18:44:46.906 debug (30327) state change control.clean => true
ecovacs-deebot.0 2020-03-13 18:44:10.050 debug (30327) state change info.connection => true
ecovacs-deebot.0 2020-03-13 18:44:10.042 info (30327) [vacbot] name: DEEBOT 710
ecovacs-deebot.0 2020-03-13 18:44:10.040 info (30327) DEEBOT_710 successfully connected
ecovacs-deebot.0 2020-03-13 18:44:09.021 info (30327) Using device Device[0]
ecovacs-deebot.0 2020-03-13 18:44:09.021 info (30327) Device[0]: {"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}
ecovacs-deebot.0 2020-03-13 18:44:09.021 info (30327) Number of devices: 1
ecovacs-deebot.0 2020-03-13 18:44:09.020 debug (30327) Devices:[{"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}]
ecovacs-deebot.0 2020-03-13 18:44:09.020 info (30327) Successfully connected to Ecovacs server
ecovacs-deebot.0 2020-03-13 18:44:06.538 debug (30327) state change info.error =>
ecovacs-deebot.0 2020-03-13 18:44:06.525 debug (30327) state change info.connection => false
ecovacs-deebot.0 2020-03-13 18:44:06.351 info (30327) starting. Version 0.5.6 in /opt/iobroker/node_modules/iobroker.ecovacs-deebot, node: v10.19.0
ecovacs-deebot.0 2020-03-13 18:44:05.865 debug (30327) statesDB connected
ecovacs-deebot.0 2020-03-13 18:44:05.864 debug (30327) States connected to redis: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-13 18:44:05.850 debug (30327) States create System PubSub Client
ecovacs-deebot.0 2020-03-13 18:44:05.848 debug (30327) States create User PubSub Client
ecovacs-deebot.0 2020-03-13 18:44:05.839 debug (30327) Redis States: Use Redis connection: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-13 18:44:05.836 debug (30327) objectDB connected
ecovacs-deebot.0 2020-03-13 18:44:05.829 debug (30327) Objects connected to redis: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-13 18:44:05.808 debug (30327) Objects client initialize lua scripts
ecovacs-deebot.0 2020-03-13 18:44:05.808 debug (30327) Objects create User PubSub Client
ecovacs-deebot.0 2020-03-13 18:44:05.807 debug (30327) Objects create System PubSub Client
ecovacs-deebot.0 2020-03-13 18:44:05.802 debug (30327) Objects client ready ... initialize now
ecovacs-deebot.0 2020-03-13 18:44:05.763 debug (30327) Redis Objects: Use Redis connection: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-13 18:44:02.242 info (20980) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
ecovacs-deebot.0 2020-03-13 18:44:02.240 info (20980) terminating
ecovacs-deebot.0 2020-03-13 18:44:02.238 info (20980) cleaned everything up...
ecovacs-deebot.0 2020-03-13 18:44:02.231 info (20980) Got terminate signal TERMINATE_YOURSELF

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

Also hier der Debuglog zum Thema "Pause"
Habe zwei Mal versucht Pause zu drücken und dann zuletzt Stop. Stop hat dann funktioniert.

ok, danke 👍

Ich habe eine Änderung in der Library in Verdacht. Ich hätte als Auswirkung aber eher erwartet, dass der Roboter noch pausiert wird - das dem Adapter aber nicht mehr gemeldet wird (dieser Effekt ist im Log zu sehen).

Ich ändere das mal wieder, denn die Änderung war nicht zwingend notwendig,
Ich sage Dir dann Bescheid, wenn es im Adapter integriert ist.

Taucht dazu im Log etwas auf, wenn du den Level auf "debug" stellst und den Behälter heraus nimmst und wieder einsetzt?

Könntest Du mir wegen der Staubbox ein Log schicken? :)

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

OK, dann zur Staubbox:
Habe Clean gedrückt, Stop, die Box entnommen, Clean gedrückt, Box eingesetzt, Laden gedrückt:

ecovacs-deebot.0 2020-03-13 19:55:34.321 debug (21218) state change info.error =>
ecovacs-deebot.0 2020-03-13 19:55:34.317 debug (21218) state change info.deviceStatus => charging
ecovacs-deebot.0 2020-03-13 19:55:34.288 debug (21218) state change info.chargestatus => charging
ecovacs-deebot.0 2020-03-13 19:55:31.649 debug (21218) state change map.deebotPosition => 197,200
ecovacs-deebot.0 2020-03-13 19:55:19.456 debug (21218) state change info.error =>
ecovacs-deebot.0 2020-03-13 19:55:19.426 debug (21218) state change info.deviceStatus => returning
ecovacs-deebot.0 2020-03-13 19:55:19.415 debug (21218) state change info.chargestatus => returning
ecovacs-deebot.0 2020-03-13 19:55:19.260 info (21218) run: charge
ecovacs-deebot.0 2020-03-13 19:55:19.259 debug (21218) state change control.charge => true
ecovacs-deebot.0 2020-03-13 19:54:58.367 debug (21218) state change info.deviceStatus => stopped
ecovacs-deebot.0 2020-03-13 19:54:58.359 debug (21218) state change info.cleanstatus => stop
ecovacs-deebot.0 2020-03-13 19:54:57.845 debug (21218) state change info.error =>
ecovacs-deebot.0 2020-03-13 19:54:57.842 debug (21218) state change info.deviceStatus => cleaning
ecovacs-deebot.0 2020-03-13 19:54:57.839 debug (21218) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-13 19:54:57.698 info (21218) run: clean
ecovacs-deebot.0 2020-03-13 19:54:57.697 debug (21218) state change control.clean => true
ecovacs-deebot.0 2020-03-13 19:54:34.438 debug (21218) state change map.deebotPosition => 200,200
ecovacs-deebot.0 2020-03-13 19:54:30.502 debug (21218) system.adapter.admin.0: logging true
ecovacs-deebot.0 2020-03-13 19:54:29.879 debug (21218) state change info.battery => 99
ecovacs-deebot.0 2020-03-13 19:54:29.294 debug (21218) state change info.deviceStatus => stopped
ecovacs-deebot.0 2020-03-13 19:54:29.292 debug (21218) state change info.cleanstatus => stop
ecovacs-deebot.0 2020-03-13 19:54:29.136 info (21218) run: stop
ecovacs-deebot.0 2020-03-13 19:54:29.133 debug (21218) state change control.stop => true
ecovacs-deebot.0 2020-03-13 19:54:27.294 debug (21218) state change map.deebotPosition => 203,200
ecovacs-deebot.0 2020-03-13 19:54:26.332 debug (21218) state change info.error =>
ecovacs-deebot.0 2020-03-13 19:54:26.329 debug (21218) state change info.deviceStatus => idle
ecovacs-deebot.0 2020-03-13 19:54:26.324 debug (21218) state change info.chargestatus => idle
ecovacs-deebot.0 2020-03-13 19:54:25.170 debug (21218) state change map.deebotPosition => 200,200
ecovacs-deebot.0 2020-03-13 19:54:21.915 debug (21218) system.adapter.admin.0: logging false
ecovacs-deebot.0 2020-03-13 19:54:20.171 debug (21218) state change info.error =>
ecovacs-deebot.0 2020-03-13 19:54:20.164 debug (21218) state change info.deviceStatus => cleaning
ecovacs-deebot.0 2020-03-13 19:54:20.154 debug (21218) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-13 19:54:19.950 info (21218) run: clean
ecovacs-deebot.0 2020-03-13 19:54:19.948 debug (21218) state change control.clean => true
ecovacs-deebot.0 2020-03-13 19:54:02.179 debug (21218) state change info.connection => true
ecovacs-deebot.0 2020-03-13 19:54:02.147 info (21218) [vacbot] name: DEEBOT 710
ecovacs-deebot.0 2020-03-13 19:54:02.140 info (21218) DEEBOT_710 successfully connected
ecovacs-deebot.0 2020-03-13 19:54:00.629 info (21218) Using device Device[0]
ecovacs-deebot.0 2020-03-13 19:54:00.629 info (21218) Device[0]: {"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}
ecovacs-deebot.0 2020-03-13 19:54:00.628 info (21218) Number of devices: 1
ecovacs-deebot.0 2020-03-13 19:54:00.628 debug (21218) Devices:[{"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}]
ecovacs-deebot.0 2020-03-13 19:54:00.627 info (21218) Successfully connected to Ecovacs server
ecovacs-deebot.0 2020-03-13 19:53:58.271 debug (21218) state change info.error =>
ecovacs-deebot.0 2020-03-13 19:53:58.188 debug (21218) state change info.connection => false
ecovacs-deebot.0 2020-03-13 19:53:58.122 info (21218) starting. Version 0.5.6 in /opt/iobroker/node_modules/iobroker.ecovacs-deebot, node: v10.19.0
ecovacs-deebot.0 2020-03-13 19:53:57.655 debug (21218) statesDB connected
ecovacs-deebot.0 2020-03-13 19:53:57.654 debug (21218) States connected to redis: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-13 19:53:57.640 debug (21218) States create System PubSub Client
ecovacs-deebot.0 2020-03-13 19:53:57.637 debug (21218) States create User PubSub Client
ecovacs-deebot.0 2020-03-13 19:53:57.628 debug (21218) Redis States: Use Redis connection: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-13 19:53:57.625 debug (21218) objectDB connected
ecovacs-deebot.0 2020-03-13 19:53:57.618 debug (21218) Objects connected to redis: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-13 19:53:57.598 debug (21218) Objects client initialize lua scripts
ecovacs-deebot.0 2020-03-13 19:53:57.597 debug (21218) Objects create User PubSub Client
ecovacs-deebot.0 2020-03-13 19:53:57.596 debug (21218) Objects create System PubSub Client
ecovacs-deebot.0 2020-03-13 19:53:57.591 debug (21218) Objects client ready ... initialize now
ecovacs-deebot.0 2020-03-13 19:53:57.551 debug (21218) Redis Objects: Use Redis connection: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-13 19:53:54.019 info (3976) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
ecovacs-deebot.0 2020-03-13 19:53:54.018 info (3976) terminating
ecovacs-deebot.0 2020-03-13 19:53:54.017 info (3976) cleaned everything up...
ecovacs-deebot.0 2020-03-13 19:53:54.013 info (3976) Got terminate signal TERMINATE_YOURSELF

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

Im Log ist echt nix zu sehen von der Staubbox :(
Dabei war es z.B. hier ja schon mal klar zu sehen, dass das bei Dir erkannt wird.

Könntest Du das noch mal mit den aktuellen Quellen von der Library ausführen? Danke! :)

NODE_ENV=dev node app2.js | grep -E 'Dust|dust'

Und dabei natürlich die Staubbox mal entfernen und wieder einsetzen

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

Heute leider nicht mehr, aber morgen habe ich wieder Zeit ;-)

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

Heute leider nicht mehr, aber morgen habe ich wieder Zeit ;-)

Alles klar 👍

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64
Habs erledigt, ausgeführt, Roboter ist losgefahren, Pause (auf der Fernbedienung) gedrückt, 3 Mal hintereinander = Box raus und rein.

pi@raspberrypi:~/ecovacs-deebot.js/example $ NODE_ENV=dev node app2.js | grep -E 'Dust|dust'
[EcovacsMQTT] wrap_command_getPayload args: { type: 'DustCaseHeap', id: '38770355' }
[EcovacsMQTT] wrap_command DOMParser().parseFromString:
[EcovacsMQTT] wrap_command payload:
[EcovacsMQTT] send_command: {"auth":{"realm":"ecouser.net","resource":"0a87c39d","token":"XXXXXXXX","userid":"XXXXXXXX","with":"users"},"cmdName":"GetLifeSpan","payload":"<ctl type="DustCaseHeap" id="38770355"/>","payloadType":"x","td":"q","toId":"73405b80-1bb8-4795-8fef-56474167db2d","toRes":"uYyu","toType":"uv242z"}
[EcovacsMQTT] Sending {"auth":{"realm":"ecouser.net","resource":"0a87c39d","token":"XXXXXXXX","userid":"XXXXXXXX","with":"users"},"cmdName":"GetLifeSpan","payload":"<ctl type="DustCaseHeap" id="38770355"/>","payloadType":"x","td":"q","toId":"73405b80-1bb8-4795-8fef-56474167db2d","toRes":"uYyu","toType":"uv242z"}
[EcovacsMQTT] handle_command_response() message: {"ret":"ok","resp":"","id":"UhiK"}
[EcovacsMQTT] handle_command_response() json resp: ""
[EcovacsMQTT] handle_command_response() resp (1): {"event":"ctl","attrs":{"ret":"ok","type":"DustCaseHeap","left":"02774","total":"7200"}}
[EcovacsMQTT] _handle_command() command GetLifeSpan received event: {"event":"ctl","attrs":{"ret":"ok","type":"DustCaseHeap","left":"02774","total":"7200"}}
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584149446361","td":"DustCaseST","st":"1"}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584149446361","td":"DustCaseST","st":"1"}}
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[VacBot] *** dustbox_info = 1
[app2.js] DustCaseInfo: 1
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584149449861","td":"DustCaseST","st":""}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584149449861","td":"DustCaseST","st":""}}
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[app2.js] DustCaseInfo: 1
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584149454362","td":"DustCaseST","st":"1"}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584149454362","td":"DustCaseST","st":"1"}}
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[VacBot] *** dustbox_info = 1
[app2.js] DustCaseInfo: 1
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584149456862","td":"DustCaseST","st":""}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584149456862","td":"DustCaseST","st":""}}
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[app2.js] DustCaseInfo: 1
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584149462862","td":"DustCaseST","st":"1"}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584149462862","td":"DustCaseST","st":"1"}}
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[VacBot] *** dustbox_info = 1
[app2.js] DustCaseInfo: 1
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584149465361","td":"DustCaseST","st":""}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584149465361","td":"DustCaseST","st":""}}
[tools] getEventNameForCommandString() str: DustCaseST
[tools] getEventNameForCommandString() command: dustcasest
[app2.js] DustCaseInfo: 1
[EcovacsMQTT] failure code: 500
^C

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

Danke 👍
Hab das Problem gefunden - wird (hoffentlich) im nächsten Update behoben sein :)

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

Perfekt, wirklich super dein Einsatz!
Was hast du denn gelernt, dass du so im Thema bist? 🥇

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

Perfekt, wirklich super dein Einsatz!
Was hast du denn gelernt, dass du so im Thema bist?

Mit Robotern habe ich zwar beruflich nichts zu tun, aber ein paar Jährchen Berufserfahrung als Software-Entwickler helfen das ein wenig zu verstehen was hier passiert :)

Hoffen wir mal, dass ich recht behalte dass es mit dem nächsten Update funktionieren wird :)

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

Version 0.5.7 ist auf GitHub verfügbar :)

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64
So, mit der version 0.5.7 wird der Status der Staubbox jetzt erkannt! 👍
Wenn die Box eingesetzt ist = false und entfernt = true
Pause funktioniert weiterhin nicht, auch nicht beim 1 Mal drücken, hier der Log dazu:

ecovacs-deebot.0 2020-03-14 14:22:27.034 debug (26833) system.adapter.admin.0: logging true
ecovacs-deebot.0 2020-03-14 14:22:25.491 debug (26833) state change info.cleanstatus => stop
ecovacs-deebot.0 2020-03-14 14:22:25.484 info (26833) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:22:25.476 debug (26833) state change info.deviceStatus => stopped
ecovacs-deebot.0 2020-03-14 14:22:25.473 debug (26833) state change info.cleanstatus => stop
ecovacs-deebot.0 2020-03-14 14:22:25.374 info (26833) run: stop
ecovacs-deebot.0 2020-03-14 14:22:25.373 debug (26833) state change control.stop => true
ecovacs-deebot.0 2020-03-14 14:22:22.350 debug (26833) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-14 14:22:22.346 debug (26833) state change map.deebotPosition => 194,201
ecovacs-deebot.0 2020-03-14 14:22:22.340 info (26833) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:22:22.257 info (26833) cleaning paused
ecovacs-deebot.0 2020-03-14 14:22:22.252 debug (26833) state change control.pause => true
ecovacs-deebot.0 2020-03-14 14:22:21.019 debug (26833) state change map.deebotPosition => 197,201
ecovacs-deebot.0 2020-03-14 14:22:20.714 debug (26833) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-14 14:22:20.709 info (26833) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:22:20.609 info (26833) cleaning paused
ecovacs-deebot.0 2020-03-14 14:22:20.605 debug (26833) state change control.pause => true
ecovacs-deebot.0 2020-03-14 14:22:19.185 debug (26833) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-14 14:22:19.175 info (26833) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:22:19.053 info (26833) cleaning paused
ecovacs-deebot.0 2020-03-14 14:22:19.045 debug (26833) state change control.pause => true
ecovacs-deebot.0 2020-03-14 14:22:09.916 debug (26833) system.adapter.admin.0: logging false
ecovacs-deebot.0 2020-03-14 14:22:06.404 debug (26833) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-14 14:22:06.388 info (26833) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:22:06.345 debug (26833) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:22:06.342 debug (26833) state change info.deviceStatus => cleaning
ecovacs-deebot.0 2020-03-14 14:22:06.339 debug (26833) state change info.cleanstatus => auto
ecovacs-deebot.0 2020-03-14 14:22:06.244 info (26833) run: clean
ecovacs-deebot.0 2020-03-14 14:22:06.243 debug (26833) state change control.clean => true
ecovacs-deebot.0 2020-03-14 14:21:50.832 debug (26833) state change info.connection => true
ecovacs-deebot.0 2020-03-14 14:21:50.824 info (26833) [vacbot] name: DEEBOT 710
ecovacs-deebot.0 2020-03-14 14:21:50.821 info (26833) DEEBOT_710 successfully connected
ecovacs-deebot.0 2020-03-14 14:21:49.855 info (26833) Using device Device[0]
ecovacs-deebot.0 2020-03-14 14:21:49.855 info (26833) Device[0]: {"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}
ecovacs-deebot.0 2020-03-14 14:21:49.854 info (26833) Number of devices: 1
ecovacs-deebot.0 2020-03-14 14:21:49.854 debug (26833) Devices:[{"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}]
ecovacs-deebot.0 2020-03-14 14:21:49.853 info (26833) Successfully connected to Ecovacs server
ecovacs-deebot.0 2020-03-14 14:21:48.417 debug (26833) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:48.374 info (26833) reconnecting (1) ...
ecovacs-deebot.0 2020-03-14 14:21:45.781 debug (26833) system.adapter.admin.0: logging true
ecovacs-deebot.0 2020-03-14 14:21:42.370 debug (26833) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:42.365 debug (26833) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:42.054 debug (26833) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:41.974 debug (26833) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:41.905 info (26833) starting. Version 0.5.7 in /opt/iobroker/node_modules/iobroker.ecovacs-deebot, node: v10.19.0
ecovacs-deebot.0 2020-03-14 14:21:41.219 debug (26833) statesDB connected
ecovacs-deebot.0 2020-03-14 14:21:41.219 debug (26833) States connected to redis: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-14 14:21:41.205 debug (26833) States create System PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:41.202 debug (26833) States create User PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:41.193 debug (26833) Redis States: Use Redis connection: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-14 14:21:41.190 debug (26833) objectDB connected
ecovacs-deebot.0 2020-03-14 14:21:41.183 debug (26833) Objects connected to redis: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-14 14:21:41.162 debug (26833) Objects client initialize lua scripts
ecovacs-deebot.0 2020-03-14 14:21:41.162 debug (26833) Objects create User PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:41.160 debug (26833) Objects create System PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:41.156 debug (26833) Objects client ready ... initialize now
ecovacs-deebot.0 2020-03-14 14:21:41.117 debug (26833) Redis Objects: Use Redis connection: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-14 14:21:38.940 debug (26809) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:38.937 debug (26809) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:38.719 info (26809) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
ecovacs-deebot.0 2020-03-14 14:21:38.716 debug (26809) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:38.658 debug (26809) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:38.570 debug (26809) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:38.505 info (26809) starting. Version 0.5.7 in /opt/iobroker/node_modules/iobroker.ecovacs-deebot, node: v10.19.0
ecovacs-deebot.0 2020-03-14 14:21:38.230 debug (26809) statesDB connected
ecovacs-deebot.0 2020-03-14 14:21:38.229 debug (26809) States connected to redis: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-14 14:21:38.216 debug (26809) States create System PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:38.213 debug (26809) States create User PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:38.204 debug (26809) Redis States: Use Redis connection: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-14 14:21:38.201 debug (26809) objectDB connected
ecovacs-deebot.0 2020-03-14 14:21:38.195 debug (26809) Objects connected to redis: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-14 14:21:38.173 debug (26809) Objects client initialize lua scripts
ecovacs-deebot.0 2020-03-14 14:21:38.172 debug (26809) Objects create User PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:38.171 debug (26809) Objects create System PubSub Client
ecovacs-deebot.0 2020-03-14 14:21:38.166 debug (26809) Objects client ready ... initialize now
ecovacs-deebot.0 2020-03-14 14:21:38.128 debug (26809) Redis Objects: Use Redis connection: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-14 14:21:34.732 info (25933) Got terminate signal TERMINATE_YOURSELF
ecovacs-deebot.0 2020-03-14 14:21:34.699 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:34.692 info (25933) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
ecovacs-deebot.0 2020-03-14 14:21:34.691 info (25933) terminating
ecovacs-deebot.0 2020-03-14 14:21:34.689 info (25933) Got terminate signal TERMINATE_YOURSELF
ecovacs-deebot.0 2020-03-14 14:21:28.975 debug (25933) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:28.972 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:28.908 debug (25933) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:28.877 info (25933) reconnecting (5) ...
ecovacs-deebot.0 2020-03-14 14:21:22.874 debug (25933) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:22.871 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:22.647 debug (25933) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:22.604 info (25933) reconnecting (4) ...
ecovacs-deebot.0 2020-03-14 14:21:18.744 debug (25933) system.adapter.admin.0: logging false
ecovacs-deebot.0 2020-03-14 14:21:16.600 debug (25933) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:16.586 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:16.280 debug (25933) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:16.240 info (25933) reconnecting (3) ...
ecovacs-deebot.0 2020-03-14 14:21:10.238 debug (25933) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:10.235 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:09.986 debug (25933) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:09.967 info (25933) reconnecting (2) ...
ecovacs-deebot.0 2020-03-14 14:21:03.965 debug (25933) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:21:03.963 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:21:03.916 debug (25933) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:21:03.897 info (25933) reconnecting (1) ...
ecovacs-deebot.0 2020-03-14 14:20:57.895 debug (25933) state change info.error => reconnecting
ecovacs-deebot.0 2020-03-14 14:20:57.892 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:20:57.602 debug (25933) state change info.error =>
ecovacs-deebot.0 2020-03-14 14:20:57.514 debug (25933) state change info.connection => false
ecovacs-deebot.0 2020-03-14 14:20:57.445 info (25933) starting. Version 0.5.7 in /opt/iobroker/node_modules/iobroker.ecovacs-deebot, node: v10.19.0
ecovacs-deebot.0 2020-03-14 14:20:56.826 debug (25933) statesDB connected
ecovacs-deebot.0 2020-03-14 14:20:56.825 debug (25933) States connected to redis: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-14 14:20:56.812 debug (25933) States create System PubSub Client
ecovacs-deebot.0 2020-03-14 14:20:56.809 debug (25933) States create User PubSub Client
ecovacs-deebot.0 2020-03-14 14:20:56.800 debug (25933) Redis States: Use Redis connection: 127.0.0.1:9000
ecovacs-deebot.0 2020-03-14 14:20:56.797 debug (25933) objectDB connected
ecovacs-deebot.0 2020-03-14 14:20:56.790 debug (25933) Objects connected to redis: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-14 14:20:56.770 debug (25933) Objects client initialize lua scripts
ecovacs-deebot.0 2020-03-14 14:20:56.769 debug (25933) Objects create User PubSub Client
ecovacs-deebot.0 2020-03-14 14:20:56.768 debug (25933) Objects create System PubSub Client
ecovacs-deebot.0 2020-03-14 14:20:56.763 debug (25933) Objects client ready ... initialize now
ecovacs-deebot.0 2020-03-14 14:20:56.725 debug (25933) Redis Objects: Use Redis connection: 127.0.0.1:9001
ecovacs-deebot.0 2020-03-14 14:20:53.379 info (22427) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
ecovacs-deebot.0 2020-03-14 14:20:53.376 info (22427) terminating
ecovacs-deebot.0 2020-03-14 14:20:53.375 info (22427) cleaned everything up...
ecovacs-deebot.0 2020-03-14 14:20:53.372 info (22427) Got terminate signal TERMINATE_YOURSELF
ecovacs-deebot.0 2020-03-14 14:20:27.531 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:27.437 info (22427) run: stop
ecovacs-deebot.0 2020-03-14 14:20:26.707 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:26.599 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:26.407 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:26.319 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:26.272 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:26.037 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:25.643 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:25.564 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:25.120 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:25.050 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:24.239 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:24.141 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:19.980 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:19.870 info (22427) run: clean
ecovacs-deebot.0 2020-03-14 14:20:15.974 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:15.876 info (22427) run: stop
ecovacs-deebot.0 2020-03-14 14:20:10.211 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:10.123 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:09.047 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:08.926 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:08.005 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:07.930 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:07.079 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:06.990 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:04.921 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:04.827 info (22427) cleaning paused
ecovacs-deebot.0 2020-03-14 14:20:03.658 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:20:03.484 info (22427) run: clean
ecovacs-deebot.0 2020-03-14 14:19:11.798 info (22427) Unhandled cleanstatus: undefined
ecovacs-deebot.0 2020-03-14 14:19:11.589 info (22427) run: clean
ecovacs-deebot.0 2020-03-14 14:18:41.119 info (22427) [vacbot] name: DEEBOT 710
ecovacs-deebot.0 2020-03-14 14:18:41.116 info (22427) DEEBOT_710 successfully connected
ecovacs-deebot.0 2020-03-14 14:18:40.115 info (22427) Using device Device[0]
ecovacs-deebot.0 2020-03-14 14:18:40.114 info (22427) Device[0]: {"did":"73405b80-1bb8-4795-8fef-56474167db2d","name":"E0001209318604870530","class":"uv242z","resource":"uYyu","nick":"DEEBOT_710","company":"eco-ng","bindTs":1568983549228}
ecovacs-deebot.0 2020-03-14 14:18:40.114 info (22427) Number of devices: 1
ecovacs-deebot.0 2020-03-14 14:18:40.113 info (22427) Successfully connected to Ecovacs server
ecovacs-deebot.0 2020-03-14 14:18:38.473 info (22427) reconnecting (4) ...
ecovacs-deebot.0 2020-03-14 14:18:32.146 info (22427) reconnecting (3) ...
ecovacs-deebot.0 2020-03-14 14:18:25.872 info (22427) reconnecting (2) ...
ecovacs-deebot.0 2020-03-14 14:18:19.614 info (22427) reconnecting (1) ...
ecovacs-deebot.0 2020-03-14 14:18:12.695 info (22427) starting. Version 0.5.7 in /opt/iobroker/node_modules/iobroker.ecovacs-deebot, node: v10.19.0
ecovacs-deebot.0 2020-03-14 14:18:08.204 info (25612) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
ecovacs-deebot.0 2020-03-14 14:18:08.203 info (25612) terminating
ecovacs-deebot.0 2020-03-14 14:18:08.203 info (25612) cleaned everything up...
ecovacs-deebot.0 2020-03-14 14:18:08.200 info (25612) Got terminate signal TERMINATE_YOURSELF

Ich habe 3x versucht Pause zu drücken und anschließend habe ich stop gedrückt.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@mrbungle64
So, mit der version 0.5.7 wird der Status der Staubbox jetzt erkannt!

Sehr gut 👍

Wenn die Box eingesetzt ist = false und entfernt = true

Das sollte aber umgekehrt sein ;)
Ist das wirklich so bei Dir?

Pause funktioniert weiterhin nicht, auch nicht beim 1 Mal drücken, hier der Log dazu:

Hmm, dann muss ich mal weiterschauen...

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64

Also er steht grad auf der Ladestation und die Box ist installiert:
dust
Ist ja aber nicht wirklich schlimm =)

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@mrbungle64

Also er steht grad auf der Ladestation und die Box ist installiert:
dust
Ist ja aber nicht wirklich schlimm =)

Das würde mich jetzt aber mal interessieren, ob die das bei manchen Modellen invertiert haben ...

Kannst Du mir mal den Gefallen tun und das hier mal ausführen

NODE_ENV=dev node app2.js | grep 'DustCaseST'

und dabei darauf achten, in welchem Fall (einsetzen bzw. herausnehmen) da eine "1" bei "st"

{"event":"DustCaseST","attrs":{"ts":"xxx","td":"DustCaseST","st":"1"}}

und in welchem Fall "st" leer ist

{"event":"DustCaseST","attrs":{"ts":"xxx","td":"DustCaseST","st":""}}

Das wäre cool, denn ich möchte ausschließen, dass der Fehler bei mir liegt :)

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

Box raus:

[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584167913749","td":"DustCaseST","st":"1"}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584167913749","td":"DustCaseST","st":"1"}}
[tools] getEventNameForCommandString() str: DustCaseST

Box rein:
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584167972249","td":"DustCaseST","st":""}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584167972249","td":"DustCaseST","st":""}}
[tools] getEventNameForCommandString() str: DustCaseST

2. Versuch (ohne das ich mit strg+c unterbrochen habe):

pi@raspberrypi:~/ecovacs-deebot.js/example $ NODE_ENV=dev node app2.js | grep 'DustCaseST'
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584168014749","td":"DustCaseST","st":"1"}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584168014749","td":"DustCaseST","st":"1"}}
[tools] getEventNameForCommandString() str: DustCaseST
[EcovacsMQTT] message_to_dict topic: undefined iot/atr/DustCaseST/73405b80-1bb8-4795-8fef-56474167db2d/uv242z/uYyu/x
[EcovacsMQTT] message_to_dict() xmlString:
[tools] getEventNameForCommandString() str: DustCaseST
[EcovacsMQTT] as_dict: {"event":"DustCaseST","attrs":{"ts":"1584168019249","td":"DustCaseST","st":""}}
[EcovacsMQTT] command: DustCaseST
[EcovacsMQTT] _handle_command() command DustCaseST received event: {"event":"DustCaseST","attrs":{"ts":"1584168019249","td":"DustCaseST","st":""}}
[tools] getEventNameForCommandString() str: DustCaseST

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

ok, vielen Dank 👍
Ja die haben das echt invertiert ...

Beim Ozmo 930 habe ich als Wert

  • "1" wenn die Box eingesetzt ist
  • "0" wenn die Box entnommen ist

so würde ich das auch erwarten

Beim Ozmo 710/711 ist der Wert

  • "" (leer) wenn die Box eingesetzt ist
  • "1" wenn die Box entnommen ist

Das macht so keinen Spaß Ecovacs ...

Ich mache mir mal Gedanken, ob ich das abhängig vom Modell autom. umkehre, oder ob ich dafür eine Einstellung in den Adapter einbaue.

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

Das sind sicherlich immer neue Teams mit gewissen Vorgaben.
Und wenn die Vorgabe erfüllt ist, einen Haken dran, egal ob nun 0, 1 oder was auch immer.
Anders kann ich mir das nicht erklären.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

Das sind sicherlich immer neue Teams mit gewissen Vorgaben.
Und wenn die Vorgabe erfüllt ist, einen Haken dran, egal ob nun 0, 1 oder was auch immer.
Anders kann ich mir das nicht erklären.

Ja so wird es auch sein ;)

Ein Leerstring für eingesetzt und eine 1 dafür wenn die Box entnommen ist macht in meinen Augen keinen Sinn. Vielleicht wäre es klarer, wenn man wüsste was "st" bedeutet... Das steckt ja auch in der Event-Bezeichnung "DustCaseST"

Bleibt noch die "Pause" Funktion ...

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

DustcaseST... meine Frau meint Standard 😄
Aber vielleicht hat Sie Recht, weil es gibt doch Modelle mit Wassertank...

Mir ist grad noch eine andere Idee gekommen, vielleicht hängt diese unsaubere Ausgabe vom Status der Staubbox auch mit dem sporadischen Fehler zusammen, von dem ich bereits berichtet habe!?
Manchmal meint der Roboter, dass die Box nicht eingesetzt wäre, obwohl diese eingesetzt ist...
Gut, bringt uns jetzt auch nicht so viel, aber es könnte ja sein, dass dies mit einer neuen Firmware noch einmal geändert wird, obwohl es schon ewig kein Update mehr gab.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

Ich bin noch mal sämtliche Codeänderungen der letzten ca. 14 Tage durchgegangen - irgendwie sehe ich nichts, was die Pause-Funktion speziell beim Deebot 710/711 verhindern sollte, wenn die vorher funktioniert hatte (wenn auch nur als quasi "stop").

Gab es ein Firmware Update in letzter Zeit?

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64 Nein, kein Firmwareupdate, immer noch die 1.5.4

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

Ich bin weiterhin da ein bisschen ratlos...
Die Meldung "cleaning paused" (siehe Logs) wird an der Stelle ausgegeben, wo das "pause" Kommando ausgeführt und an die Library weitergeben wird.

... {
   this.log.info('cleaning paused');
   this.vacbot.run('pause');
}

In der Library hat sich an dem Code für "pause" auch schon länger nichts mehr geändert. Bei mir und (offensichtlich) auch bei anderen scheint es ja auch weiterhin zu funktionieren.

Hast Du die aktuelle Version von GitHub mal gestest? Da ich ja nicht weiß was es ausgelöst hat, könnte es sich ja genauso wieder erledigt haben das Problem ;)

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64

Hab grad aktualisiert, jetzt geht der Adapter nicht mehr auf grün. Auch per App auf dem Handy nichts mehr zu machen. Die Server von Ecovac sind echt für die Tonne!
Klappt es bei euch noch?

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

@mrbungle64

Hab grad aktualisiert, jetzt geht der Adapter nicht mehr auf grün. Auch per App auf dem Handy nichts mehr zu machen.

Ja, die haben wohl gerade Schluckauf ...
Es ist gefühlt noch langsamer als sonst und und in der Mobile App kam teilweise ein Fehler wegen Zeitüberschreitung ...
Der Adapter konnte sich nun aber verbinden

Die Server von Ecovac sind echt für die Tonne!

Das sehe ich ähnlich ...

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64
So, habe jetzt eine Meldung über das Verbrauchsmaterial per Telegram bekommen und der Adapter ist wieder grün. Gut zu wissen, dass der Adapter so lange versucht, bis er eine Verbindung herstellen konnte.
Pause funktioniert leider weiterhin nicht, auch nicht als stop.
Dafür funktioniert die neue Funktion "Roboter befindet sich hier" ;-)
Also Pause benötige ich nicht wirklich, wenn du den Fehler nicht finden kannst, dann ist das nicht schlimm.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@mrbungle64
So, habe jetzt eine Meldung über das Verbrauchsmaterial per Telegram bekommen und der Adapter ist wieder grün. Gut zu wissen, dass der Adapter so lange versucht, bis er eine Verbindung herstellen konnte.

Das ist aktuell auf 20 Versuche beschränkt. Im Normalfall reicht das ja ;)

Pause funktioniert leider weiterhin nicht, auch nicht als stop.
Dafür funktioniert die neue Funktion "Roboter befindet sich hier" ;-)

ok gut, das hatte ich zwischendurch mal eingebaut ;)

Also Pause benötige ich nicht wirklich, wenn du den Fehler nicht finden kannst, dann ist das nicht schlimm.

ok, da es sich vorher eh nur wie "stop" verhalten hat (und es dafür ja auch die "stop" Funktion gibt) würde ich im Zweifelsfall mal warten, bis ein Entwickler einen Deebot 710/711 zur Verfügung hat.

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64
Ich möchte jetzt kein extra Thema für die Frage aufmachen, deswegen hier:
Wäre es nicht möglich sich von den Ecovac Server unabhängig zu machen und dem Roboter die Verbindung vorzugaukeln? Oder stelle ich mir das jetzt zu einfach vor?

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@capitaenz

So etwas in der Art gibt es sogar schon ;)

  1. https://github.com/bmartin5692/bumper
  2. https://gitlab.com/michael.becker/vacuumclean/-/tree/master

Ich habe das selbst aus verschiedenen Gründen aber noch nicht getestet.

from iobroker.ecovacs-deebot.

capitaenz avatar capitaenz commented on June 2, 2024

@mrbungle64
Mir ist grad eine Idee zur Pause-Funktion gekommen:
Reinigung gestartet und Pause in der App auf dem Handy gedrückt, klappt.
Anschließend die Pause-Funktion im ioBroker Adapter gedrückt und der Roboter fährt weiter!!
Muss man das verstehen?
Hab die Version 0.5.8 installiert.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on June 2, 2024

@mrbungle64
Mir ist grad eine Idee zur Pause-Funktion gekommen:
Reinigung gestartet und Pause in der App auf dem Handy gedrückt, klappt.
Anschließend die Pause-Funktion im ioBroker Adapter gedrückt und der Roboter fährt weiter!!
Muss man das verstehen?

@capitaenz
Ja, ich verstehe das :)

Und zwar wird ein "resume" ausgeführt, wenn die Reinigung pausiert ist ("info.deviceStatus" = "paused"). Warum allerdings die Pause Funktion nicht per ioBroker funktioniert beim Deebot 710 ist mir weiterhin ein Rätsel...

Hab die Version 0.5.8 installiert.

from iobroker.ecovacs-deebot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.