Repository navigation
Conversation
* Make OPERATIONS.md Independent of How ESPHome Runs A copy of this repository is used from the dashboard's container, from a throwaway container, or through uvx on a development box with a board on USB. The commands now take one form, with a new "Running the ESPHome CLI" section that states the three routes once, how each pins the dashboard's version, and where each keeps ESPHome's data directory. Container-only paths and the docker exec logs hazard are scoped to the routes they belong to. "Framework and Platform Versions" now describes the native esp-idf toolchain that ESP32 builds use by default in 2026.9.1, where platform_version is dropped and platformio_options are ignored. Closes #217 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Correct the Toolchain and Route Details Found in Local Review Scope the throwaway container to checkouts other than the dashboard's copy, keep log captures in the ignored logs/ directory, pin esptool through the esphome release, and say where the ESP-IDF toolchain lives on each route. State which platformio_options the native toolchain still applies, what version means for the arduino framework, and that platform_version needs an exact version under the PlatformIO toolchain. Note that the ESPHome CLI also reaches a host through uvx in host-tools.json. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Tighten Build Tree, Toolchain Cache, and PlatformIO Option Details Name the build tree by the node name beside the YAML, say when ccache is used and that esphome clean-all deletes the toolchain cache, correct build_unflags on the native ESP-IDF toolchain, add nRF52, and carry the CI-parity exception into the pinning rule. Use mktemp without a fixed /tmp path, and name the pinned venv in host-tools.json. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Correct clean-all Scope and Verify the Throwaway Container Logs Timeout State what esphome clean-all deletes and which data directories it empties, limit the secrets guard to checkouts, say the PlatformIO toolchains are scheduled for removal rather than removed, and record the checked docker run logs behavior: a timeout inside the container exits 124 and leaves nothing running, while one outside it leaves the container running. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Simplify the clean-all Notes and Complete the docker run Logs Example Describe esphome clean-all by what it costs rather than by every path it visits, add --rm to the docker run logs example and say how to stop a leftover container, and call the dashboard's copy something other than a checkout where the routes are listed. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Name What clean-all Empties and Scope the Early-Pipe Note Say that esphome clean-all empties the data directory of each config it reaches, so the patched-component note that links to it stays accurate, and limit the early-closing pipe note to docker exec, the case it describes. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #224 +/- ##
=======================================
Coverage 43.07% 43.07%
=======================================
Files 1 1
Lines 130 130
=======================================
Hits 56 56
Misses 74 74
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
Documentation-only changes were fully reviewed with no unresolved findings.
0 open findings
What changed in this PR
Updates ESPHome operational documentation with host-agnostic workflows and native ESP-IDF guidance.
Changes:
- Documents container,
uvx, and local CLI workflows. - Clarifies validation, flashing, logging, and caching guidance.
- Aligns framework and host-tool documentation.
| File | Description |
|---|---|
OPERATIONS.md |
Documents host-agnostic ESPHome workflows and native toolchains. |
host-tools.json |
Aligns host-tool notes with supported CLI routes. |
🧠 Review effort: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
What
Promotes #223 to
main.OPERATIONS.mdno longer assumes the dashboard's Docker container. It defines three ways to run ESPHome once, each pinned to the dashboard's version: the dashboard container, a throwaway container, and an on-demanduvxcall. The other commands then use plainesphome <command> <device>.yaml.host-tools.jsonnote matches.Closes #217.
Behavior
Docs only. No template or device YAML changes, so no deployed device's configuration changes and no release follows.
Verification
Carried from #223: its Copilot threads are resolved, its final head carries an attested local pass, and its required checks passed.
🤖 Generated with Claude Code