-
-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Bug Description
Hallo zusammen, ich habe den Adapter in Version 0.6.19 (GitHub-Version: copystring/ioBroker.roborock#97c61972c09ae9e53b157f4abc64e7e39efe617c) im Einsatz und bekomme beim Start des Adapters einen wiederholten Absturz mit folgender Fehlermeldung:
TypeError: Cannot read properties of undefined (reading 'productId')
at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66)
at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43)
at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:601:18)
Was bisher bekannt ist:
Modell: roborock.vacuum.a10
Adapter erkennt den Roboter korrekt, inkl. IP, MAC, MQTT-Verbindung und unterstützte Features.
Die productId scheint jedoch in der Antwortstruktur zu fehlen oder ist undefined.
Dadurch kommt es zu einem unhandled promise rejection und der Adapter terminiert.
Ausschnitt aus dem Debug-Log:
Supported features of robot 5lWolSoB3xgE7ryo8YD2tc - roborock.vacuum.a10: {
"isVideoMonitorSupported": true,
"isCameraSupported": true,
"isMopForbiddenSupported": true,
...
}
Steps to Reproduce
sobald man in der navigationsleiste im iobroker auf dem adapter roborock klickt kommt immer die fehlermeldung wie im log zu sehen. das macht man ein paar mal und iobroker deaktiviert den adapter, weil zu viele loops.
Expected Behavior
das er mir das korrekt anzeigt die map usw.
Debug Log
2025-10-12 11:47:36.558 | error | Cannot read properties of undefined (reading 'productId') -- | -- | -- roborock.0 | 2025-10-12 11:47:36.558 | error | TypeError: Cannot read properties of undefined (reading 'productId') at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66) at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43) at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:601:18) roborock.0 | 2025-10-12 11:47:36.558 | error | unhandled promise rejection: Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:47:36.557 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). roborock.0 | 2025-10-12 11:47:36.557 | error | Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:47:36.556 | error | TypeError: Cannot read properties of undefined (reading 'productId') at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66) at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43) at requests_handler.sendRequest (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:712:17) at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:562:26) roborock.0 | 2025-10-12 11:47:36.556 | error | unhandled promise rejection: Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:47:36.556 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). roborock.0 | 2025-10-12 11:47:36.547 | error | Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:47:36.547 | error | TypeError: Cannot read properties of undefined (reading 'productId') at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66) at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43) at requests_handler.sendRequest (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:712:17) at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:559:17) roborock.0 | 2025-10-12 11:47:36.545 | error | unhandled promise rejection: Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:47:36.545 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). roborock.0 | 2025-10-12 11:46:09.926 | error | Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:46:09.926 | error | TypeError: Cannot read properties of undefined (reading 'productId') at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66) at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43) at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:601:18) at runNextTicks (node:internal/process/task_queues:65:5) at processImmediate (node:internal/timers:453:9) roborock.0 | 2025-10-12 11:46:09.926 | error | unhandled promise rejection: Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:46:09.926 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). roborock.0 | 2025-10-12 11:46:09.925 | error | Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:46:09.925 | error | TypeError: Cannot read properties of undefined (reading 'productId') at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66) at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43) at requests_handler.sendRequest (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:712:17) at runNextTicks (node:internal/process/task_queues:65:5) at processImmediate (node:internal/timers:453:9) at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:562:26) roborock.0 | 2025-10-12 11:46:09.924 | error | unhandled promise rejection: Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:46:09.924 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). roborock.0 | 2025-10-12 11:46:09.875 | error | Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:46:09.875 | error | TypeError: Cannot read properties of undefined (reading 'productId') at http_api.getRobotModel (/opt/iobroker/node_modules/iobroker.roborock/lib/http_api.js:227:66) at Roborock.catchError (/opt/iobroker/node_modules/iobroker.roborock/main.js:871:43) at requests_handler.sendRequest (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:712:17) at requests_handler.getMap (/opt/iobroker/node_modules/iobroker.roborock/lib/requests_handler.js:559:17) roborock.0 | 2025-10-12 11:46:09.874 | error | unhandled promise rejection: Cannot read properties of undefined (reading 'productId') roborock.0 | 2025-10-12 11:46:09.873 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().Adapter Version
0.6.19 (GitHub)
JS-Controller Version
7.0.7
Node.js Version
v22.20.0
Operating System
Proxmox Debian 13 VM, iobroker auf dem neusten stand
Additional Context
No response