Skip to content

v0.3.0

Choose a tag to compare

@mtheli mtheli released this 22 Feb 20:14

What's New

Persistent BLE Connection

  • Continuous command cycling (19 commands per ~2s cycle)
  • BLE bind handshake on AF02 before data polling

Event-based Reconnection

  • Instant reconnect when device returns to range via HA bluetooth advertisement callback
  • No more waiting up to 5 minutes after long absence

Connected Binary Sensor

  • New binary_sensor.connected with BinarySensorDeviceClass.CONNECTIVITY
  • Updates immediately on disconnect

Change Detection

  • Only push data to HA when sensor values actually changed
  • Prevents database bloat from identical idle readings

Other Changes

  • Remove last_seen sensor (replaced by connected binary sensor)
  • RSSI sensor kept but disabled by default
  • TRACE logging for raw hex data, DEBUG for human-readable parsed results
  • All magic bytes extracted into named constants