This adapter allows you the control, get states, cleaning history and view the map of a Roborock vacuum cleaner which is set up in the Roborock app.
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
- Node.js >= 22.0.0
- ioBroker.admin >= 7.6.17
- ioBroker.js-controller >= 6.0.11
- S-Series: S4, S4 Max, S5 Max, S6, S6 Pure, S6 MaxV, S7, S7 MaxV (Pro/Ultra), S7 Pro Ultra, S7 Max Ultra, S8, S8+, S8 Pro Ultra, S8 MaxV Ultra
- Q-Series: Q5 Pro, Q7, Q7 Pro, Q7 Max, Q7 L5, Q8 Max
- Q Revo: Q Revo, Q Revo Pro
- Qrevo: Qrevo Slim, Qrevo S, Qrevo Curve, Qrevo Curv Series, Qrevo Edge, Qrevo Edge Series, Qrevo L, Qrevo Master, Qrevo MaxV
- Saros: Saros 10, Saros 10R, Saros 20 / Saros 20X, Saros Z70
For roborock.wm.a102, writable settings are available under Devices.<DUID>.commands:
| State | Values |
|---|---|
sound |
0 off, 1 on |
child_lock |
0 off, 1 on |
cache_washing_preference |
0 off, 1 on |
detergent_level, softener_level |
0 off, 1 low, 2 medium, 3 high |
save_program |
JSON configuration for the appliance's app-program shortcut; does not start a cycle |
Write with ack: false. The numeric settings mirror device reports. Dosing changes require an idle, shut-down or completed appliance; saving a program requires standby. Device reports confirm writes, with a 10-second deadline. A broker acknowledgement alone does not confirm a setting.
Example for save_program (Quick, wash and dry, 40 °C, one rinse, 1400 rpm, medium drying):
{"mode":2,"program":2,"temperatureLevel":3,"rinse":1,"spinLevel":7,"dryingLevel":2}Modes: 1 wash, 2 wash and dry, 3 dry. Temperature levels: 1 cold, 2 30 °C, 3 40 °C, 4 60 °C, 5 90 °C, 6 20 °C. Spin levels: 1 off, 2 400, 3 600, 4 800, 5 1000, 6 1200, 7 1400 rpm. Drying levels: 1 low, 2 medium, 3 high.
Only combinations from the original regional AppPlugin charts are accepted. Omitted options use the chart defaults. deviceStatus.program_options lists the options after the device's GeneralInfo report. Existing numeric status IDs and named read-only aliases are retained.
Raw DP states, named aliases and decoded app-program fields now include the available AppPlugin display names and enum labels. Names carry the plugin's translations; enum labels follow the ioBroker system language. Missing translations use the same English/Chinese fallback as the app. Numeric IDs, raw values and existing alias values remain unchanged. Unknown values and bit fields do not receive invented enum labels.
These controls are reconstructed from the original AppPlugin and APK; write behaviour still requires confirmation on a real Zeo One.
This feature only works when map creation is enabled in the adapter options. Open the map from the Roborock tab in ioBroker Admin; no web adapter instance is required for this tab. The map is available through ioBroker Admin.
- Draw your square meant for cleaning. Roborock supports up to 4 cleaning zones at once.
Based on Gaspode69's contribution in #1472, refresh_status requests fresh status for one supported device:
sendTo("roborock.0", "refresh_status", { duid: "DEVICE_DUID" }, response => {
if (response.error) {
log(response.error, "warn");
return;
}
// Fresh status has been processed into the device's ioBroker states.
log("Device status refreshed");
});The callback returns { result: "ok" } only after status processing, or { error: "..." } on failure. Concurrent requests for the same device share one refresh. V1 and Q7/B01 use their normal request/response path, with a 10-second overall refresh deadline and no automatic retries inside that deadline. Cancellation removes queued requests and aborts outstanding publishing; an ioBroker write already handed to the state database cannot be revoked. Q10 waits up to 10 seconds for newly processed numeric status after requesting DP 102; because that protocol has no request correlation ID, a fresh unsolicited status can satisfy the request too. A broker acknowledgement alone is not enough. A01 washing machines (cloud category roborock.wm) query operating state DP 203; A01 wet/dry cleaners (roborock.wetdryvac) query DP 201 via ID_QUERY 10000. A01 also waits up to 10 seconds for the newly received operating-state value to be written successfully; it does not request or guarantee a full snapshot of every device property. Like Q10, A01 has no request correlation ID, so a fresh matching push can satisfy the refresh. Other A01 categories and generic handlers without confirmed refresh support return an explicit error. Adapter shutdown cancels pending refreshes. Normal polling remains unchanged. A01 framing and DP selection follow python-roborock's A01 implementation; this implementation has automated tests but has not been verified on physical A01 hardware.
- (copystring) Added Roborock Q7 Pro support for maps, status and consumables.
- (copystring) Improved multi-step scene execution and local connections for B01 devices.
- (copystring) Coordinated UDP discovery when multiple adapter instances run.
- (copystring) Corrected the Qrevo Edge 2 water mode mapping.
- (gemsli) Fixed segment cleaning for rooms with inactive map states.
- (copystring) Fixed cloud reauthentication after HomeData 401 responses and corrected S7 dock error handling.
- (copystring) Documented tested Roborock S8+ support.
- (copystring) Fixed consumable percentage values for devices where Roborock reports maintenance data via HomeData.
- (copystring) Re-enabled macOS support and added macOS test coverage.
- (copystring) Improved dependency update automation so updates are checked weekly and merged only after successful checks.
- (copystring) Updated
p-queueto 9.3.0 andprotobufjsto 8.5.0. - (copystring) Improved CI performance for Linux, macOS and Windows adapter tests without reducing test coverage.
- (copystring) Fixed V1 auto-empty dust collection to use the AppPlugin-verified
app_start_collect_dustcommand.
- (copystring) Fixed missing auto-empty command for Roborock Qrevo MaxV (#1272).
- (copystring) Fixed local endpoint refresh after temporary MQTT outages so stale local IP recovery retries immediately again.
- (copystring) Require bug reports to upload a
.txtdebug log file.
- (copystring) Fixed local TCP recovery when a Roborock device gets a new LAN IP address.
- (copystring) Updated dependencies:
@napi-rs/canvasto 1.0.0,protobufjsto 8.2.0 andzodto 4.4.3. - (copystring) Resolved npm audit security advisories in transitive dependencies and documented the temporary dependency overrides.
Older changelog entries are available in CHANGELOG_OLD.md.
MIT License
Copyright (c) 2026 copystring copystring@gmail.com
See LICENSE for the full license text.


