tszheichoi / awesome-sensor-logger

Collection of tools, resources and sample code to use alongside the Sensor Logger app
MIT License
180 stars 22 forks source link

Delay in Apple Watch data Streaming over HTTP #37

Closed bchandaka closed 1 month ago

bchandaka commented 2 months ago

Hi,

I'm using sensor logger to stream data on my iphone, airpod, and apple watch over http to a python flask server which saves and visualizes this data. For the apple watch however, there seems to be a 5-10 second lag in when the data arrives to my server. The timestamps still matches up with other correlating phone data(moving the phone and watch together at the same timestamp has similar acceleration jump etc.). Usually, I just wait a couple extra seconds before ending the recording to make sure the watch data gets caught up a bit.

Is there any cause for why the watch data might be delayed when streaming over http?

tszheichoi commented 1 month ago

Hi @bchandaka could you clarify whether the delay only exists for the stream? Is there any delay / offset / data issue with the local recording on the phone when you expect it after the fact?

tszheichoi commented 1 month ago

@bchandaka Version 1.35 is now out with a revamped Apple Watch connection mechanism. Please try again if still interested.

tszheichoi commented 1 month ago

Closing this now. Feel free to re-open if you encounter further issues with the latest version of Sensor Logger