-
-
Notifications
You must be signed in to change notification settings - Fork 32k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Roborock S6 MaxV #92142
Comments
Hey there @humbertogontijo, @Lash-L, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) roborock documentation |
Are the first four modes "off", "mild", "moderate", and "intense?" I'm surprised we haven't run into this issue before. |
If you were to change to one of the lower modes, will it let you set up? |
Isn't the message correct? Looks like you set up a custom slider with invalid values. |
@humbertogontijo I believe that is inside the Roborock App. I've never see it have so few options before, just General and Customize |
@Lash-L If you have a fix for it you can revert version 8.2 as you mentioned. And release a new one |
@Lash-L wrote
That's correct. This is the bottom popup which opens if I select the button on the bottom right: |
@Lash-L wrote:
They are "Close", "Low", "Medium" and "High". And for the custom slider: 1-6 are called "Tiny" So I assume that 7, 16 and 27 are equal to the normal presets. |
I've tried setting it to other numbers, including 16 and 27. And it always shows the code 207 in the HA UI. So the code 207 seems to state, that “custom” is selected. The actual value selected seems to be stored somewhere else. |
Very odd - your settings are completely different from the other Roborocks we have worked with (Edit seems below s7 may follow this pattern). We will have to do something special for the s6 maxv i supposed. Your vacuum always worked like this I assume? You didn't change anything? Can you send me a screenshot of what the Customize page looks like? And are you vacuum modes something along these lines?
|
No. When I got it it just had the normal presets. They later added the "custom" button with the slider.
Not sure what you mean... I've used the Vacuum a while with the Roborock app, then I started with HA and had to switch to the "Xiaomi Home" app. Now I wanna switch back and installed the Roborock app again.
Sure: (Yes there's really no slider for the custom level there - the custom level can only be set outside of the Customize page, and then used there) |
@Lash-L wrote:
Well, they is "Gentle" (which is not completely off and marked for "single use only" - like the "Close" level for the mop). The rest is: Quite, Balanced, Turbo and Max. |
@home-assistant rename Add support for Roborock S6 MaxV |
Okay if I have time tomorrow I will try to add functionality for this vacuum - I'm not sure if this will be included in the official release Wednesday - but I will try to get it done You don't happen to have a mac + an iphone do you? We have a method of 'recording' actions in the roborock app but it is only functional for iphones and macs, would make my life a good bit easier trying to add support |
@Lash-L wrote:
A bit hard to test, as HA just locks up after some minutes since I've updated to the 23.5 beta. But no it does not. It logs a warning and an error and shows an error in the UI:
Nope, just Linux and Android here.
At least don't crash with the value would be enough, I guess :) |
I'd just remove the Roborock integration for now. I'll let you know when I have something resembling a fix
Haha that should be coming. I'll let you know. It should theoretically start returning "unknown" whenever there is data it doesn't have mapped. I'll keep you updated |
Okay PR is up. Fingers crossed it will get merged and will be included in beta2. |
Commented on there as well. Thanks for pointing it out to me @RubenKelevra not sure why I didn't originally get notified for it |
@RubenKelevra please try the latest beta (b2) and let me know if you're still crashing |
Hey @Lash-L, thanks for the work. Setup can now complete with the Roborock set to "custom" mode for the mopping intensity. However the mode for mopping as well as the intensity are not populated: I think mop mode is not available on the S6 MaxV (at least never heard of that) so I guess it should be hidden. intensity is weirdly named, as its the water level. HA is also configured to be English as well as my phone, but the naming here is German (guess the Roborock account is set to German) including the naming of the entity: I would recommend to use English entity names, to avoid that scripting etc. has to be adopted to different entity names. |
Ah I see, the "Wisch Intensität" (Mop intensity?) is set to I would avoid this, as its a name clash. Maybe use something like "per Room" and for the "Custom" level with the slider "User profile" or similar. |
This is to be expected right now. I'm working on adding support for specific models that have different options. Right now this solution was just to get it so you wouldn't crash.
All entities are in english the device itself gets its name directly from Roborock. You can change that in your Roborock's apps settings
When the fine-tuned support comes out, it will only populate selects and other entities based on what the vacuum supports, it will be better named. |
Another issue: Setting the vacuum to custom does nothing, only if I also set the mop intensity to custom the vacuum is switched. Same the other way around: If set to Max, while in custom the vacuum stays in custom until I switch the mop intensity to something different. I would recommend to make a bool which enables/disables "per Room" (custom) and if disabled the levels chosen in the settings get pushed. |
There's also no action for "per Room" cleaning offered in the device's actions. Is that a S6 MaxV bug, or a general limitation? |
Just from a quick glance of my changes on my side adding the functionality to support your device - these modes that you have on yours correspond to the following modes in the ui. (Yours will directly correspond to your modes in the future)
And for mopping intesnity - all should work right now except for your custom/levels.
Kind of both |
Awesom job @Lash-L ! May I ask, are you looking to enable room selection capabilities within HA? So that I can say "clean the kitchen" in HA and have the vaccume clean, well, the kitchen? The kitchen area would be determined in the Roborock app. Alternatively, having the ability to create "zones" in HA for the vaccume would be great (and naming the zones "kitchen", "living room", etc). That's kinda how the "old" Xiaomi integration solved this, if I'm not mistaken (plus it had the camera extractor, etc.) :-) Not complaining at all!! Just curious as to the roadmap for this integration. :-) |
Room selection cleaning is something we are actively working on. We have been trying to find an approach that works with HA. We have the room mapping and the functionality, we just need to figure out the best way to do it. Camera extractor will be coming in the future (both map and probably the actual camera as well) I may throw together an actual roadmap to show what features will be added at some point |
AMAZING! Thank you 👍 |
@tinkerberlin or anyone else who has a vacuum that is not fully supported If you would like to help out with features by providing information about what functionality you have, Please check here humbertogontijo/homeassistant-roborock#261 This is my current task and will be taking up most of my time until I fix it |
My latest PR will add this support :) It cannot add water levels yet as I need to do another PR to add a number platform - but I will add that in the future |
Came here to see if rooms support was coming, glad to see it is. I can't wait to be able to have it automatically vaccuum two rooms each time I leave the house (as an automation). Just for the record, I always intended to get this integration set up through the Xiomi process but never did, am SO GLAD you integrated this in such an easy way now. Thank you for your work. |
So the downside to room mapping - There is not a conceptual way in home assistant (that I have come across) that allows for selecting multiple items. So room mapping will support cleaning one room at a time with a select entity, but then multiple at a time with the services(but you have to reference them by their id and not their name which is annoying |
Couldn't one have it, where I can (as the user) create a helper or group that combines the individual room selection entities? So for example, if I have the kitchen, the living room, and the downstairs bathroom in the first floor of my building (ground floor) then I could combine those three "entities" into a "downstairs" entity and have the vaccume reference that entity and do all three in sequence? It wouldn't achieve what is possible through the Roborock app - i.e. determine which room to do first based on restrictions on mopping etc. but it would be a start, no? But this might just not be possible - not that much of a coding wiz. thanks for your work! |
That said: Even just being able to do one room at a time would already be great! Frankly I either do all rooms or one specific room, so this would cover most of - at least my - use-cases. |
The problem
While setting up my Roborock S6 MaxV I got the following error message in the UI:
The mop intensity can be switched to certain presets and also to a manual slider. I use the manual slider:
What version of Home Assistant Core has the issue?
2023.5 beta
What was the last working version of Home Assistant Core?
none
What type of installation are you running?
Home Assistant OS
Integration causing the issue
roborock
Link to integration documentation on our website
https://rc.home-assistant.io/integrations/roborock
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: