SleepyHead timeline displaying too much time

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
old dude
Posts: 643
Joined: Sat Jul 27, 2013 4:08 pm

SleepyHead timeline displaying too much time

Post by old dude » Thu Nov 07, 2013 7:25 pm

I just noticed that the graphs in SleepyHead are now displaying an extra hour of time after I've been awake and shut off my machine. The Sleep/Wake/Hours data above the pie chart is correct however. I have the proper time zone selected and have also checked DST as I assume I should have.

My timeline is displaying properly in EB, so I can rule out my computer.

Anybody know what could be up here? Do I need to manually deselect DST since the time has now changed? I don't know if this is skewing my averages by adding an hour of sleep or not...

THanks.

User avatar
Pugsy
Posts: 65254
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead timeline displaying too much time

Post by Pugsy » Thu Nov 07, 2013 9:02 pm

Check the time you turned the machine on...is it off also?

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

User avatar
DoriC
Posts: 5214
Joined: Sat Sep 13, 2008 9:28 pm
Location: NJ

Re: SleepyHead timeline displaying too much time

Post by DoriC » Thu Nov 07, 2013 9:36 pm

Try unchecking DST.

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Additional Comments: 14/8.4,PS=4, UMFF, 02@2L,
"Do or Do Not-There Is No Try"-"Yoda"
"We are what we repeatedly do,so excellence
is not an act but a habit"-"Aristotle"
DEAR HUBBY BEGAN CPAP 9/2/08

User avatar
Pugsy
Posts: 65254
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead timeline displaying too much time

Post by Pugsy » Thu Nov 07, 2013 10:04 pm

I unchecked DST Sat night in SH...my times are correct since the time change but the prior dates are all messed up with times turning on the machine and turning it off. Total hours are correct so I don't see the AHI numbers being wrong but some other problems with the dates prior to the time change and removal of the DST checkmark.
I sent a message to Mark about it.
So from Sat night on things are fine but all the stuff prior to Sat night are messed up both in time I turned the machine on..turned it off and in the Events tab if I click on a single event..it takes me to a timed wrong spot on the graph.
Hard to explain.

So if you remove the check mark...I suspect that tomorrow you will see tonight's report looking fine but prior reports will be whacky.
And putting the check mark back in didn't fix those old dates.

It's late and I don't have time or the energy to do any more experimenting tonight but I know for a fact that the problem with the Nov1 and prior dates wasn't there until the time change. I will try installing another version of SH 9.3 and keep it separate to play with and see what happens...and BTW this problem is carried over to the new unstable testing build.

AHI is correct though because even though the times are off the hours of sleep are correct. They match up pretty much except for decimal rounding up and down with Encore.

If other people are seeing this..you are just going to have to be patient...this is the fun part of Beta software

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

old dude
Posts: 643
Joined: Sat Jul 27, 2013 4:08 pm

Re: SleepyHead timeline displaying too much time

Post by old dude » Fri Nov 08, 2013 10:18 am

Tried unchecking DST, made no difference.

Actually what seems to be happening is that while the total time is accurate, the timeline on the graphs is starting an hour late and ending an hour late. This has only seemed to start with the changeover from DST, but as noted, checking and unchecking the button makes no difference.

User avatar
Pugsy
Posts: 65254
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead timeline displaying too much time

Post by Pugsy » Fri Nov 08, 2013 12:41 pm

I tried some ideas to fix the issue but had no luck.
Uninstalled SH and installed it back and then created a new profile with and without DST being checked and with both profiles the timed graphs on the right are still off by one hour prior on the nights prior to the fall back Saturday night (sun AM really) .
I was thinking if we did a totally fresh import that it would maybe fix things..it didn't.
I am out of ideas at the moment.
Other than being annoying...I don't suppose it is a big deal because we don't normally need to look in the past reports at that level anyway.
AHI is correct
overall hours of use is correct...just the time stamp is off by one hour on the detailed graphs.

Don't know what to tell someone who has their older reports being correct and now the post fall back one hour times being off except to try creating a new profile and during the profile set up don't check the DST box and see if at least current reports are correct.

I have some other chores to do now so no more time to devote to this at the present. Also awaiting what Mark has to say about this issue.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
Last edited by Pugsy on Fri Nov 08, 2013 7:26 pm, edited 1 time in total.
I may have to RISE but I refuse to SHINE.

User avatar
DoriC
Posts: 5214
Joined: Sat Sep 13, 2008 9:28 pm
Location: NJ

Re: SleepyHead timeline displaying too much time

Post by DoriC » Fri Nov 08, 2013 6:38 pm

I'm sitting here laughing to myself! This sounds like the Obamacare website! Please, this is not political at all,just struck me funny!

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Additional Comments: 14/8.4,PS=4, UMFF, 02@2L,
"Do or Do Not-There Is No Try"-"Yoda"
"We are what we repeatedly do,so excellence
is not an act but a habit"-"Aristotle"
DEAR HUBBY BEGAN CPAP 9/2/08

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead timeline displaying too much time

Post by jedimark » Sat Nov 09, 2013 5:33 am

SleepyHead uses UTC time with Philips Respironics data, so the internal handling should all be correct. There is no daylight saving madness needed anywhere in my code (the DST and timezone don't actually do much at all). All I do is take a 64bit timestamp, and ask Qt to convert it and format it for local time. Qt looks up the system locale and converts it for display format.

Depending on which build you are using, there is a decent chance there is a glitch in Qt's time formatting code.. Support was greatly improved after Qt5. SleepyHead shows what Qt version it's built with in the first line of the Debug pane (Help -> Show Debug Pane turns it on and off)

SleepyHead is fully migrating on all platforms to Qt5 now things work reliably again on Mac.

If the build your using IS based on Qt5, well, there's some crazy stuff going on I probably need to report upstream to the Qt guys. :-/

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
Pugsy
Posts: 65254
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead timeline displaying too much time

Post by Pugsy » Sat Nov 09, 2013 7:00 am

I have the same issue with the time graphs in both my SleepyHead 0.9.3 with
Debug: "SleepyHead v0.9.3" built with Qt 4.8.1 on May 18 2013 21:42:27

And with the unstable 0.9.4
Debug: SleepyHead v0.9.4 built with Qt 5.1.1 on Oct 27 2013 00:22:15
jedimark wrote: If the build your using IS based on Qt5, well, there's some crazy stuff going on I probably need to report upstream to the Qt guys. :-/

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.