jlai / fitness-dashboard

Dashboard for viewing Fitbit stats
https://dashboard.exercise.quest
MIT License
17 stars 3 forks source link

Sleep Graph #13

Closed npcwoody closed 4 months ago

npcwoody commented 4 months ago

The Sleep Graph does not show Wed. It shows Thu twice.

chrissard2 commented 4 months ago

I also have twice on 9, 4, 2. for July, I do not seem to be missing any days. I looked back on my phone and I am not seeing any duplicates there.

sleep

image

jlai commented 4 months ago

Thanks for reporting! The graph probably needs to add up the sleep times for each day (it assigns sleep to the wakeup day, will need to check what the Fitbit app does)

npcwoody commented 4 months ago

For me it shows: Mon - Tue - Thu - Thu - Fri - Sat - Sun

jlai commented 4 months ago

Can you check how it looks now? I don't use sleep logging most of the time so I don't have much real data on my own account

npcwoody commented 4 months ago

Looks better now. I will keep an eye on it and tell you if I have any more issues.

chrissard2 commented 4 months ago

It also looks correct now. Thanks

dhdurgee commented 4 months ago

I would also like to see last night's sleep time on the dashboard.

jlai commented 4 months ago

I added a sleep tile to the dashboard. if it doesn't show up, you may need to Edit Grid -> Add Tile -> Sleep

chrissard2 commented 4 months ago

That works thanks

jlai commented 4 months ago

I redesigned the sleep history page a bit. It should hopefully be easier to read now. If your device supports sleep stages (REM/light/deep) you can click on a sleep log or the dashboard tile to view the hypnogram (sleep stage graph).