Skip to content

v0.4.0 — works alongside the iO Sense charger

Choose a tag to compare

@thomasgregg thomasgregg released this 23 Jul 18:20
575228c

Fixes the integration going silent while an iO Sense charger is plugged in and connected to the brush.

What was wrong

The brush stops advertising while a client is attached, and connection attempts were only made in response to an advertisement. With an iO Sense connected, no advertisement arrived, so no connection was ever attempted. Docked brushes also report charging, which the previous logic treated as a reason to release the connection rather than establish one.

Testing showed the brush accepts a second simultaneous client: with the charger attached and active, an independent client connected successfully and read state, time and pressure. The charger was never the blocker.

Changes

  • Connect while the brush is charging as well as awake; docked is the most reliable moment to establish the link
  • Only release the connection for sleeping and transport states
  • Added a reconnect loop that retries every 30s when no connection is held, rather than waiting for an advertisement that will not come
  • Raised connection attempts from 2 to 3 (the first attempt often fails while the brush is attached elsewhere)
  • Replaced the 2-minute idle disconnect with a 15-minute stale-connection rebuild, so the link is held rather than dropped

Result

The Oral-B app, the iO Sense charger and Home Assistant can all be active at the same time.

Tested on an Oral-B iO Series 10 (model ID 0x36, protocol version 8).