Skip to content

1.3.1 — Connection hardening

Choose a tag to compare

@townsmcp townsmcp released this 26 Oct 00:19
· 15 commits to main since this release

v1.3.1 — Connection hardening

Fixed

  • A lost response or an unresponsive Bluetooth proxy can no longer leave a BM6
    connection open. Every step of a read now has a time limit, and the connection
    is always released afterwards, so an ESPHome proxy's connection slot is freed
    and the next poll retries. Previously a hung disconnect could block all later
    polls through that proxy until it was restarted.
  • A dropped connection is detected straight away while waiting for the BM6's
    reply, rather than waiting out the full timeout.

Changed

  • Added an overall time limit on each update; a timeout is treated like any other
    missed read, so the last good value is held briefly before sensors go
    unavailable.
  • Time limits are configurable in const.py (BM6_RESPONSE_TIMEOUT,
    BM6_EXCHANGE_TIMEOUT, BM6_CLEANUP_TIMEOUT, BM6_UPDATE_TIMEOUT).

Upgrade notes

  • No configuration changes required. Update via HACS and restart Home Assistant.