r/Gadgetbridge • • Sep 27 '26

garmin-ble: a standalone Python port of Gadgetbridge's Garmin protocol work, for desktop/Linux

Hi all 👋

I wanted to share something that only exists because of your work.

garmin-ble is a Python library for talking to Garmin watches from a computer.

Why: I wanted real-time sensor data (live stress and HR) on my laptop for home automation, outside of Android.

  • An async Watch API: async for reading in watch.stream(metrics.HEART_RATE)
  • Live streaming of HR, HRV, SpO2, stress, Body Battery, respiration, and the accelerometer
  • Auto-reconnect, frame tracing, and a simulator/replay transport so it can be tested without hardware

It's AGPL-3.0, in line with Gadgetbridge.

Thank you for years of patient reverse-engineering. None of this would exist without it 🙏

(I also did some extra work such as reverse-engineering the accelerometer data, which Gadgetbridge currently doesn't have, writing up a blog post on this very soon)

https://github.com/gwerneckp/garmin-ble

3 Upvotes

1 comment sorted by

1

u/ShiftyRider Sep 28 '26

starred

a while ago I tinkered with synchronizing the color of a wiz smartbulb with the last digit of my heart rate, next I imagined a similar system for my puppy's heart rate cuz it would know lights better than numbers and maybe eventually figure out that it could control the light...