| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…-connect type detection
|
I tested this branch against a Wahoo KICKR CORE C23A through a Home Assistant dev harness with an ESPHome Bluetooth proxy. Observed advertisement shape:
With the Home Assistant integration also matching FTMS service_uuid advertisements, this PR's pyftms changes let the FTMS config flow progress past connection, detect MachineType.INDOOR_BIKE, read Wahoo device info, expose the expected indoor bike sensors/settings, and create a loaded config entry titled Wahoo Fitness GENERIC (254941722). Relevant runtime evidence from the harness:
So this approach fixes the UUID-only advertisement case for this KICKR CORE path in practice. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Hi! I ran into this on a budget SLUNSE Exercise Bike I bought on Amazon. It advertises the FTMS service UUID (0x1826) but doesn’t include the FTMS service_data in the advertisement. Because of that, pyftms rejected it with NotFitnessMachineError even though, after connecting, the device does expose the FTMS data stream and sends notifications.
Context: I discovered this while trying to integrate the bike into Home Assistant using the FTMS custom component.
This PR lets pyftms still connect and read data in that situation.
I’m not sure how common this pattern is across other devices. I tried to keep the change as generic and low‑risk as possible so it can help similar cases without impacting fully compliant devices.
What I changed:
Is the placeholder approach okay? It gets corrected right after connect.
I’m not sure this is the best way to solve it; very open to advice, critique, or alternative approaches.
I haven't tested if this fixes the Home Assistant component yet.
Happy to provide any further information or debugging if needed to make a better fix.