Unified firmware: runtime Bluetooth Proxy switch + Stable/Beta channel OTA#70
Unified firmware: runtime Bluetooth Proxy switch + Stable/Beta channel OTA#70bharvey88 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 (13)
✨ 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
Port of the pattern MSR-1 shipped as 26.7.9.1 (ApolloAutomation/MSR-1
#100/#103/#104), replacing the earlier firmware-channel branch:
- bluetooth_proxy + esp32_ble_tracker compile into every image; a
"Bluetooth Proxy" switch (default off, persisted) starts/stops scanning
at runtime, re-applied at boot (on_boot -300). On this deep-sleep device
the proxy pairs with "Prevent Sleep" for continuous use. The _BLE build
split is retired: _BLE yamls stay compilable but their update entities
point at the standard manifests (they were never published), so
self-built _BLE devices converge onto the unified image.
- Firmware Channel select (Stable/Beta) + apply_ota_source doing a direct
set_source_url swap from per-variant ota_stable_manifest/ota_beta_manifest
subs (${variant_slug} keeps PLT-1 vs PLT-1B on their own manifests); the
channel is re-applied at boot (on_boot -100)
- Firmware Update button holds prevent_deep_sleep for the download and
re-arms sleep on the not-started path; 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)
- _BLE variants' on_boot converted to list form so Core's on_boot entries
merge instead of being replaced
- Minimal images take over Pages firmware/ and firmware-b/ for OTA and
adoption; improv images move to firmware-factory/ and firmware-b-factory/
(installer page repointed)
- beta-channel/ wrappers default the select to Beta; build-beta.yml
publishes manifest.json + manifest-b.json (absolute URLs) to the rolling
beta-fw pre-release
- min_version 2025.11.0 (update-system floor); version 26.7.12.1
Supersedes #69.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
ecc8f3d to
5d4a6e8
Compare
|
Reworked: PLT-1 has real _BLE variants, so this PR now carries the full unified treatment (bluetooth_proxy compiled into every image + runtime "Bluetooth Proxy" switch), not just the channel select. Body updated to match; branch force-pushed. |
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
Adds:
bluetooth_proxy+esp32_ble_trackernow compile into every image; a "Bluetooth Proxy" switch (default off, persisted, re-applied at boot) starts/stops scanning at runtime. On this deep-sleep device the proxy only forwards while awake — pair it with "Prevent Sleep" for continuous use.apply_ota_source: a directset_source_urlswap from per-variantota_stable_manifest/ota_beta_manifestsubstitutions (${variant_slug}keeps PLT-1 and PLT-1B on their own manifests). The channel is re-applied at boot (on_boot -100).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).firmware/+firmware-b/; improv images move tofirmware-factory/+firmware-b-factory/; installer page repointed. 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/wrappers + build-beta.yml publishingmanifest.json/manifest-b.jsonto the rollingbeta-fwpre-release.Fixes:
_BLEbuild split is retired the MSR-1 way: the_BLEyamls stay compilable (dashboard_import compat) but lose their own proxy/tracker blocks and their update entities point at the standard manifests — they were never published, so there are no fielded_BLEdevices to keep on a legacy manifest; self-builders converge onto the unified image._BLEvariants'on_bootconverted from mapping to list form so Core's boot entries merge instead of silently replacing the variant's block.prevent_deep_sleep()and re-arms sleep on the not-started path.min_version2025.6.0 → 2025.11.0 (the update-system floor set on R_PRO-1).Breaks:
_BLEimages were never published. Sleeping devices only see channel changes/updates while awake —ota_mode/ "Prevent Sleep" (default ON) governs, unchanged.Supersedes #69.
Checks:
🤖 Generated with Claude Code