05-16-2023 16:40
05-16-2023 16:40
I am interested in writing a device and companion app for the luxe and charge 5. Is this possible? If not, then I am really interested in accessing the current hr value in the fitbit mobile app from an sdk companion app. Is there an api, or a class I can instantiate that will hand me that data? If I can get that, then I do not need to create a device app.
05-16-2023 16:45
05-16-2023 16:45
The device and companion APIs only exist on Fitbit OS watches (Versa* and Sense*). For Luxe and Charge, you'd need to use the Web API. However, that is only updated whenever the watch syncs.
05-17-2023 15:48
05-17-2023 15:48
ok so I see the FitbitMobile app receiving the hr bpm from the Luxe every second. I would assume then that the FitbitMobile app is acting as a companion app to the program running on the Luxe that is emitting (transfer_file?) the hr value every second. Is there a way I can install a companion app in the FitbitMobile app that is able to view that emitted hr value? Like listen for a file_transfer event, a websocket event? I would assume that is the type of communication the Luxe does back to the FitbitMobile app to emit hr values.
05-17-2023 16:12
05-17-2023 16:12
Sorry, no, the Fitbit mobile app doesn't provide any hooks for third-party code, other than hosting companion code for Fitbit OS watches.