Roborock Dock Error with Xiaomi

Hi everyone,

I got my roborock S7 working like a charm with the Xiaomi integration.

I just would like to get a notification when the dock get an error (like if it needs clean water to be full).

But I dont find any “dock entity” or something like it.

Is it possible to get these informations in HA ?

Thanks a lot and have a nice day.

Yes you can. You can create helper from sensor attribute using template like this

{{states('sensor.roborock_q_revo_dock_error') == 'cleaning_tank_full_or_blocked' }}

and then create automation that will notify you on possible problem.

1 Like

A really big thank to you !

Where do you find the right “sentences” like:
Dock_error
Cleaning_tabk_full_or_blocked

Please.

I have roborock integration. And if you open that sensor you will find on the bottom drop down menu with attributes values.
From those attributes you can create sensor using helpers.

1 Like

Standing ovation for you. Thanks a lot !

I coming back because with your code I got a state ‘False’ but it never get ‘True’.

I try with waste_water_tank_full and water_empty and I only got the state ‘False’.


And the code:

{{states('sensor.roborock_dock_error') == 'waste_water_tank_full' }}

Is tank full or empty?
Try to trigger some error or empty water tank and try then.

Edit:
Also I test this with custom hacs integration for creating sensors from attributes and when i tested this my vacuum had that error.
And also make sure that this sensor exists in your setup.

Show what the state of the entity is in the developer tools when the tank is empty. Wht custom hacs has might be somewhat different.

I think it is not as I tested this in developer tools. He maybe doesn’t have that sensor, maybe he just copy paste mine.
With new roborock integration sensor name changed.

All of which could be seen when the OP shows what they have in developer tools…

I dit it same result.

I don’t know if I explain right (not english native spotted).

The entity doesn’t exist in HA with the Xiaomi integration (but does exist with Roborock official). So I guess the sensor “exist” and I would like to use it .

I have this for the last entity talked:

Ok.
I would suggest to you to remove roborock from xiaomi app completely or xiaomi integration.
Add vacuum just to roborock app.
Remove roborock integration from ha and from xiaomi integration and restart.
When restart is finished add roborock integration to ha. There is new integration and you can use maps with it but you need to install maps separately using hacs.
And this is how this should look like if you have properly integrated vacuum to ha

and this is how it look with new integration

I think the latest version of the integration has native maps support. Haven’t tried it myself yet, but there’s been a bunch of improvements to the integration in the April release.

I have latest version. And I installed maps from hacs. Look here.
It does need latest version of roborock integration.
It is very well done. Visually is basically the same as it was before it was moved to core integration.
And everything is working fine.

1 Like