03-30-2022 13:14
03-30-2022 13:14
I'm creating an app in angular, and I need the hear rate. I don't know which is the best solution to implement to get the heart rate from the Fitbit sense and save the heart rate in real time. Any ideas??
03-30-2022 13:20
03-30-2022 13:20
Send heart rate readings from watch to companion, and then from companion to a server using fetch() or WebSocket. (WebSocket may be better suited to real-time data).
I have no idea about the angular side. If your app can't act as a server to receive the data directly, it will need to access it from an intermediate server app that you'll need to develop.
03-30-2022 13:25
03-30-2022 13:25
Is there any example?
03-30-2022 13:30
03-30-2022 13:30
You could adapt 'Accelerometer Fetcher' from here, but it doesn't try to do real-time streaming. For that, you won't want to batch your readings and you should consider using a WebSocket. Heart rate is easier to send than accelerometer data because there's much less of it; you won't need to do it in binary.
04-16-2022 03:12
04-16-2022 03:12
hello, can anyone help me with my project? its related to this topic, i can pay. thanks