Repository navigation
Conversation
…SI interval knob A third-party configuration for the same hardware is protected from the crash twice over, once by the defect that masks it and once by the stock notify sensor ordering correctly. That turns the rarity argument from an inference into an observation, and shows the contract only reaches code implementing BLEClientNode directly. templates/wifi.yaml gains wifi_signal_update_interval, defaulting to the 60s it already used, so placement surveys can raise the rate without editing the shared template.
There was a problem hiding this comment.
Pull request overview
This PR promotes develop to main by (1) documenting a real-world, stock-component EasyStart configuration that naturally avoids the BLE notify-registration race described in easystart/ESPHOME-BLE-ISSUE.md, and (2) adding a per-device substitution knob to control the WiFi RSSI sensor sampling interval without editing the shared WiFi template.
Changes:
- Add a defaulted
wifi_signal_update_intervalsubstitution totemplates/wifi.yamland wire it to thewifi_signalsensor’supdate_interval. - Extend
easystart/ESPHOME-BLE-ISSUE.mdwith an external configuration comparison illustrating how stockble_clientcomponents avoid the crash path and how defect 2 masks defect 1.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| templates/wifi.yaml | Adds a default substitution and uses it to parameterize the WiFi RSSI sensor update interval per device. |
| easystart/ESPHOME-BLE-ISSUE.md | Adds a documented third-party stock-component comparison and link reference to strengthen the crash analysis narrative. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes
developtomain.Comparison against a stock-component EasyStart configuration
Keen-coffee/home_assistant reads the same Micro-Air EasyStart modules using only stock ESPHome components. It cannot hit the crash described in
easystart/ESPHOME-BLE-ISSUE.md, and it is protected twice over:ble_client.disconnectaction never reportsESTABLISHED, soall_nodes_established_()is permanently false for that client andrelease_services()never runs. That is the second defect masking the first, in a configuration written with no knowledge of either.ble_clientcharacteristic sensor withnotify: true, which establishes inESP_GATTC_REG_FOR_NOTIFY_EVTafter checking the status. Even with the actions removed the ordering would still be correct.This matters for the upstream report. It turns the "why this is rarely hit" argument from an inference about the bundled components into an observation of a real configuration, and it shows what actually separates a crashing configuration from a safe one: whether a node assigns
node_stateitself, not how elaborate the configuration is. The undocumented contract only reaches code that implementsBLEClientNodedirectly.WiFi signal interval knob
templates/wifi.yamlgainswifi_signal_update_interval, defaulting to60s, which is the interval thewifi_signalsensor already used. Placement surveys can now raise the sample rate per device rather than editing a template shared by every device.Verified that the other consumers resolve unchanged at
60s(garage-presence-sensor,recirculation-pump-controller,living-room-plant-sensor). The GL-S10 proxy has nowifi_signalsensor, being PoE.Not included
The 5s survey overrides on
hvac-compressor-sensor.yamlare deliberately left uncommitted in the working tree. They exist to walk candidate mounting positions and belong with that exercise, not onmain.Verification
esphome configclean forhvac-compressor-sensor.yamland the other WiFi consumers.markdownlint,cspell,editorconfig-checker,actionlintclean.