Back to rankings

Home Assistant integration for Dreame robot vacuums with map support

appautomationclouddreamehacshome-assistantmapmi-homemiiorobotvacuumvacuum-map
Star Growth
Stars
2.1k
Forks
257
Weekly Growth
Issues
12
1k2k
Oct 2022Jan 2024Apr 2025Jul 2026
ArtifactsPyPIpip install dreame-vacuum
README

Version Downloads Stars HACS Community Forum Ko-Fi PayPal.Me

Logo

Dreame vacuum integration for Home Assistant

Complete app replacement with Home Assistant for Dreame robot vacuums.

Features

Supported Devices

  • Dreame
    • dreame.vacuum.p2008 (F9)
    • dreame.vacuum.p2009 (D9)
    • dreame.vacuum.p2259 (D9 Max)
    • dreame.vacuum.p2187 (D9 Pro)
    • dreame.vacuum.r2205 (D10 Plus)
    • dreame.vacuum.p2029 (L10 Pro)
    • dreame.vacuum.p2028a (L10 Plus)
    • dreame.vacuum.r2228o (L10s Ultra)
    • dreame.vacuum.r2215o (L10s Pro)
    • dreame.vacuum.r2216o (L10s Pro)
    • dreame.vacuum.p2028 (Z10 Pro)
    • dreame.vacuum.p2027 (W10)
    • dreame.vacuum.r2104 (W10 Pro)
    • dreame.vacuum.r2251o (W10s)
    • dreame.vacuum.r2232a (W10s Pro)
    • dreame.vacuum.r2228 (S10)
    • dreame.vacuum.r2211o (S10+)
    • dreame.vacuum.r2233 (S10 Pro)
    • dreame.vacuum.r2247 (S10 Pro Plus)
    • dreame.vacuum.r2246 (S10 Plus)
    • dreame.vacuum.r2215 (X10)
    • dreame.vacuum.r2235 (X10 Ultra)
  • Mijia
    • dreame.vacuum.p2036 (Trouver LDS Finder)
    • dreame.vacuum.p2150o (Vacuum-Mop)
    • dreame.vacuum.p2150a (Vacuum-Mop 2 Ultra)
    • dreame.vacuum.p2150b (Vacuum-Mop 2 Ultra Set)
    • dreame.vacuum.p2114o (Self-Cleaning Robot Vacuum-Mop)
    • dreame.vacuum.p2149o (Self-Cleaning Robot Vacuum-Mop Pro)
    • dreame.vacuum.r2254 (1S)
    • dreame.vacuum.r2209 (X10)
    • dreame.vacuum.p2114a (X10+)
    • dreame.vacuum.p2041 (1T)
    • dreame.vacuum.p2140a (2C)
    • dreame.vacuum.p2140 (2C)
    • dreame.vacuum.p2140q (Mi Robot Vacuum-Mop 2)
    • dreame.vacuum.p2140p (Mi Robot Vacuum-Mop 2)
    • dreame.vacuum.p2140o (Mi Robot Vacuum-Mop 2)
    • dreame.vacuum.p2148o (Mi Robot Vacuum Mop Ultra Slim)
    • dreame.vacuum.p2041o (Mi Robot Vacuum-Mop 2 Pro+)
  • MOVA
    • dreame.vacuum.p2157 (L600)
    • dreame.vacuum.p2156o (MOVA Z500)

Installation

Manually

wget -O - https://raw.githubusercontent.com/Tasshack/dreame-vacuum/master/install | bash -

Via HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Configuration

Open your Home Assistant instance and start setting up a new integration.

How to Use

Integration is compatible with all available Lovelace vacuum cards but if you want to use zone cleaning feature you can prefer the Xiaomi Vacuum Card.

With Xiaomi Vacuum Map Card

type: custom:xiaomi-vacuum-map-card
entity: # Your vacuum entity
map_source:
  camera: # Map Entity
calibration_source:
  camera: true
vacuum_platform: Tasshack/dreame-vacuum

Open card editor, click "Generate rooms config" button, check (adjust if needed) your config using yaml editor and save changes.

With Vacuum Card

type: custom:vacuum-card
entity: # Your vacuum entity
map: # Map Entity
map_refresh: 1
stats:
  default:
    - attribute: filter_left
      unit: '%'
      subtitle: Filter
    - attribute: side_brush_left
      unit: '%'
      subtitle: Side brush
    - attribute: main_brush_left
      unit: '%'
      subtitle: Main brush
    - attribute: sensor_dirty_left
      unit: '%'
      subtitle: Sensors
  cleaning:
    - attribute: cleaned_area
      unit: m²
      subtitle: Cleaned area
    - attribute: cleaning_time
      unit: min
      subtitle: Cleaning time
shortcuts:
  - name: Clean Room 1
    service: dreame_vacuum.vacuum_clean_segment
    service_data:
      entity_id: # Your vacuum entity
      segments: 1
    icon: mdi:sofa
  - name: Clean Room 2
    service: dreame_vacuum.vacuum_clean_segment
    service_data:
      entity_id: # Your vacuum entity
      segments: 2
    icon: mdi:bed-empty
  - name: Clean Room 3
    service: dreame_vacuum.vacuum_clean_segment
    service_data:
      entity_id: # Your vacuum entity
      segments: 3
    icon: mdi:silverware-fork-knife

With Valetudo Map Card

Enable Map Data camera entity. Open your Home Assistant instance and show your entities.

type: custom:valetudo-map-card
vacuum: # Your vacuum name not the entity id
rotate: 0 # Map rotation entity does not work on valetudo map card
dock_icon: mdi:lightning-bolt-circle
dock_color: rgb(105 178 141)
vacuum_color: rgb(110, 110, 110)
wall_color: rgb(159, 159, 159)
floor_color: rgb(221, 221, 221)
no_go_area_color: rgb(177, 0, 0)
no_mop_area_color: rgb(170, 47, 255)
virtual_wall_color: rgb(199, 0, 0)
virtual_wall_width: 1.5
currently_cleaned_zone_color: rgb(221, 221, 221)
path_color: rgb(255, 255, 255)
path_width: 1.5
segment_opacity: 1
segment_colors:
  - rgb(171, 199, 248)
  - rgb(249, 224, 125)
  - rgb(184, 227, 255)
  - rgb(184, 217, 141)

With Xiaomi Vacuum Card and Picture Entity Card

type: picture-entity
entity: # Your vacuum entity
camera_image: # Your camera entity
show_state: false
show_name: false
camera_view: live
tap_action:
  action: none
hold_action:
  action: none
type: custom:xiaomi-vacuum-card
entity: # Your vacuum entity
vendor: xiaomi
attributes:
  main_brush_life:
    label: 'Main Brush: '
    key: main_brush_left
    unit: '%'
    icon: mdi:car-turbocharger
  side_brush_life:
    label: 'Side Brush: '
    key: side_brush_left
    unit: '%'
    icon: mdi:pinwheel-outline
  filter_life:
    label: 'Filter: '
    key: filter_left
    unit: '%'
    icon: mdi:air-filter
  sensor_life:
    label: 'Sensor: '
    key: sensor_dirty_left
    unit: '%'
    icon: mdi:radar
  main_brush: false
  side_brush: false
  filter: false
  sensor: false

With Dreame Vacuum Card

Coming Soon

To Do

  • Cleaning history map support
  • Map recovery support
  • Schedule editing
  • AI Obstacle image support
  • Custom lovelace card for map editing

Contributing

Integrations is currently only available on English language and if want you use it on our language it would be very helpful to you to translate files on translations folder and share with us.

To submit your changes please fork this repository and open a pull request.

Thanks To

Do not forget to support the project!

Related repositories
jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

SwiftCreative Commons Zero v1.0 Universalmacossoftware
git.io/macx
108.4k8.2k
toeverything/AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

TypeScriptnpmOthereditorcrdt
affine.pro
70.7k5.1k
lencx/ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)

Rustcrates.ioapplicationchatgpt
54.4k6.1k
dkhamsing/open-source-ios-apps

:iphone: Collaborative List of Open-Source iOS Apps

Creative Commons Zero v1.0 Universaliosswift
51.3k6k
freeCodeCamp/devdocs

API Documentation Browser

RubyRubyGemsMozilla Public License 2.0devdocsdocumentation
devdocs.io
39.2k2.6k
directus/directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

TypeScriptnpmOtherapicms
directus.com
36.7k4.9k
Blankj/AndroidUtilCode

:fire: Android developers should collect the following utils(updating).

JavaMavenApache License 2.0androidapp
blankj.com/2016/07/31/android-utils-code/
33.7k10.6k
pppscn/SmsForwarder

短信转发器——监控Android手机短信、来电、APP通知,并根据指定规则转发到其他手机:钉钉群自定义机器人、钉钉企业内机器人、企业微信群机器人、飞书机器人、企业微信应用消息、邮箱、bark、webhook、Telegram机器人、Server酱、PushPlus、手机短信等。包括主动控制服务端与客户端,让你轻松远程发短信、查短信、查通话、查话簿、查电量等。(V3.0 新增)PS.这个APK主要是学习与自用,如有BUG请提ISSUE,同时欢迎大家提PR指正

KotlinBSD 2-Clause "Simplified" Licensesmsdingding
27.2k3.3k
CodeEditApp/CodeEdit

📝 CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.

SwiftMIT Licensemacosapple
codeedit.app
23k1.2k
CapSoftware/Cap

Open source Loom alternative. Beautiful, shareable screen recordings.

TypeScriptnpmOtherappcap
cap.so
20.3k1.7k
youhunwl/TVAPP

收集全网 Android TV电视盒子应用,涵盖影视、直播、K歌、工具、游戏等类型,整理优质APK资源,支持便捷下载与自动更新。提供安全验证、分类索引与兼容性标注,助力用户打造家庭影音娱乐中心! ✅ TVBox/影视仓等影音壳接口配置源。

JavaScriptnpmApache License 2.0android-tvtv-box
app.iyouhun.com
20.2k2.7k
wulkano/Kap

An open-source screen recorder built with web technology

TypeScriptnpmMIT Licensescreen-recorderjavascript
getkap.co
19.3k892