Perform an OTA firmware update to an ESPHome device via the native API OTA platform

domain: iot · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Add an ota: block with platform: esphome (and a password) to the device YAML; this is the protocol used by both the ESPHome dashboard and the CLI to install firmware over the network
  2. From the ESPHome dashboard, use the device's install/update action to trigger a wireless install of the compiled firmware
  3. From the CLI, run esphome run <config.yaml> to compile and upload over the network, or esphome upload <config.yaml> to upload the most recently built firmware without recompiling
  4. Target a specific device with --device <ip> (or --device OTA for network discovery) when the command supports it
  5. To update many devices in one pass, run esphome update-all <CONFIG>..., which runs esphome run <CONFIG> --no-logs --device OTA for each config found and reports successes/failures

Known gotchas

Related routes

Set up an over-the-air firmware update pipeline for an ESPHome device
esphome.io · 6 steps · unrated
Configure ESPHome with native API and integrate a custom sensor device with Home Assistant using device substitutions and packages
esphome.io · 6 steps · unrated
Implement firmware OTA update logic on an ESP32 using ESP-IDF's native OTA API with dual ota_0/ota_1 partitions
docs.espressif.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans