Support for (Xiaomi) Dream F9 Mop Vacuum

What steps did you do to make it work?

I’m using this component…

What component do you use?

Hi, has anybody have able to install Dreame Z10 bot to HA? I have tried with following steps and are able to get it to HA by those steps but it really don’t work there. All sensor data are basically wrong and the state of vacuum are always wrong. Think have to wait for Xiaomi Cloud Map Extractor HACS intregration to support Dreame.

and if you look log you can clearly see that it do not work right

the steps:

  1. Xiaomi Token + additional information using Xiaomi-cloud-tokens-extractor (Using command in ssh: bash <(curl -L https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/raw/master/run.sh)))

  2. Installed HACS

  3. Install xiaomi_vacuum via HACS (GitHub - microfrost1/xiaomi_vacuum)

  4. Install vacuum-card via HACS (GitHub - denysdovhan/vacuum-card: Vacuum cleaner card for Home Assistant Lovelace UI)

  5. find dreamevacuum.py under “/custom_components/xiaomi_vacuum/miio/” and replace it with the file from here (Dreame F9 Robot Vacuum |dreame.vacuum.p2008| · Issue #812 · rytilahti/python-miio · GitHub). Attention
    When I did this I lost my vacuum entity complicity from HA

  6. Add following code (see Step 1) to the configfile configuration.yaml:
    image

  7. Restart Homeassistant (Configuration > General > Server Management > Restart)

  8. Add the Vaccuum Card (Home Assistant Overview page, click the three dots at the top right of the screen and select ‘Edit Dashboard’. Then click the blue ‘+ Add Card’ and scroll down to “custom: Vaccum Card”)

guys, are you seeing this too since updating to 2021.12.x ?

Entity vacuum.dreame (<class 'custom_components.xiaomi_vacuum.vacuum.MiroboVacuum'>) implements device_state_attributes. Please report it to the custom component author.

guys, who uses the Dreame F9 , and what integration are you using? thnx

First time here, redirect pls if wrong place.
My f9 is just month old and something went wrong(it was offline, even though it worked normally just few hours ago). I tried to delete it from mi home app and restart it but didnt helped. Power button flashing non-stop. There is no wifi light, home(dock) button is not flashing. 3sec restart, button restart, nothing works… I have guarantee but i l think it is just in some kind of loop and i just cant get it to work. btw, Few days ago, it stopped blinking, wifi came, i almost fixed it, but when i was adding it on the app , on last step (2/3) i didnt went through… So i guess it is not some major fault, but…

The mi servers (atleast for vacuums in europe) was down some days ago. Everyone in the family with the F9 could not access the map and controls. Multiple reports on different isitdown pages.

I recommend the page https://valetudo.cloud/
I flash the new firmware into the robot and integrated it into HA. Everything is described in the link.



which firmware version did you have when you flashed valetudo?

Any chances to get this working for teh Dream D9?

Thanks!

1 Like

hi all , can anyone share the file dreame.vacuum.p2008_en.tar.gz . it expired. Thanks paolo

Have you before flashing updated the Dreame with the Xiaomi App?

This thread maybe of interest -

Hi Guys,

I’m trying to get my Dreame F9 inegrated on Home Assistant. but it’s not working.

I’ve followed this steps:

  1. How to get Xiaomi Token: Xiaomi-cloud-tokens-extractor

I’m new to Homeassistant so:

  1. Install HACS
    Version 1.9.0 released 9 hours ago
    The manual installation doesn’t work’s for me.
  2. Install xiaomi_vacuum via HACS
    also the manual installation doesn’t work for me.
  3. Install vacuum-card via HACS
  4. find dreamevacuum.py under “/custom_components/xiaomi_vacuum/miio/” and replace it with the file here .
  5. Add following code (see Step 1) to the configfile configuration.yaml:
#Dreame F9 Vaccum Robot
vacuum:
  - platform: xiaomi_vacuum #no need to change this
    host: <IP>
    token: "<Token>"
    name: <Name>
  1. Restart Homeassistant
    Configuration > General > Server Management > Restart
  2. Add the Vaccuum Card
    Home Assistant Overview page, click the three dots at the top right of the screen and select ‘Edit Dashboard’. Then click the blue ‘+ Add Card’ and scroll down to “custom: Vaccum Card”

But I don’t see the dreame F9 in the devices, it doesn’t list in the xiaomi miio inegration and when I try to add the card (Custom: Vacuum Card) to the dashboard, it either says the entity is empty or that vacuum is not available.

Anyone has this working and can provide some step-by-step guide?

Hi,

Did you get it to run yet?

Same here…have you managed to sort this?

Hi,

This integration is working very well. https://github.com/Tasshack/dreame-vacuum
I am using it with Dreame D9 max

1 Like

I just installed Dreame F9 to HA.
It helped for me not to do point 5 from the list above.
In first I replaced file ‘dreamevacuum.py’. I had errors in the logs. After I reverted the file to previous version and It worked fine.

Goodnight all

Is it still functional today for the Dreame F9?
I’m on HA:
Home Assistant 2023.5.4
Supervisor 2023.04.1
Operating System 10.2

If this method is no longer functional, is there a new one?

Thank you for your answers

F9 Is added to the supported devices list.

1 Like