Unified firmware: runtime Bluetooth Proxy switch + Stable/Beta channel OTA#46
Unified firmware: runtime Bluetooth Proxy switch + Stable/Beta channel OTA#46bharvey88 wants to merge 2 commits into
Conversation
|
Warning Review limit reached
Next review available in: 56 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
…l OTA Rebuild of the earlier firmware-channel port on the pattern MSR-1 shipped as 26.7.9.1 (ApolloAutomation/MSR-1 #100/#103/#104): - NEW: bluetooth_proxy + esp32_ble_tracker compile into every image; a "Bluetooth Proxy" switch (default off, persisted, re-applied at boot) starts/stops scanning at runtime. Always-on C6/8MB device - a clean proxy candidate; nothing changes until a user turns the switch on. - Firmware Channel select (Stable/Beta) + apply_ota_source doing a direct set_source_url swap from ota_stable_manifest/ota_beta_manifest subs; the channel is re-applied at boot (on_boot -100) - Firmware Update button simplified: no pre-OTA BLE disable (ESPHome's OTA quiesces BLE itself) - http_request consolidated into Core.yaml with the proven buffer sizes (rx 5120 / tx 2048 for GitHub release redirects) - PUMP-1_Minimal on_boot converted to list form so Core's boot logic (pump safety init, refill-mode application) still runs on the image that now serves OTA - PUMP-1_Minimal gains the managed-update machinery and takes over Pages firmware/ for OTA/adoption; the improv image moves to firmware-factory/ (installer page repointed) - beta-channel/ wrapper defaults the select to Beta; build-beta.yml publishes the manifest (absolute URLs) to the rolling beta-fw pre-release - min_version 2025.11.0 (update-system floor); version 26.7.12.1 Supersedes #45. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
15669c5 to
09c0945
Compare
|
Updated: per fleet policy every product now gets the runtime Bluetooth Proxy switch, so this PR adds bluetooth_proxy + esp32_ble_tracker to Core with the standard switch (default off). Branch force-pushed; body updated. |
Add an empty encryption: key to the api: block so ESPHome/HA provisions a per-device API key on adoption, matching MSR-1. Bump firmware version to 26.7.14.1. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Version: 26.7.12.1
What does this implement/fix?
Rebuild of #45 on the unified pattern MSR-1 shipped as 26.7.9.1 (ApolloAutomation/MSR-1#100, ApolloAutomation/MSR-1#103, ApolloAutomation/MSR-1#104). Everything #45 did, plus the fix set that landed on MSR-1 afterward:
bluetooth_proxy+esp32_ble_trackernow compile into every image with a "Bluetooth Proxy" switch (default off, persisted, re-applied at boot). PUMP-1 never had a BLE proxy offering; as an always-on C6/8MB device it is a clean proxy candidate, and the switch defaults off so nothing changes until a user opts in.apply_ota_source: a directset_source_urlswap fromota_stable_manifest/ota_beta_manifestsubstitutions. The channel is now also re-applied at boot (on_boot -100), so a rebooted device keeps pointing at its selected channel.#ifdef USE_ESP32_BLEdisable/re-enable lambdas from Add Firmware Channel switching and serve the end-user image for OTA #45's update button are gone — ESPHome's OTA quiesces BLE itself (MSR-1 #103).http_requestconsolidated into Core.yaml withbuffer_size_rx: 5120/buffer_size_tx: 2048— GitHub release redirects overflow the 512-byte defaults (~3.6 KB CSP header line, ~850-char signed query string). Add Firmware Channel switching and serve the end-user image for OTA #45 had no buffer sizing; beta-channel OTA fails without it.on_bootconverted from mapping to list form. Mapping form replaces Core's wholeon_bootlist in the package merge, so the pump-safety boot init and refill-mode application never ran on the Minimal image. That was latent while Minimal was just the adoption stub; it matters now that Minimal is the fielded OTA image.firmware/; the improv image moves tofirmware-factory/;static/index.htmlrepointed. install.apolloautomation.com needs the matching repoint when this ships to main (mirrors Point MSR-1 installer at the factory image (restores Wi-Fi setup step) installer#16).beta-channel/wrapper + build-beta.yml publishing to the rollingbeta-fwpre-release.min_version2023.11.1 → 2025.11.0 (the update-system floor set on R_PRO-1); version 26.7.12.1.Supersedes #45. Leaves #37, #35, and #14 alone.
Types of changes
Checklist / Checklijst:
If user-visible functionality or configuration variables are added/modified:
🤖 Generated with Claude Code