Custom Component: Dreame Vacuum

Hi everyone,

I got this error many times with my two x50. Do you know how to solve it ?

Cette erreur provient d’une intégration personnalisée
Enregistreur: custom_components.dreame_vacuum.dreame.map
Source: custom_components/dreame_vacuum/dreame/map.py:3925
intégration: Dreame Vacuum (documentation, problèmes)
S’est produit pour la première fois: 09:52:00 (32 occurrences)
Dernier enregistrement: 11:58:55
Map Parse Failed: Traceback (most recent call last): File “/config/custom_components/dreame_vacuum/dreame/map.py”, line 3574, in decode_map_data_from_partial float(obstacle[10]) * 100, ~~~~~~~~^^^^ IndexError: list index out of range

Thanks a lot :slight_smile:

Hi,
thanks for this great integration. I’ve got a Mova P50 Ultra Pro running just fine with version v2.0.0b20 of the integration installed into Homeassistant via HACS.

I run into a problem though, when trying to send commands directly from a script. I do this, because I want to place Zigee Buttons in the house to make the robot clean up that room.
The weird error I am getting is

Fehler beim Ausführen einer Aktion
Option mopping is not valid for entity select.mova_p50_pro_ultra_room_8_order, valid options are: not_set, 1, 2, 3, 4, 5, 6, 7

while I am executing this action

alias: Enable mopping
target:
  device_id: 4f2b79de2XXXXXXXXXXXXXX4a856052
  entity_id: select.mova_p50_pro_ultra_room_3_cleaning_mode
action: select.select_option
metadata: {}
data:
  option: mopping

I find this weird, because the error is about a different room (room8 in error, room 3 in action) and about a different setting (order in error, cleaning_mode in action).

This action is part of a larger script, where i previously select the floor/map that I need. But the error occurs at this step, when I run the cited action.

Can somebody tell me whats happening here and how to get around the error? (Or how to set the cleaning mode in another way?)

Thank you

This is concerning, can you create an issue about this so I can fix it on the next Beta release?

There must be something very wrong with your HA.

I figured it out myself: You shouldn’t set two target attributes (in my case device_id and entity_id). Only setting the entity_id makes my scripts work fine.

There is a button in the integration called “Base Station Cleaning”. Is this the same as the in app function “Clean washboard base manually”?

Integration button “Self-Clean” is this the same as washing mop pads?

Also what is “Base Station Self Repair” in integration?

Minor detail: “Reload Shourtcuts” should be shortcuts.

Thank you!

Hello, how do i add a MOVA E30 Ultra? Is it already in your list? If not, how can i provide the needed information for that? I would also consider donating to your project.

It is already supported on Beta.

Hey, thank you for this! Just wondering, does the Xiaomi Mii app and the Dreame app offer the same feature set for Dreame Vaccums? I got mine after checking that there was an integration but I connected it to the Dreame App, not the Xiaomi App. There are tons on features in there that I don’t know if can be set up via the Xiaomi App. I’m not talking about all features being in this component, but if those are in the Xiaomi app, they can be contributed over time.

Dreamehome Cloud support is available on Beta.

2 Likes

Thankyou, this integration is amazing! I can’t wait until I program my robot to work just the way I want it to work.

Is it possible to set the cleaning mode (vac only, vac then mop, vac & mop) for the room when using the dreame_vacuum.vacuum_clean_segment service call ?

I can see it is possible to set the repeats, water, and suction, but I would also like to say how it cleans. This is possible in the Dreame app Customize Rooms mode.

Thanks

Is there a way to switch the robot off with the integration. I want to make sure the battery is no always powered so I installed a power plug to shut down the station. But I want to shut of the vacuum too.

Hello, I have a Dreame X50 Ultra (dreame.vacuum.r2489p), which is not yet on the list of supported devices. How often are supported devices updated? Thank you very much.

looking at getting a Mova V50 Ultra but want a device i can connect with HA, room display on my dashboard etc, is this device supported?

The Mova V50 Ultra is listed here: dreame-vacuum/docs/supported_devices.md at ea7f137138fef9b35bf2596732440c9cf8f6fc12 · Tasshack/dreame-vacuum · GitHub so it should be supported.

I’m not sure what the rest of your post is asking but perhaps you are asking about being able to view the map etc. on the dashboard?

You will want to install the Xaomi card as well: GitHub - PiotrMachowski/lovelace-xiaomi-vacuum-map-card: This card provides a user-friendly way to fully control map-based vacuums in Home Assistant. Supported brands include Xiaomi (Roborock/Viomi/Dreame/Roidmi/Valetudo/Valetudo RE), Neato, Wyze, Roomba, Ecovacs (and probably more).

And you might want to follow the instructions to setup the custom card here dreame-vacuum/docs/room_entities.md at ea7f137138fef9b35bf2596732440c9cf8f6fc12 · Tasshack/dreame-vacuum · GitHub

A lot of other X50 models are supported, have you tried adding your device?

I worked around the issue, please send me a private message.

Why can’t you share what you’ve done in public?

I don’t want to cause problems with the author’s integration. It’s only for “r2489p” and for other unnecessary interference with the integration.

1 Like

I just received my new Mova Z60 Ultra and would love to use your integration however it says the mova.vacuum.r9540h is not supported, it is not in the list as in the list for the latest beta says mova.vacuum.r9540n
Thanks for the great work!!