Custom Component: Dreame Vacuum

Added the vacuum without checking Preferred Cloud. In the next screen the IP and token we’re extracted correctly but it said Failed to connect. HA, robot and phone are in the same network. What could be the issue?

Ah I see, thank you! Now I’ve got the trigger to work, but one last question remains to me. How do I get the exact message data on the action? Currently my trigger looks like that:

trigger:
  - platform: event
    event_type: dreame_vacuum_consumable

Now I want to read the message in my action which also HA does show within the notifications. For testing purpose I have:

"Testdata: {{ trigger.event.data }}"

But this gives me:

Testdata: {'entityid': 'vacuum.dreamerobotvacuumd92', 'consumable': 'sensor', 'lifeleft': 5}

Instead of what HA notifications shows:

Sensors must be cleaned

I’m not shure where the issue is or how I’m able to access this message in my event.data.

1 Like

I am not sure why do you need that specific static text since you already have the consumable name.

@tasshack as you have the best knowledge about Dreame bot, what could be the best possible solution for geoblocking issue? Could VPN be a solution, or a fw hack? I’m curious why there’s none of them (or that I am aware of). TBH, I couldn’t believe there’s geoblocking appliances should be existed.

It’s because I’m sending telegram messages via telegram bot to different members of the household and I would like to be able to send all these messages like it shows up as a notification in HA. Or is there a better / easier solutiuon to send these warnings / errors?

I am aware of some solutions but I cannot publicly express those on a forum because that may lead to Dreame trying to block this project all together and it may become cat and mouse game between me and them.
Also I don’t have physical access to a region locked device so I cannot recommend you a solution that I haven’t tried myself.

BTW: VPN does not work because Apis are Cloudflare protected.

1 Like

Whole point of events are for customizing and expanding the consumable persistent notifications that’s why event data does not contain the text so you can write your own text in your own language by checking the consumable attribute that is present in the event data.

That’s a fair point. Thank you.

Ah now I understand, this makes sense then. Thank you very much sir! :slight_smile:

@tasshack how can I get the Beta of this integration with support for DreameHome account? In HACS I can only choose upto 1.0.2. Thanks.

Hey guys, I just wanted to add my L10 Prime to home assistant. Unfortunately, the L10 Prime ist not listed in the Xiaomi Home app. :confused:

The L10 Pro is listed though. Can I safely select that instead or should I use the token method instead?

@tasshack Wow, this integration looks amazing. I honestly believe is the one and only I need for my Mi Robot Vacuum-Mop 2 Pro.

I have trouble configuring it with this integration, I got a message “No supported devices found in this Xiaomi Miio cloud account on selected country.”.

image

How can I get my model code? By listing this thread I found it to be dreame.vacuum.p2041o. But I would like to double-check with certainty. Please note that this is Mi Robot Vacuum-Mop 2 Pro without the “+”, or at least that is the name in the Mi Home app.

Also, I can see my Vacum in Mi Home app. I also can get limited control over it with Xiamo Miot Auto. I get the same error when I try to use Xiamo Miot (without auto).

Thank you so much for your contribution with developing this integration!

Your device is probably ijai.vacuum.v3 and not dreame.vacuum.p2041o which has the exact name.
You can check model number using the token extractor.

Dear @tasshack you are correct!

It is ijai.vacuum.v3. So I assume there is no luck for us with these devices? :confused:

I see that there is not a single ijai device supported in the list.

Ijai is a different manufacturer and has nothing common with the Dreame devices except the name and look.

1 Like

Hello @tasshack, i’ve connected this component Dreame vacuum with my dreamehome account. Seems everything ok, but I cannot clean room by room. I’ve downloaded also Xiaomi Vacuum Map Card but in the menu where “Room list” option should appear, but it doesn’t

I’ve 2 dreame (Dreame L10 Ultra and L10S pro) and the problem is the same. Could you help me please? I’m new in HA world

Reading through various threads but unable to find the answer so here goes:
@tasshack , L10 Ultra user here , all working well but can’t figure out how to integrate this into the (Xiaomi Vacuum) Lovelace card;
I want to be able to select one or multiple rooms, then have the option (pull down menu) to select either mop of vacuum before start the task. any pointers to the right direction would be highly appreciated

have you added

  • template: vacuum_clean_segment

to map_modes ?

1 Like