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

[BUG] Roborock 10R (Saros) not working with adapter – “wrong final block length” & local LAN key unavailable

Open Adri525 opened this issue 2 months ago • 3 comments

Bug Description

Since switching to the new Roborock 10R (Saros), the ioBroker.roborock adapter (v0.6.18) no longer works.
The adapter starts, MQTT initializes, but as soon as local data is received, the adapter crashes with a crypto error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:193:29) at localConnector.decryptECB (/opt/iobroker/node_modules/iobroker.roborock/lib/localConnector.js:227:25) at Socket. (/opt/iobroker/node_modules/iobroker.roborock/lib/localConnector.js:190:33)

Steps to Reproduce

What I already tried

  • Reinstalled adapter
  • Deleted and re-added the device
  • Cleared Admin UI cache
  • Checked the Roborock App (iOS), but the 10R does not show a developer mode or LAN key
  • Tapping 10x on firmware version does not open developer options

Debug Log

2025-11-23 12:29:02.482 info roborock.0 starting. Version 0.6.18, node: v20.19.5, js-controller: 7.0.7 2025-11-23 12:29:03.493 info roborock.0 MQTT initialized

2025-11-23 12:29:10.647 error roborock.0 uncaught exception: error:1C80006B:Provider routines::wrong final block length Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:193:29) at localConnector.decryptECB (/opt/iobroker/node_modules/iobroker.roborock/lib/localConnector.js:227:25) at Socket. (/opt/iobroker/node_modules/iobroker.roborock/lib/localConnector.js:190:33) at Socket.emit (node:events:524:28) at UDP.onMessage (node:dgram:951:8)

2025-11-23 12:29:10.658 info roborock.0 terminating 2025-11-23 12:29:10.659 warn roborock.0 Terminated (UNCAUGHT_EXCEPTION)

host.raspberrypi5 error Caught by controller[0]: Error: error:1C80006B:Provider routines::wrong final block length host.raspberrypi5 error Caught by controller[0]: code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH'

Adapter Version

0.6.18

JS-Controller Version

7.0.7

Node.js Version

20.19.5

Operating System

Linux (Raspi)

Firmware version of device

02.50.56

Adri525 avatar Nov 23 '25 11:11 Adri525

Please try https://github.com/copystring/ioBroker.roborock/tree/dev_ts

copystring avatar Nov 23 '25 12:11 copystring

roborock.0 2025-11-24 19:18:15.755 warn [processDockType|1EpuOTl1vXqnamP8lfproz] Unknown dock type 16 encountered. No features applied. Please report this model and dock type.

roborock.0 2025-11-24 19:18:15.734 warn [processDockType|1EpuOTl1vXqnamP8lfproz] Unknown dock type 16 encountered. No features applied. Please report this model and dock type.

smartmeter.0 2025-11-24 19:18:14.801 info Received 10 values, 3 updated

roborock.0 2025-11-24 19:18:14.610 info Adapter startup finished. Let's go!

roborock.0 2025-11-24 19:18:14.610 info [DeviceManager] Starting main poll (every 60s) and fast map poll (every 10s during cleaning)

roborock.0 2025-11-24 19:18:13.942 info [DeviceManager] All devices initialized.

roborock.0 2025-11-24 19:18:13.872 info [RuntimeDetect|roborock.vacuum.a70|5qi4Zyh2ZIa6hdcX1sezk0] Features/Commands applied/modified based on status.

roborock.0 2025-11-24 19:18:13.871 info [RuntimeDetect|roborock.vacuum.a70|5qi4Zyh2ZIa6hdcX1sezk0] Detected WaterBox feature via status.

roborock.0 2025-11-24 19:18:13.642 warn [processDockType|1EpuOTl1vXqnamP8lfproz] Unknown dock type 16 encountered. No features applied. Please report this model and dock type.

roborock.0 2025-11-24 19:18:13.641 info [RuntimeDetect|roborock.vacuum.a144|1EpuOTl1vXqnamP8lfproz] Features/Commands applied/modified based on status.

roborock.0 2025-11-24 19:18:13.641 info [RuntimeDetect|roborock.vacuum.a144|1EpuOTl1vXqnamP8lfproz] Detected MopWash feature via 'wash_status' key.

roborock.0 2025-11-24 19:18:13.641 info [RuntimeDetect|roborock.vacuum.a144|1EpuOTl1vXqnamP8lfproz] Detected AutoEmptyDock feature via 'dust_collection_status' key.

roborock.0 2025-11-24 19:18:13.640 info [RuntimeDetect|roborock.vacuum.a144|1EpuOTl1vXqnamP8lfproz] Detected MopDry feature via 'dry_status' key.

roborock.0 2025-11-24 19:18:13.640 info [RuntimeDetect|roborock.vacuum.a144|1EpuOTl1vXqnamP8lfproz] Detected WaterBox feature via status.

roborock.0 2025-11-24 19:18:13.555 warn [processDockType|1EpuOTl1vXqnamP8lfproz] Unknown dock type 16 encountered. No features applied. Please report this model and dock type.

roborock.0 2025-11-24 19:18:13.471 info [DeviceManager] Using specific feature handler for model: roborock.vacuum.a70

roborock.0 2025-11-24 19:18:13.470 info [DeviceManager] Using specific feature handler for model: roborock.vacuum.a144

roborock.0 2025-11-24 19:18:13.470 info [DeviceManager] Initializing 2 devices...

roborock.0 2025-11-24 19:18:13.469 info [LocalAPI] UDP discovery finished after 10s

roborock.0 2025-11-24 19:18:13.468 info [LocalAPI] UDP discovery stopped

roborock.0 2025-11-24 19:18:03.467 info [LocalAPI] UDP listening on 0.0.0.0:58866

roborock.0 2025-11-24 19:18:03.428 info MQTT connection established.

roborock.0 2025-11-24 19:18:03.394 info MQTT message listener initialized.

roborock.0 2025-11-24 19:18:03.331 info Connecting to MQTT Broker at ssl://mqtt-eu-3.roborock.com:8883...

roborock.0 2025-11-24 19:18:03.201 info Loaded existing clientID: 32a93461-2c11-4559-a9c9-7d4cde082871

roborock.0 2025-11-24 19:18:03.186 info Starting adapter. This might take a few minutes...

roborock.0 2025-11-24 19:18:03.176 info starting. Version 0.6.19 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v22.21.0, js-controller: 7.0.7

host.raspberrypi5 2025-11-24 19:18:02.128 info instance system.adapter.roborock.0 in version "0.6.19" (non-npm: copystring/ioBroker.roborock) started with pid 746713

host.raspberrypi5 2025-11-24 19:17:58.947 info instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)

roborock.0 2025-11-24 19:17:58.915 info terminating

host.raspberrypi5 2025-11-24 19:17:58.476 info stopInstance system.adapter.roborock.0 send kill signal

roborock.0 2025-11-24 19:17:58.414 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason

roborock.0 2025-11-24 19:17:58.413 info terminating

roborock.0 2025-11-24 19:17:58.412 info Got terminate signal TERMINATE_YOURSELF

host.raspberrypi5 2025-11-24 19:17:58.409 info stopInstance system.adapter.roborock.0 (force=false, process=true)

Adri525 avatar Nov 24 '25 18:11 Adri525

Not sure if you loaded the latest https://github.com/copystring/ioBroker.roborock/tree/dev_ts. Your log reports dock type 16 is missing. I have added dock type 16 yesterday. Please reload the version and try again.

copystring avatar Nov 24 '25 21:11 copystring

Now it works, thank you very much!

Adri525 avatar Nov 25 '25 18:11 Adri525