Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Home Assistant
  3. Xiaomi Cloud Map Extractor

Xiaomi Cloud Map Extractor

MITPythonv2.2.5

A Home Assistant custom integration to display live maps for Xiaomi, Roborock, Viomi, Roidmi, and Dreame robot vacuums without rooting.

GitHubGitHub
1.4k stars156 forks0 contributors

What is Xiaomi Cloud Map Extractor?

Xiaomi Cloud Map Extractor is a custom integration for Home Assistant that provides a live map view for compatible robot vacuums. It extracts map data directly from the Xiaomi cloud, allowing users to see cleaning progress, room layouts, and vacuum location in real-time without requiring rooted devices. The integration solves the problem of limited or absent native map support in Home Assistant for these vacuum brands.

Target Audience

Home Assistant users who own Xiaomi, Roborock, Viomi, Roidmi, or Dreame robot vacuums and want to integrate detailed, live mapping into their smart home dashboard for monitoring and automation.

Value Proposition

Developers choose this integration because it offers a no-root, cloud-based solution with extensive customization options, real-time updates, and compatibility with a wide range of vacuum models, enhancing Home Assistant's vacuum control capabilities beyond basic controls.

Overview

This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.

Use Cases

Best For

  • Displaying a live vacuum map in Home Assistant Lovelace
  • Creating automations based on vacuum location or room cleaning status
  • Visualizing cleaning paths and zones for Roborock or Xiaomi vacuums
  • Integrating vacuum maps with custom Lovelace cards like Xiaomi Vacuum Map Card
  • Monitoring multiple robot vacuum brands in a unified interface
  • Storing and analyzing raw vacuum map data externally

Not Ideal For

  • Users with robot vacuums from unsupported brands like iRobot or Neato
  • Environments requiring offline-only operation due to unreliable internet or privacy policies
  • Those seeking a plug-and-play integration with zero credential extraction or complex YAML configuration
  • Projects where cloud service dependencies are unacceptable due to data sovereignty concerns

Pros & Cons

Pros

Broad Device Compatibility

Supports vacuums from Xiaomi, Roborock, Viomi, Roidmi, and Dreame using multiple map formats, as evidenced by the extensive tested devices list in the README.

Highly Customizable Visualization

Offers extensive configuration for colors, drawn elements, room colors, and text overlays, allowing precise control over map appearance, detailed in the colors and draw configuration sections.

Real-Time Automation Data

Exposes rich entity attributes like vacuum position, cleaned rooms, and zones, enabling advanced automations and integration with Lovelace cards, as shown in the attributes configuration.

Flexible Update Controls

Provides configurable scan intervals, manual update triggers, and automations to disable updates when docked, giving users fine-grained control over map refreshing, detailed in the updates section.

Cons

Complex Initial Setup

Requires extracting a vacuum token and Xiaomi cloud credentials, which involves non-trivial steps like following an external guide, and the README warns about configuration validation issues needing restarts.

Cloud Dependency Risks

Relies on Xiaomi cloud servers, introducing potential points of failure from API changes, downtime, or regional restrictions, and raises privacy concerns as credentials are stored locally but transmitted externally.

Configuration Overload

The full configuration example is overwhelming with numerous options, and the README explicitly cautions against copying it recklessly, which can lead to errors for inexperienced users.

Frequently Asked Questions

Quick Stats

Stars1,386
Forks156
Contributors0
Open Issues125
Last commit2 months ago
CreatedSince 2020

Tags

#iot#xiaomi#home-automation#vacuum#smart-home#robot-vacuum#map#map-visualization#roborock#cloud#home-assistant#custom-component#robot

Built With

H
Home Assistant
P
Python

Included in

Home Assistant7.5k
Auto-fetched 1 day ago

Related Projects

Sonoff LANSonoff LAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant

Stars3,227
Forks456
Last commit1 month ago
WebRTC CameraWebRTC Camera

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.

Stars2,101
Forks226
Last commit5 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub