Can't read recent activity data
MrVinceZ opened this issue · 4 comments
Hello !
I'm working with your plugin to detect when I'm sleeping.
To do that, I want to get back my activity data for the last hour, but I receive nothing after 10:30 this morning (17h20 when I write this)
Do you have an idea of where I need to search ?
Thank you for your jobs, it will help me a lot 👍
This is not the first time I am hearing this issue. I now realize that I hardcoded that last \x17 byte, which could be a field representing timezone. It was \x17 for my watch.
Line 526 in 0935d0d
I have to work on it, do some research. I will get back to you soon.
Oh, if this can help, I'm on Paris' Timezone : UTC+2
Thank you for your answer !
I have updated the code. Now, the user's timezone is fetched from the band and is used to make the request for activity data. I hope this solves the issue.
Seems solved ! Thank you :)