A small, local Rust replacement for Valetudo on the Eureka J15 Max Ultra.
A tenth of the memory, a browser map, Home Assistant, and signed updates you can roll back.
Beta. Besenrein runs on one physical J15 and has completed vacuum and mop runs, a supervisor handover and several signed updates there. It is not yet proven on other robots or fresh installs. Read Status and the acceptance checklist before you install it on a robot you rely on.
- Offline interface in German and English for phones and tablets: live map, room selection, rectangular zones, saved favorites.
- Per-run choices for mode, suction, water, route and passes. A one-time choice restores your previous settings when the job ends.
- Home Assistant through MQTT discovery, with availability, map data, favorite buttons and a diagnostic sensor for the vendor client.
- Quiet hours for sound. A configurable night schedule (default 20:00 to 08:00) sets the speaker volume to a level you choose, and restores it in the morning.
- A guard for the vendor firmware. The supervisor moves empty record files that crash the vendor client, restarts that client if it disappears, and reboots only as a last resort, docked, rate-limited and outside quiet hours.
- Signed, reversible updates. The supervisor verifies a signature and digests, waits for a docked and idle robot outside do-not-disturb, probes health after the swap and rolls back on failure. Since 0.1.13 this covers the supervisor as well as the service.
- Test tooling that runs without a robot: a driving simulator, replayable firmware scenarios and browser tests.
Screenshots · Status · Measurements · Architecture · Requirements · Quickstart · Install and recover · FAQ · Legal and safety
These are captures of the real web interface connected to the simulator. All rooms, paths and selections are invented. Select a screenshot for the full phone view.
| Area | State |
|---|---|
| Live robot | One J15 on firmware V6.65.529 runs 0.1.13 under Home Assistant. Vacuum and mop runs, return to dock and signed service and supervisor updates have completed there. |
| Vendor client | Two crash causes in the vendor cloud client were found on the real robot (an empty upload reply and a zero-byte record file). Both are handled, and the guard covers the second. |
| Development host | Tests exercise firmware traffic, cleaning and recovery, the browser workflows and Home Assistant cutover with a local MQTT broker. QEMU runs the packaged ARM binaries. |
| Still open | Fresh installs on other robots, whether the firmware start-up tone follows the stored volume, long browser sessions on the robot, and a Wi-Fi link that is weak at some docks. |
Compatibility evidence · Device observations · Acceptance checklist
Resident memory (RSS) on the real robot, measured with /proc:
| Measurement | Besenrein | Valetudo 2026.02.0 |
|---|---|---|
| Service, docked and idle | 5.1 to 6.7 MB | 82.6 to 84.5 MB |
| Service peak while cleaning | 7.1 to 8.7 MB | n/a |
| Supervisor | 1.5 MB | n/a |
| Service and supervisor together | about 6.6 to 8.8 MB | 82.6 to 84.5 MB |
| CPU docked and idle | about 0.04 core | about 0.98 core |
| CPU while cleaning | about 0.11 core | n/a |
The target is 8 MB for service and supervisor together at rest. The service grows by roughly 0.01 MB per hour on the robot and sits slightly above that target after cleaning runs, so it is a goal we narrowly miss today, not a promise. Peaks while cleaning depend on the map size.
Development-host figures: 3.2 MB static ARM64 service and 1.6 MB supervisor, 69.8 kB gzip of initial JS and CSS, 596 ms browser cold start on an emulated tablet, 181 ms from start to first ready poll under QEMU. Measurement methods · Package and benchmark record
J15 firmware (or simulator)
│ MQTT/TLS + HTTPS
▼
Local fake cloud ──► Rust service ──► MQTT broker ──► Home Assistant
│
└── HTTP + server-sent events ──► Browser UI
▲
│ startup, health checks and rollback
Signed update ──► Supervisor
The fake cloud runs inside the service and handles the requests the vendor firmware ordinarily sends to its cloud. The supervisor runs separately so it can recover the service after a failed update. Protocol details
| Target | Requirements and scope |
|---|---|
| Robot | Eureka J15 Max Ultra, firmware V6.65.529. The installer recognizes this build. The robot must already be rooted and configured to redirect firmware cloud traffic locally. |
| Installation | An owner-signed package, trusted public verification key, broker configuration and a trusted host with SSH, Python 3.11+, tar and OpenSSL 3. |
| Simulator | A development host with the Rust toolchain, Node, npm, just, Mosquitto and populated dependency caches for offline use. The demo runs without a robot. Development setup |
Start a local test broker in one terminal.
mosquitto -p 1883Then start the demo from the repository root in a second terminal.
CARGO_NET_OFFLINE=true npm_config_offline=true MQTT_TEST_HOST=127.0.0.1 just demoOpen the local demo and watch the track grow. Choose rooms or draw a zone to try a different cleaning job. Ctrl+C stops the demo.
Back up the original configuration and start with the installer's dry run. The installer preserves the existing boot hook and Valetudo configuration. Signed updates cover the service, the supervisor, the installer and the UI. Uninstall restores the original boot hook. Do the first install while the robot is docked and idle, and keep a backup of your current setup. Installation, updates and rollback
How does this relate to Valetudo? The firmware protocol, REST behavior and MQTT discovery follow Valetudo. The replacement has its own Rust service, supervisor and browser interface. This independent project is unaffiliated with Midea, Eureka and Valetudo and claims no endorsement.
Why Rust? The service targets a small device. The static ARM binaries, bounded buffers and resource tests make the memory budget measurable. The host figures above are the current evidence.
How can I try it before installation? The simulator uses an invented floor plan and a local broker, so start there. Installing software on a physical robot can interrupt cleaning or require manual recovery. Review the acceptance checklist and the recovery notes before you install, and do not test on your only robot during a busy week.
What happens if an update fails? The supervisor verifies the signature and payload digests before activation. A candidate must then report fresh health. Failed activation triggers rollback. The installer can also restore the original startup configuration. Recovery procedure
Unexpected movement or incorrect operation of a physical robot can cause property damage or personal injury.
Please read this before you install anything on a robot.
- Use at your own risk. The software is provided under Apache-2.0 without warranty. A robot vacuum has motors, a battery and a dock. A faulty update can leave it unresponsive until you recover it by hand.
- You need a rooted robot. Rooting is not part of this project and no rooting tool is provided. Rooting and redirecting the vendor cloud may breach the manufacturer's terms of use and can void your warranty. That is your decision and your responsibility.
- Not affiliated. This independent project has no connection to, and is not endorsed by, Midea, Eureka or Valetudo. Product and company names appear only to say which robot and which upstream project the software works with. They belong to their owners.
- No vendor material. The repository contains no vendor firmware, binaries, credentials or product images. Protocol behavior follows the Valetudo project (Apache-2.0, see NOTICE) and traffic observed on the author's own robot.
- Your data stays local. Besenrein has no telemetry and sends nothing to the project. The only outbound request is the optional update feed, which you configure yourself and which is off by default. Maps, schedules and settings live on your robot, your broker and your Home Assistant. If you share logs or screenshots in an issue, remove addresses, maps and names 6BF0 first.
- Not legal advice. This section is a plain-language note, not legal advice. Rules differ by country.
Distributed under Apache-2.0 without warranty. Please report vulnerabilities privately and use synthetic data in contributions. License · Third-party notices · Security reporting · Contributing