npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

matterbridge-ecovacs-yeedi

v1.1.4

Published

Matterbridge plugin to bridge Ecovacs/Yeedi robot vacuums into Matter (fork with Yeedi support and HA fixes)

Readme

matterbridge-ecovacs-yeedi

A Matterbridge plugin that bridges Yeedi and Ecovacs robot vacuums into Matter, so they can be controlled from Home Assistant, Apple Home, Google Home, Amazon Alexa, and any other Matter controller.

This is a fork of bubez81/matterbridge-ecovacs with added Yeedi support and a number of fixes for reliable operation in Home Assistant.

npm version npm downloads License: Apache-2.0


Features

  • Battery level, charging state, and voltage
  • Operational state — Docked, Running, Paused, Returning to dock, Charging
  • Operational errors — wheels jammed, brush jammed, navigation sensor obscured, low battery, and more, mapped to Matter error states
  • Clean mode selector — Vacuum, Mop, Vacuum and Mop, Vacuum then Mop
  • Consumable life sensors — Filter, Main Brush, and Side Brush remaining life (%)
  • Empty Dust Bin switch — trigger the auto-empty dock
  • Clean Completed switch — turns on when a cleaning run finishes and the robot returns to the dock (useful for automations)
  • Room / segment cleaning via service call
  • Start / Pause / Stop / Return to dock commands

Requirements

  • A working Matterbridge installation (v3.x)
  • Node.js >= 20.19.0
  • A Yeedi or Ecovacs account with your robot already set up in the official app

Installation

Via the Matterbridge UI (recommended)

  1. Open the Matterbridge web interface
  2. Go to the plugins section and choose to install a plugin
  3. Enter the package name:
    matterbridge-ecovacs-yeedi
  4. Install, then configure it (see below) and restart Matterbridge

Via the command line

npm install -g matterbridge-ecovacs-yeedi
matterbridge -add matterbridge-ecovacs-yeedi

Configuration

Configure the plugin in the Matterbridge UI, or in your Matterbridge config file.

| Option | Description | Example | |-------------------|--------------------------------------------------------------------|------------------| | email | Your Yeedi/Ecovacs account email | [email protected] | | password | Your account password | ******** | | countryCode | Two-letter country code for your account | US | | authDomain | yeedi.com for Yeedi robots, leave blank/ecovacs.com for Ecovacs | yeedi.com | | pollingInterval | How often (seconds) to poll the robot for status | 15 | | rooms | Optional list of room/segment names for segment cleaning | see below |

Yeedi users: set authDomain to yeedi.com. This is required for the robot to authenticate and for map/room data to load correctly.

Example

{
  "email": "[email protected]",
  "password": "your-password",
  "countryCode": "US",
  "authDomain": "yeedi.com",
  "pollingInterval": 15,
  "rooms": ["Living Room", "Kitchen", "Bedroom"]
}

Room / segment cleaning

Home Assistant's Matter vacuum card does not currently render a visual room picker, but segment cleaning works through a service call:

service: vacuum.send_command
target:
  entity_id: vacuum.yeedi_vac_robot
data:
  command: app_segment_clean
  params:
    segments: [0, 2]   # the room/segment IDs you want to clean

Using the "Clean Completed" switch in automations

The Clean Completed switch turns on only after the robot has actually cleaned and then returned to the dock with no error. It turns off when a new run starts. This makes daily-run automations safe against double-triggering:

alias: Daily Yeedi Clean
trigger:
  - platform: time
    at: "10:00:00"
condition:
  - condition: state
    entity_id: sensor.yeedi_vac_robot_operational_state
    state: "docked"
action:
  - service: switch.turn_off
    target:
      entity_id: switch.yeedi_vac_robot_clean_completed
  - service: vacuum.start
    target:
      entity_id: vacuum.yeedi_vac_robot

Tested hardware

  • Yeedi Vac Pro — fully tested

Other Yeedi and Ecovacs/Deebot models may work since they share the same backend, but have not all been individually verified. Reports welcome.


Troubleshooting

  • Robot won't connect: double-check email, password, countryCode, and that authDomain is yeedi.com for Yeedi robots.
  • Rooms not loading: room/map data loads a few seconds after connecting; give it a moment after a restart.
  • Plugin reverts after a restart: make sure you installed from npm (not a one-off local file) so Matterbridge can reinstall it on container rebuilds.

Changelog

Recent releases (see CHANGELOG.md for the full history):

  • 1.1.4 — Removed the spurious "Power-on behavior" dropdown on the Empty Dust Bin and Clean Completed switches under Matterbridge 3.8.0.
  • 1.1.3 — Matterbridge 3.8.0 (Matter 1.5.1) compatibility. Fixes the child sensors (Filter/Brush life, Empty Dust Bin, Clean Completed) disappearing after the 3.8.0 update. Builds against both 3.8.0 and 3.7.10.
  • 1.0.9 — Added full README / npm page documentation.
  • 1.0.8 — Added the "Clean Completed" switch for safe daily automations.
  • 1.0.x — Initial Yeedi support: battery, operational state, error mapping, clean modes, consumable life sensors, empty dust bin, and room cleaning.

Credits


License

Apache-2.0