Repository navigation
Releases
Releases · ThoreKoritzius/fitbit-air
Air Relay 0.4.0
Package
- Add
FitbitAir.ring({intensity, gap, maximum, pulses})and
FitbitAir.stopRing(), contributed by @srineere. A ring opens the secure
session once and pulses inside it, so pulses can be a few hundred
milliseconds apart instead of a new session each time. It ends on
stopRing(),cancelOperation(), aftermaximum, afterpulses, or after
three unanswered pulses in a row (HAPTIC_UNCONFIRMED), and restores the
wearer's strength wherever a link remains. ReturnsAirRingResult. RING_FAILEDmeans the Air answered a ring unexpectedly
(AirFailureKind.compatibility).
Example app
- Incoming calls ring: the Air pulses about once a second until the call
is answered, declined or missed (at most 45 s). The one-time vibrations
remain as options under Rules → Incoming calls. - Phone calls now buzz at all: they were only accepted when the Phone app
was selected under Apps, were not recognized on phones whose Phone app
omits the call type (Pixel), and were always suppressed by "Only when the
screen is off", because a ringing call turns the screen on. Calls now
ignore that setting; quiet hours and pause still apply. - A ring no longer stops early when the Phone app re-posts its notification
while still ringing. - Ignored calls appear in Recent activity.
Install
Download air-relay-0.4.0.apk on your Android phone and open it. Your Fitbit Air must already be paired in Google Health on the same phone.
Verify the download (optional):
shasum -a 256 -c air-relay-0.4.0.apk.sha256The APK is signed with the Air Relay release key. Certificate SHA-256:
e7:a3:c8:ed:72:68:d0:95:ca:97:b9:7c:ca:ed:89:51:99:cb:1e:8f:06:e1:74:97:c1:50:6f:89:62:0d:33:b4
Air Relay 0.3.0
Package
- An Air that does not answer is no longer reported as a compatibility
failure. Haptic commands now distinguishAIR_NO_REPLY(the read before any
change went unanswered, so nothing was sent) andHAPTIC_UNCONFIRMED(a
change was sent but not confirmed, so it may have pulsed) from the existing
codes, which now mean the Air answered unexpectedly. Both new codes are
AirFailureKind.temporary. AirHapticDispatcheralso retriesAIR_NO_REPLYonce after 3 s, like
HANDSHAKE_TIMEOUT.HAPTIC_UNCONFIRMEDis never retried.- A warm link that stays connected but stops carrying replies is replaced
after the first command on it fails, instead of being reused for every
following command.readLinkHealth()counts this asdropped_no_reply.
Example app
- Rules, redesigned: one overview grouped into What buzzes, How it
buzzes and When it stays quiet, with Apps, Chats, Keywords and Message
tone on their own pages and a short "Which rule wins?" explainer. - Chats in any chat app: save people and groups from WhatsApp, Signal,
Telegram, Messenger, Google Messages and other chat apps, and give each its
own vibration or mute it. "Only saved chats buzz" is now a per-app switch;
the earlier WhatsApp "Everyone else: silent" setting carries over. - Keywords: messages containing chosen words, phrases or emoji get their
own vibration, or stay silent. Checked on the phone only; asks for consent
first. - Incoming calls from your apps can buzz the Air (Android 14 and later).
- Only when the screen is off: optionally stay quiet while you use the
phone. - Find my Air: a live signal-strength view under Device to find a nearby
Air. - Notifications stay on until you stop them, also after a reboot, an app
update or Android ending the app. - Select or deselect all apps at once, and sort selected apps first.
- Fix relaying stopping after 256 different notification keys.
- Simpler setup: a short welcome, then three steps (connect your Air,
allow notifications, choose apps) with suggested apps first, an optional
test buzz, and a button that starts notifications right away. - New About page with compatibility, help links and open-source licenses.
- Clearer errors when the Air doesn't answer ("didn't answer in time"
instead of "answered in an unexpected way"), with one automatic retry when
nothing was sent. - On phones whose battery management pauses optimized apps (OPPO, Xiaomi,
vivo, Huawei and others), Home suggests allowing Air Relay background use
without restrictions and opens its battery settings. Stock Android phones,
where the relay keeps running, see no suggestion. - The Google Play build leaves out Developer tools.
Install
Download air-relay-0.3.0.apk on your Android phone and open it. Your Fitbit Air must already be paired in Google Health on the same phone.
Verify the download (optional):
shasum -a 256 -c air-relay-0.3.0.apk.sha256The APK is signed with the Air Relay release key. Certificate SHA-256:
e7:a3:c8:ed:72:68:d0:95:ca:97:b9:7c:ca:ed:89:51:99:cb:1e:8f:06:e1:74:97:c1:50:6f:89:62:0d:33:b4