ioBroker.roborock icon indicating copy to clipboard operation
ioBroker.roborock copied to clipboard

Fehlermeldung: Failed to execute get_status on robot xxx ...

Open Norb1204 opened this issue 1 year ago • 11 comments

Hallo, nach update PI von Debian 10 nach 12 kommt kurz nach dem Start des Adapters ca. jede Sekunde eine Fehlermeldung. Adapterversion: Aktuelle DEV (18.05.2024)

Als Anhang das LOG: log.txt

Norb1204 avatar May 19 '24 10:05 Norb1204

Ja, ich habe dafür einen fix vorbereitet, aber noch nicht hochgeladen.

copystring avatar May 19 '24 11:05 copystring

Testest du bitte die neue dev? Da sollte es jetzt wieder laufen.

copystring avatar May 19 '24 20:05 copystring

Fehlermeldungen sind zwar weg aber der DeviceStatus, CleaningInfo wird nicht mehr aktualisiert.

image image

Norb1204 avatar May 20 '24 09:05 Norb1204

Bist du dir sicher, dass das nie aktualisiert wird? Ich kann das bei mir nicht reproduzieren. Vielleicht hast du aber noch nicht die neueste dev installiert?

copystring avatar May 20 '24 15:05 copystring

Habe mal den Adapter gelöscht und neu installiert. Bei der Standard-Installation funktioniert die Aktualisierung. Dann die DEV installiert, hier funktioniert die Aktualisierung nicht. Habe z.Z. zwei ioBroker am laufen. Einen mit Debian 10 der andere mit 12. Bei beiden das gleiche Phänomen.

Norb1204 avatar May 20 '24 15:05 Norb1204

Merkwürdig, aber OK. Muss ich mir angucken. Gibt es im Log neue Fehler?

copystring avatar May 20 '24 15:05 copystring

Bei der Standard-Installation kommen halt noch die altbekannten Fehlermeldungen. Ich werde morgen mir das ganze genauer anschauen und Rückmeldung geben. Momentan habe ich die Vorgängerversion der DEV am laufen.

Norb1204 avatar May 20 '24 17:05 Norb1204

Als Anhang ein LOG von mehreren Minuten. Mit der letzten DEV werden DeviceStatus und CleaningInfo nicht mehr aktualisiert, auch beim Neustart des Adapters nicht. Erst wenn ich den Adapter lösche und neu installiere funktioniert die Aktualisierung wieder.

log.txt

Norb1204 avatar May 21 '24 05:05 Norb1204

Habe ich auch schon seit Längerem. Kommt jedes Mal, wenn ich eine Reinigung (über die App) starte.

Roborock S8 Adapter v0.6.4 Node.js v18.19.0 NPM 10.5.1

roborock.0 | 2024-05-21 08:21:50.387 | error | Failed to execute get_status on robot 6FkwKSEbh3Tm0119AtENqL TypeError: this.adapter.getMap is not a function at vacuum.getParameter (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:279:31) at Roborock.updateDataMinimumData (/opt/iobroker/node_modules/iobroker.roborock/main.js:671:4)
-- | -- | -- | --
roborock.0 | 2024-05-21 07:23:57.525 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:32:25.042 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:32:07.604 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:31:34.976 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:29:11.213 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:26:47.228 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:20:47.108 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:17:47.053 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:14:08.623 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:11:47.374 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)
roborock.0 | 2024-05-21 06:08:47.030 | error | Failed to execute get_map_v1 on robot 6FkwKSEbh3Tm0119AtENqL TypeError: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Array at new NodeError (node:internal/errors:405:5) at _write (node:internal/streams/writable:315:13) at Gzip.Writable.end (node:internal/streams/writable:612:17) at zlibBuffer (node:zlib:128:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:800:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:67:10) at processTicksAndRejections (node:internal/process/task_queues:95:5)

0xdefec71f avatar May 21 '24 09:05 0xdefec71f

Als Anhang ein LOG von mehreren Minuten. Mit der letzten DEV werden DeviceStatus und CleaningInfo nicht mehr aktualisiert, auch beim Neustart des Adapters nicht. Erst wenn ich den Adapter lösche und neu installiere funktioniert die Aktualisierung wieder.

log.txt

Ich glaube, ich konnte den Fehler ganz gut eingrenzen. Magst du es nochmal mit der neuen dev testen? https://github.com/copystring/ioBroker.roborock/tree/dev

copystring avatar May 21 '24 21:05 copystring

Geht noch nicht 100%, teilweise werden die Datenpunkte jede Sekunde aktualisiert. Es gibt auch noch ein paar Fehlermeldungen (siehe LOG).

log.txt

Norb1204 avatar May 22 '24 14:05 Norb1204

Das Aktualisieren jede Sekunde ist ab sofort erstmal so gewollt. Zum Absturz: war das eine einmalige Sache oder kommt das ständig? Solche Abstürze sind besonders schwer zu finden.

copystring avatar May 22 '24 20:05 copystring

Nach einem Neustart des Adapters kommen noch Fehlermeldungen, danach aber keine mehr. Die Aktualisierungsfrequenz von 1 sec ist natürlich schon sportlich. Ich hoffe aber dass Du dies irgendwann in den Griff bekommst.

Erst mal vielen Dank von meiner Seite

Norb1204 avatar May 24 '24 18:05 Norb1204

Das macht die Roborock App auch so. In der neuen dev habe ich es jetzt dennoch so angepasst, dass nur dann jede Sekunde aktualisiert wird, wenn das Webinterface verbunden ist. Ansonsten wird wie in der Config des Adapters aktualisiert. Standardmäßig alle 60 Sekunden.

copystring avatar May 29 '24 21:05 copystring

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 13 '24 05:06 stale[bot]

danke auch von mir. @copystring kannst du das bitte ins beta repo schieben? dann teste ich auch mal.

0xdefec71f avatar Jun 13 '24 07:06 0xdefec71f

danke auch von mir. @copystring kannst du das bitte ins beta repo schieben? dann teste ich auch mal.

Ja, sobald ich die letzten Fehler in der dev-Version behoben habe, werde ich eine neue beta in latest bereitstellen. Die letzten Monate fehlt mir einiges an Zeit. Deshalb ist es etwas ruhiger geworden.

copystring avatar Jun 15 '24 06:06 copystring

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 29 '24 08:06 stale[bot]

Running on the current dev version.

2024-08-11 11:09:05.874	error	Failed to execute get_map_v1 on robot ABC TypeError: The "chunk" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Array at _write (node:internal/streams/writable:480:13) at Gzip.Writable.end (node:internal/streams/writable:821:17) at zlibBuffer (node:zlib:130:10) at Object.asyncBufferWrapper [as gzip] (node:zlib:819:12) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:69:11) at processTicksAndRejections (node:internal/process/task_queues:95:5)```

c-hum avatar Aug 11 '24 09:08 c-hum

Habe auch den Fehler. Adapter 0.6.16 heute neu installiert da Sauger Roborock S8 Pro Ultra in Betrieb genommen

Failed to execute get_map_v1 on robot 7Q17LTIuWAbBxxxxxxeq (unknown model): Error: Failed to convert JavaScript value Undefinedinto rust typeString at /opt/iobroker/node_modules/iobroker.roborock/lib/mapCreator.js:654:29 at Array.forEach (<anonymous>) at MapCreator.canvasMap (/opt/iobroker/node_modules/iobroker.roborock/lib/mapCreator.js:631:30) at vacuum.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:84:46) at Roborock.initializeDeviceUpdates (/opt/iobroker/node_modules/iobroker.roborock/main.js:334:4)

freakyfreaky avatar Oct 09 '24 18:10 freakyfreaky