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.
- Roborock S4
- Roborock S4 Max
- Roborock S5 Max
- Roborock S6
- Roborock S6 Pure
- Roborock S6 MaxV
- Roborock S7
- Roborock S7 MaxV (Ultra)
- Roborock Q7
- Roborock Q7 Max
- Roborock S7 Pro Ultra
- Roborock S7 Max Ultra
- Roborock S8
- Roborock S8 Pro Ultra
- Roborock Q Revo
- Roborock Q8 Max
- Roborock Q5 Pro
- Roborock Q Revo Pro
This feature only works when map creation is enabled in the adapter options!
- There is a webserver running. Default port is 6824
- Open http://iobroker:6824/map.html in your browser (change http://iobroker your ioBroker hostname or ip!!!)
- Draw your square meant for cleaning. Roborock supports up to 4 cleaning zones at once.
- (copystring) Change go2rtc github to go2rtc-static npm
- (copystring) Add
voice_chat_status
to S7 MaxV
- (copystring) Add
set_switch_status
to S7 MaxV and Q Revo Pro
- (copystring) Fix bugs
- (copystring) Add missing states
- (copystring) Add missing translations
- (copystring) Q Revo supports
switch_status
inget_status
- (copystring) Update dependencies
- (copystring) Many bug fixes
- (copystring) Improve support for: Q Revo Pro
- (copystring) Add parsing of dss in deviceStatus as
docking station status
- (copystring) Add
resume_segment_clean
&stop_segment_clean
- (copystring) Improve reconnect intervall of direct connection
- (copystring) Add missing translations
- (copystring) Fix cleaningInfo of older Robots like S6 etc
- (copystring) General logging improvements
- (copystring) require min node 20 to operate correctly with current dependencies
- (copystring) Add and fix some parameters and attributes
- (copystring) Fix getMap() in getParameter()
- (copystring) Add connection state to timeouts
- (copystring) Detect and report unsupported attributes
- (copystring) Improve camera and voice support detection
- (copystring) Wait for TCP client to connect on start of adapter
- (copystring) Add handling of TCP chunks. This will fix a lot of timeouts 🎉
- (copystring) Manage stop/stop in the webinterface via state of robot instead of guessing via clicking the buttons in the webinterface
- (copystring) Refactor and improve javascript code of web interface
- (copystring) Add Roborock Q Revo Pro
- (copystring) Update dependencies
- (copystring) Fix io-package.json and update packages
- (copystring) Add consumables to Qrevo MaxV
- (copystring) Fix S5 Max clean records defintion
- (copystring) Fix app_start via web interface
- (copystring) Improve local devices discovery
- (copystring) Fix start of go2rtc
- (copystring) Fix lint
- (copystring) New and improved message queue handler
- (copystring) Convert robot features to new much more modular system
- (copystring) Add support for large photos of obstacles
- (copystring) Many bug fixes I can't remember :D
- (copystring) Fix mqtt disconnect/reconnect bug on start of adapter
- (copystring) Restore original UserData creation
- (copystring) Little bug fixes
- (copystring) Remove Roborock S5. There is no such device
- (copystring) Limit HomeData requests to prevent rate limit
- (copystring) Fix lint
- (copystring) Rework map parser and map creator
- (copystring) Convert a lof of strings to template literals
- (copystring) Improve go2rtc download logic
- (copystring) Improve error logging
- (copystring) Download roborock images from roborock server and make them available as base64 png (needs to be enabled in options, uses quite a lot of resources)
- (copystring) Use some clever logic so adjacent rooms are never the same color 🎉
- (copystring) The name for each room is now displayed on the map
- (copystring) Fix photo popup position on map
- (copystring) Seriously speed up drawing of carpet map
- (copystring) Add basic Q8 Max support
- (copystring) Basic Q5 Pro support
- (copystring) Support new block types on the map
- (copystring) Don't crash when Roborock Zeo One is in the account
- (copystring) New commands for Roborock S7 MaxV
- (copystring) Many bug fixes
- (copystring) Add support for station for Q7 Max
- (copystring) Add basic scene/program support
- (copystring) Connect to devices via TCP instead of MQTT whereever possible
- (copystring) Refactor web interface to fix popup position for good
- (copystring) Add support for A01 encoding/decoding (With this devices like Zeo One, Dyad Pro etc would be supported). Huge thanks to rovo89!!!
- (copystring) Fix for getting the map for each cleaning record
- (copystring) Refactor code
- (copystring) Fix mainUpdateInterval not working
- (copystring) Fix S6 gen path
- (copystring) Add missing types library
- (copystring) Fix typos in definitions docs generation
- (copystring) Add missing types library
- (copystring) When a robot goes offline after error during cleaning then clear all intervals and start them when it robot comes back online
- (copystring) When it fails to receive the map output a warning instead of error since most of them are timeouts
- (copystring) Migrate definitions for each robot to new system
- (copystring) Use the system to automatically generate documentation for each robot and it's parameters, attributes, commands, etc
- (copystring) S7 Max Ultra support
- (copystring) Fix some S8 Pro Ultra object types
- (copystring) Fix water_box_custom_mode for S4 Max
- (copystring) Add support for clean_percent of Roborock S7 MaxV (Ultra)
- (copystring) Basic Revo Q support
- (copystring) Fix consumables for S6
- (copystring) Fix adapter options
- (copystring) Make adapter turn green only when username & password are correct
- (copystring) Add vacuum online status and deviceInfo
- (copystring) Add support for Camera of MaxV models
- (copystring) Add support for titles of obstacles
- (copystring) Make options a little prettier
- (copystring) Add support to check for new firmware
- (copystring) Add Support for Roborock S8, S8 Pro Ultra, S4 Max, Q7, S7 Max Ultra
- (copystring) Loads of bug fixes
- (copystring) Add option to sniff traffic via mitmproxy
- (copystring) Add touch support for zones in web interface
- (copystring) Fix room mapping
- (copystring) Refactor map creation code
- (copystring) Fix robot rotation when parked
- (copystring) Display obstacles of Roborock S6 MaxV (and maybe others) on map
- (copystring) Add support for virtual walls
- (copystring) Add support for no mop zones
- (copystring) Fix bug with sendRequest
- (copystring) Correctly process map on web interface with multiple robots
- (copystring) Fix robot running detection to start map updater correctly
- (copystring) Fix huge memory leak when creating maps
- (copystring) Fix consumables for S6 MaxV
- (copystring) Start webserver and websocket server only when map creation is enabled
- (copystring) Update homedata without fully reinitializing the adapter
- (copystring) Add ability to reset consumables
- (copystring) Add clean count for room cleaning
- (copystring) Add resume_segment_clean and resume_zoned_clean
- (copystring) Correctly process map on web interface with multiple robots
- (copystring) Fix bug when getting isCleaning state outside of vacuum.js
- (copystring) Fix robot running detection to start map updater correctly
- (copystring) Fix robot list duplicate entries on map update
- (copystring) Better error handling for map creation
- (copystring) Fix charger position
- (copystring) Temporarily disable sendRequest timeout
- (copystring) Fix huge memory leak when creating maps
- (copystring) Create and clear update interval for each vacuum correctly
- (copystring) Fix consumables for S6 MaxV
- (copystring) Start webserver and websocket server only when map creation is enabled
- (copystring) Update homedata without fully reinitializing the adapter
- (copystring) Add clean count for room cleaning
- (copystring) Ability to reset consumables
- (copystring) Add clean count for room cleaning
- (copystring) Add resume_segment_clean and resume_zoned_clean
- (copystring) "retry" on getMap() is not an error
- (copystring) Fix *_life calculation
- (copystring) Fix reconnect
- (copystring) Fix ignoring get_carpet_clean_mode and get_water_box_custom_mode for S6 and older vacuums
- (copystring) Encrypt username & password. This means you need to re-enter username and password in the options
- (copystring) Use Sentry Plugin instead native sentry
- (copystring) Convert setInterval()/setTimeout() to this.setInterval()/this.setTimeout()
- (copystring) Correctly clear intervals and timeouts on unload and reconnect
- (copystring) Update consumables code
- (copystring) Fix a lot of my seriously shitty robot coords and pixel XY code
- (copystring) Fix connecting to websocket for hosts with more than one network card
- (copystring) Disable buttons on webinterface when they can't be used
- (copystring) Improve deleting/addin zones in webinterface
- (copystring) map_status the currently selected map when bitwise shifted by 2 to the right
- (copystring) use currently selected map to get floor rooms of selected map
- (copystring) Update map only once on start of adapter
- (copystring) Automatically send current map to webinterface when updating map
- (copystring) Update clean summary only after once after cleaning and once at start
- (copystring) Implement charger and robot angle on map
- (copystring) Fix zone positions
- (copystring) Locating should not be an error. Make this an info instead
- (copystring) Fix robot position and rotation
- (copystring) Fix mop path detection at start of robot
- (copystring) Don't process is_Locating for starting the map updater
- (copystring) Add go to and go to predicted path feature in webinterface
- (copystring) Make the actual path slightly transparent
- (copystring) New robot image on map
- (copystring) Add pause, stop, dock buttons to webinterface
- (copystring) Reconnect websocket after 10 seconds of disconnection
- (copystring) Remove unnecessary getMap() calls
- (copystring) Improve reconnect logic
- (copystring) Add Sentry
- (copystring) Correct mop_mode state
- (copystring) Add consumables life in percent
- (copystring) Fix a few lint errors and fix bugs regarding zone cleaning (JSON conversion to string and back to JSON)
- (copystring) Added zone cleaning
- (copystring) Update translations
- (copystring) Enable translations via weblate
- (copystring) Fix robot commands
- (copystring) Fix map size (height and width were swapped)
- (copystring) Add all mqtt client events
- (copystring) Fix cleaningInfo for Roborock S4 to S6
- (copystring) Add optional map with selectable update intervall
- (copystring) Prepare for npm releases
- (copystring) Fix crashes on initialisation
- (copystring) Fix type m³ to m²
- (copystring) Add ukranian language
- (copystring) Fix map creation check
- (copystring) report unknown attributes
- (copystring) remove old and unused deviceInfo code
- (copystring) add missing mop and carpet commands
- (copystring) randomize the client ID
- (copystring) initial release
MIT License
Copyright (c) 2024 copystring copystring@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.