This is a Leicas/OpenNeato fork focused on the Home Assistant
integration. The HACS-installable integration under
custom_components/openneato/ is the reason this fork exists — it turns the
upstream ESP32 bridge into a full HA device with vacuum / sensor / switch / button / time entities plus a
canvas map card, no YAML.
Important
If you want the standalone web UI, use upstream renjfk/OpenNeato directly — it has the original maintainer, the release cadence, and the live demo.
Use this fork if you run Home Assistant and want the robot exposed as a first-class HA device. Firmware
changes in this fork are minor and exist only to support the integration (e.g. /api/sensors,
/api/history hardening, ntfy server/token/on-start extensions). The firmware, frontend, and flash tool
otherwise track upstream closely.
The upstream project is an open-source replacement for Neato's discontinued cloud and mobile app: an ESP32 bridge that talks to Botvac robots (D3-D7) over UART and exposes a local web UI over WiFi — no cloud, no app, no account required.
Note
Both upstream and this fork are early beta. Rough edges are expected. For HA-integration bugs, open an issue here; for firmware/frontend/flash-tool bugs, file against upstream.
Tip
Want to get a feel for the underlying web UI without hardware? Open the upstream
live demo. Demo states can be selected with ?scenario=...; see
mock scenarios.
| Dashboard | Manual Drive | Cleaning History |
|---|---|---|
![]() |
![]() |
![]() |
| Clean Map | Schedule | Settings |
|---|---|---|
![]() |
![]() |
![]() |
The sections below describe the upstream renjfk/OpenNeato project that this fork builds on — the ESP32 bridge firmware, standalone web UI, and flash tool. None of this is unique to this fork; it's reproduced here so HA users have full context on what's running behind the integration. If you only want the HA bits, you can skip ahead to the Home Assistant section below.
Neato shut down their cloud services and mobile app, leaving perfectly functional robot vacuums without remote control or scheduling. OpenNeato brings them back to life with a small ESP32 board wired to the robot's debug port, giving you a local web interface that works without any external dependencies.
- Dashboard with live robot status, battery level, cleaning state, WiFi signal, and storage usage
- House and spot cleaning with pause/resume/stop/dock controls that adapt to the current state
- Manual driving mode with a virtual joystick, live LIDAR map visualization, motor toggles (brush, vacuum, side brush), bumper/wheel-lift/stall safety warnings
- Live cleaning map — watch the robot's path during an active cleaning session in the History view, rendered on a canvas with coverage overlay
- 7-day cleaning scheduler with two slots per day, managed entirely on the ESP32 (doesn't use the robot's built-in schedule commands)
- Cleaning history with recorded robot paths rendered as coverage maps, session stats like duration, distance, area covered, and battery usage; individual session import/export for backup and restore
- Push notifications via ntfy.sh; get notified when cleaning is done, an error occurs, a maintenance alert triggers, or the robot docks; fully optional, configurable per event
- OTA firmware updates from the browser with SHA-256 download verification (against published
checksums.txt), MD5 transfer integrity, dual-partition layout with auto-rollback, and automatic new version notifications when a release is available on GitHub - Settings page for hostname, timezone, motor presets, notification topics, UART pins, theme (dark/light/auto), battery diagnostics (cycle count, voltage, temperature, and a "New Battery" calibration trigger), and more
- Event logging with configurable log levels (off/info/debug), compressed JSONL files on SPIFFS, browsable and downloadable from the UI; optional remote syslog (UDP) for long-running diagnostics without flash wear; logging is off by default
- Factory reset via 5-second button hold on the ESP32 or from the settings page
- Robot clock sync — pushes NTP time to the robot automatically, re-syncs every 4 hours
- Flash tool — standalone CLI that auto-detects the USB port, downloads the correct firmware from GitHub Releases, and flashes with zero prerequisites
- Safety watchdog — auto-stops wheels in manual mode if the browser disconnects; task and heap watchdogs restart the ESP32 on hangs
- Crash recovery — orphaned cleaning sessions after unexpected reboots are automatically recovered with full stats
The frontend is a lightweight SPA that gets gzipped and embedded directly into the firmware binary, so a single OTA update covers both firmware and UI. Mobile-friendly, dark theme by default.
This fork ships a HACS-installable Home Assistant custom integration in
custom_components/openneato/. Once installed it discovers your OpenNeato bridge
by IP/hostname and exposes the robot as a full HA device — no YAML, no extra add-ons.
Note
The HA integration is the primary differentiator of this fork. The firmware, frontend, and flash tool track
upstream renjfk/OpenNeato closely. If you only want the standalone web
UI, use upstream directly.
- In HACS, add this fork as a custom repository:
https://github.com/Leicas/OpenNeato(category: Integration). - Search for OpenNeato in HACS and install.
- Restart Home Assistant.
- Settings → Devices & Services → Add Integration → OpenNeato and enter the bridge hostname or IP
(e.g.
neato.localor192.168.1.42).
The integration polls /api/* over your LAN every 5 seconds (local_polling). No cloud round-trip, no
external dependencies. Requires firmware 1.0+; battery diagnostics need firmware 0.13+ (upstream PR #121).
A single device with the following entity groups:
- Vacuum (
vacuum.openneato_<name>) — start/stop/pause/dock/locate/spot-clean, battery level, status, fan speed presets (Eco/Auto/Intense), error reporting. Works with all the standard vacuum cards. - OpenNeato card —
openneato-card: the robot's tile, with features under it, among them a canvas map that draws the accumulated LIDAR floorplan and replays a cleaning session over it, with pan, zoom and a timeline scrubber. A clean that is in progress shows as a live map — the card follows the robot every few seconds, with a ● Live chip in the controls — and turns into a normal replay the moment it finishes. It reads theopenneato/sessionandopenneato/sessionswebsocket commands directly, so there is no server-side rendering and no image polling. It replaces the formerLIDAR mapandCleaning replaycamera entities, which are gone. - Sensors — battery level/voltage/current/temperature, battery cycle count, cumulative cleaning time, WiFi RSSI, free heap, storage used, uptime, motor RPMs, error code/message, plus "last clean" stats (duration, area covered, distance, battery used, mode, end time) pulled from the on-device history.
- Binary sensors — charging, external power, battery over-temp, battery failure, empty fuel, error active, NTP synced, dustbin seated, left/right wheel lifted, DC jack, and the six bumper contacts (front/side/LDS, left and right — disabled by default, since they toggle on every bump).
- Switches — eco mode, intense clean, bin-full detect, wall follower, schedule on/off, button-click sounds, melodies, warnings, stealth LED, remote syslog, WiFi AP fallback, and per-event push notifications (start/done/error/alert/docking).
- Text — syslog server IP, ntfy topic, ntfy server, ntfy token (full push-notification config from HA).
- Numbers — brush RPM, vacuum speed, side-brush power, stall threshold.
- Select — navigation mode (Normal / Gentle / Deep / Quick).
- Buttons — restart bridge, restart robot, shutdown robot, locate, clear errors, format filesystem (diagnostic, disabled by default), new battery (resets fuel-gauge calibration after a physical pack swap, disabled by default for safety).
Every entity is translated via strings.json, and diagnostic-class entities (voltages, currents, raw
sensor states) are tagged so they cluster cleanly under HA's Diagnostic section.
-
Installing the map card — nothing to install: the integration serves the card itself and registers it with the frontend on startup, including dashboard resources when available and while the robot is offline (so the card and its WebSocket API can never fall out of version sync). Just add the OpenNeato card to any dashboard. If the dashboards are in YAML mode or auto-registration ever fails (see the log), add
/openneato_static/openneato-replay-card.jsas a JavaScript-module resource manually. The walls come from the integration's own LIDAR mapper, which accumulates an occupancy grid across cleanings — the plan sharpens with each run. -
The card — add OpenNeato from the card picker. A tap on the card shows or hides its features, and the browser remembers the choice. Every option, with its default:
type: custom:openneato-card entity: vacuum.alfred # the first OpenNeato vacuum name: Alfred # the entity's name icon: mdi:robot-vacuum # the entity's icon color: state show_entity_picture: false vertical: false hide_state: false state_content: - state - charging - battery features_position: bottom icon_tap_action: action: none hold_action: action: none double_tap_action: action: none icon_hold_action: action: none icon_double_tap_action: action: none expanded: false show_chevron: false features: - type: custom:openneato-replay header: selector: true area: true distance: true duration: true battery: true hide_labels: true autoplay: false units: auto height: 360 fit: stable live_badge: show: true position: bottom_right alignment_badge: show: true position: bottom_right rotation: straighten: true degrees: 0 floorplan: show: true tiled: true opacity: 1 grid: true coverage: trail: true tiled: true - type: custom:openneato-controls items: [start, pause, stop, dock, spot, locate] - type: custom:openneato-suction fan_speeds: [eco, normal, intense] - type: custom:openneato-configuration items: [stealth_led, navigation_mode] grid_options: columns: full
The options above
expandedare the tile card's (there is notap_action: a tap shows or hides the features).state_contenttakesstateand any sensor of the robot by its key, such ascharging,battery,wifi_signal,uptime,last_clean_areaanderror_message(the robot's own message, such as asking for the dust bin to be emptied). A sensor with nothing to show is left out of the line.expandedshows the features when the page loads, until the person has chosen in this browser.show_chevronadds a chevron at the top right that also shows or hides them. The card is full width unless its layout says otherwise.Each feature is optional, and each also works in any tile card for the robot.
Replay map option What it does headerThe row above the map: the session selector(when hidden, the map shows the latest run and follows a clean as it starts), and the session'sarea,distance,durationandbattery, live and after the clean;hide_labelsshows those figures without their names, which show on hover. Each finished session in the selector has its own delete button (or press Delete on it). When the row cannot fit everything, the battery shows what the clean used, such as Δ12%.autoplayPlay from the beginning as soon as a session loads. A session that is still recording is followed live instead. unitsautofollows the Home Assistant unit system;metricorus_customaryoverrides it.heightMap height in px. fitstableframes the cleaned area on a 1 m grid so the view stops shifting between cleanings;plankeeps the whole floorplan in view;sessionis the tightest fit.live_badgeThe Live badge during a clean: show, andposition, the corner of the map it sits in (top_left,top_right,bottom_leftorbottom_right).alignment_badgeDuring a clean, how the track is lined up on the floorplan, in one word: Dock (on the dock, where the clean started), Walls (by matching the walls), Previous (as the last clean was, until this one has its own fit) or Unaligned. showandpositionas for the Live badge; two badges in one corner sit side by side.rotationstraightenturns the map so the walls line up with the card, then turns it a quarter if that fills the card better;degreesis added to that angle. Withoutstraighten,degreesis the map's angle.floorplanThe walls (the floorplan the integration builds from the robot's LIDAR): show,tiled(square tiles, as in the Neato app, or smooth), andopacity(0to1).gridThe half-metre background grid. coverageThe cleaned area: trail(the fading track behind the robot), andtiled(coverage and trail as square tiles, or smooth).entry_idThe robot to read by config entry id, for older dashboards. Normally left out, so the feature follows the robot of the tile it sits in; when set, it wins over the tile's robot. Controls
itemsare the vacuum's commands. Suctionfan_speedsare the levels to show (all of them when it is left out). Configurationitemsare the robot's switches and choices by key; Eco mode and Intense clean are not among them, because they are the suction levels.The playback speed button on the map remembers its choice in the browser. The session selector shows only the date and time of the session on screen while it is closed, and the full line for every session while its list is open. A session recorded before the bridge had the real time (NTP not synced, and no robot clock) shows as Date unknown. Check NTP synced on the bridge's device.
-
Migrating the old replay card — existing
type: custom:openneato-replay-carddashboards remain supported by a compatibility shim and do not need to be rewritten. New dashboards should usecustom:openneato-cardwith thecustom:openneato-replayfeature. The oldtitlebecomes the tile'sname;entityselects the tile vacuum, and an oldentry_idis resolved to that robot's vacuum entity, so a multi-robot dashboard keeps showing the robot it named.session, including a pinned historical session,speed,autoplay,fit,rotation,floorplan*,grid*,trail,units,show_picker, andshow_statsare translated to the replay feature. Legacyimperialunits become Home Assistant'sus_customary; a legacyheight: fillhas no exact tile-feature equivalent and uses the replay feature's normal pixel height. The legacy card does not expose the new tile card's visual editor or wrapper options. The shim may be removed only in a future major release. -
Reading the diagnostics — two field names are misleading and the integration corrects for them:
errorCodereturns 200 (UI_ALERT_INVALID) when nothing is wrong, so the Error code sensor reports unknown instead; andchargerMAH/dischargeMAHare milliamps, not milliamp-hours (measured decreasing while the robot discharged), so they are exposed with a current device class.dcJackInis the robot's own barrel jack, not the dock — on dock isextPwrPresent. -
Coordinator resilience — the integration tolerates a single hung endpoint without going into "requires attention" state. State / charger / system are critical; anything else (errors, motors, history) falls back to the last known value during transient ESP32 serial hangs.
-
No Pillow declared dependency — the LIDAR mapper writes its wall grid with Pillow, which already ships with HA Core, so the integration's
manifest.jsonkeeps"requirements": []. Nothing extra to install. -
ntfy + custom servers — point
ntfy_serverat a self-hosted instance andntfy_tokenat a Bearer token for authenticated push. Empty server defaults tontfy.sh; empty token is unauthenticated.
Full per-version notes live in custom_components/openneato/CHANGELOG.md.
Highlights:
- 1.20 — live map: a clean in progress plays on the replay card as it happens, with a
● Livechip and a growing timeline;grid: falsenow really gives a flat map (plusgrid_lines,tiled_plan,tiled_coveragefor the in-between looks);units: auto | metric | imperialwith the card following Home Assistant's unit system; Last clean area gets an area device class so it converts to ft². - 1.19 —
skip_next_cleanswitch,next_scheduled_cleansensor, andauto_restartswitch covering the upstream skip-next-clean / next-schedule / daily-restart firmware features; delete button on the replay card. - 1.18 — the
openneato-replay-cardcanvas card replaces theLIDAR mapandCleaning replaycameras (Platform.CAMERAdropped); self-calibrating LIDAR floorplan with per-session alignment; HA-settable 7-day schedule (14timeentities + 14 slot switches); six bumper binary sensors, off by default;chargerMAH/dischargeMAHcorrected from mAh to mA; theerrorCode200 sentinel no longer reported as an error;Dock contactrenamedDC jack; static floorplan-background option removed. - 1.11 — added
notify_on_startandap_fallback_on_disconnectswitches; ntfy topic/server/token text entities for full HA-side push config. - 1.10 — battery diagnostics (current, voltage, cycles, cumulative cleaning time) on top of firmware
PR #121,
New batterycalibration button, UTF-8-tolerant/api/versionparsing. - 1.9 — fixed cameras stuck on the idle placeholder (
get_encoding()crash on streamed bodies). - 1.6 —
Cleaning replaycamera (animated GIF time-lapse),/api/historycorruption-tolerant parsing, history filename validation + 2 MB response cap (LAN-MITM mitigation). - 1.3 —
LIDAR mapcamera ported from the frontend renderer; self-managed polling. - 1.2 — last-clean stats sensors; dropped Pillow from declared deps.
Use this fork's issue tracker for anything that lives under
custom_components/openneato/. For firmware, frontend, or flash-tool issues, upstream
renjfk/OpenNeato is the right place.
Neato Botvac D3 through D7. D8/D9/D10 are NOT supported (different board, password-locked serial port).
- ESP32-C3, ESP32-C6, ESP32-S3, or original ESP32 board with 4 MB flash (any dev board with USB and exposed GPIOs)
- Download the latest release from the Releases page
- Flash the ESP32 using the flash tool (auto-detects your chip type):
openneato-flash
- Configure your home WiFi via the serial menu (opens automatically after flashing)
- Wire the ESP32 to your robot's debug port
- Open the web UI at
http://neato.localor the IP shown in the serial monitor
For detailed instructions and troubleshooting, see the User Guide.
Running a Vacuula server as well, for the robot's own maps and no-go lines? The bridge can do the serial half of Vacuula's install so the robot never has to be opened again; see docs/vacuula.md.
⚠️ ESP32-C6 / ESP32-H2 owners: one USB flash is required before OTA works. Fork firmware v1.11 through v1.13.0 (May–October 2026), and upstream renjfk firmware built after 2026-04-25, reject every over-the-air image on a C6 or H2 withFirmware chip mismatch: unknown chip ID in image— from the web UI and fromcurlalike. Upstream commit7f341cc("Fix OTA rejecting valid images on original ESP32") replaced the direct chip-ID comparison with a translation table that only listed ESP32, S2, C3 and S3, so C6 and H2 images became "unknown". Fixed in v1.13.1 (#19). Because the check runs in the firmware receiving the update, a bridge on an affected version cannot be rescued over the air: flash v1.13.1 or newer once over USB (openneato-flash, orpio run -e c6-release -t upload), after which OTA updates work normally again.
Requires Node.js 22+, PlatformIO CLI, and Go 1.26+.
git clone https://github.com/renjfk/OpenNeato.git
cd OpenNeato
# Build frontend (generates web_assets.h)
cd frontend && npm ci && npm run build && cd ..
# Build firmware
pio run -e c3-release
# Build flash tool
cd flash && go build -o openneato-flash . && cd ..OpenNeato is open to contributions and ideas! Whether you're a developer wanting to add features or a user with suggestions, your input is valuable.
The most useful contributions are testing prereleases on your hardware, filing clear bug reports, and opening PRs. If you'd rather just say thanks, there's a Ko-fi. Optional, doesn't influence the roadmap, the project stays free and community-driven either way.
Tip
Before opening an issue, consider starting a Discussion first — many questions, setup troubles, and ideas are easier to resolve through conversation.
Important
For anything beyond a small bug fix, please open an issue or Discussion first to align on the design before writing code. This is an embedded project with tight resource constraints (single-core MCU, 320 KB RAM, 1.6 MB flash per OTA slot) and strict architectural rules (non-blocking event loop, zero external dependencies). A quick design conversation upfront avoids large rewrites during review.
When creating issues, please follow our simple naming convention:
Format: type: brief description
feat:- New features or functionalityfix:- Bug fixesenhance:- Improvements to existing featureschore:- Maintenance tasks, dependencies, cleanupdocs:- Documentation updatesbuild:- Build system, CI/CD changes
feat: add CSV export functionalityfix: app crashes when importing large filesenhance: improve data loading performancechore: update dependencies to latest versionsdocs: update README with installation instructionsbuild: update Xcode project settings
- Use lowercase for the description
- Be specific and actionable
- Keep under 60 characters
- No period at the end
For frontend development without hardware, use the mock API scenarios documented in
docs/mock-scenarios.md. The same ?scenario=... URLs work in local Vite dev and the
Cloudflare demo.
Manual releases via opencode; see RELEASE_PROCESS.md.
Prereleases can be triggered from any PR by commenting /prerelease (collaborators only).
This project is licensed under the MIT License.





