Time stamps in SleepyHead with change to DST?

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
robysue
Posts: 7520
Joined: Sat Sep 18, 2010 2:30 pm
Location: Buffalo, NY
Contact:

Time stamps in SleepyHead with change to DST?

Post by robysue » Mon Mar 12, 2012 9:25 am

Folks,

Anybody else having trouble with the time stamps in SH 0.9 with the change to daylight savings time?

The times listed in the Details tab and the Events tab are correct, but the times on the graphs are not. The graphs' times are still set to standard time.

Same thing seems to be true for all of last summer's data when I look at it in SH 0.9 as well.

Notably, if I load the same data into SH 0.8, I don't have this problem: The time stamps in both the tabs and the graphs is correctly set to daylight time. And of course, that's why I haven't noticed the problem before: I didn't start using SH 0.9 until after we went off of daylight time last fall.

_________________
Machine: DreamStation BiPAP® Auto Machine
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: PR System DreamStation and Humidifier. Max IPAP = 9, Min EPAP=4, Rise time setting = 3, minPS = 3, maxPS=5

User avatar
MaxDarkside
Posts: 1199
Joined: Sun Dec 18, 2011 4:21 pm
Location: Minneapolis, MN

Re: Time stamps in SleepyHead with change to DST?

Post by MaxDarkside » Mon Mar 12, 2012 9:42 am

Yes, something is a bit off in SleepyHead 0.9.2-1. It says I slept 18:10:12 hh:mm:ss last night. LOL ! My times in my chart are correct, but I set my ResMed S9 AutoSet's time on Sunday AM to DST so that all my data is with proper timestamps for importing into our software. Also, in my sleepyhead chart, there's an extra hour of nothing on the most recent end (on the right).

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS-50E Oximeter, Zeo Bedside, Software: Comm'l grade AI analytics server & tools & SleepyHead
Do or Die... Sleep Apnea killed me, but I came back. Click for my story
Please visit my My Apnea Analytics blog. Maybe we can help each other.
54 yrs, 6' 1", 160->172 lbs

User avatar
MaxDarkside
Posts: 1199
Joined: Sun Dec 18, 2011 4:21 pm
Location: Minneapolis, MN

Re: Time stamps in SleepyHead with change to DST?

Post by MaxDarkside » Mon Mar 12, 2012 9:46 am

Oh, and 18:10:12 hh:mm:ss is about double what I actually got. I had an AMAZING 9 hours, 5 minutes of sleep last night!!! I don't know why. My blood pressure spiked last night to 166/105, had tachycardia, I felt poorly, and went to bed at about 11 PM and got up at around 8 AM. Wowza! Zeo Sleep Score of 96, best yet.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS-50E Oximeter, Zeo Bedside, Software: Comm'l grade AI analytics server & tools & SleepyHead
Do or Die... Sleep Apnea killed me, but I came back. Click for my story
Please visit my My Apnea Analytics blog. Maybe we can help each other.
54 yrs, 6' 1", 160->172 lbs

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

Re: Time stamps in SleepyHead with change to DST?

Post by Pugsy » Mon Mar 12, 2012 9:54 am

Well.....ever since Sat night SH says I am sleeping twice as long as I am (17 hours last night) ...version 0.8.8 has it correct though. Time is totally off. Didn't change the ResMed clock until yesterday afternoon...things are still whacko.
Time going to bed is still off by one hour..both nights but the graphs match the time stamp.
I might reinstall Beta version later to see if it sorts things out.

Using the ResMed machine right now.

_________________
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
NateS
Posts: 1716
Joined: Wed Dec 14, 2011 8:53 pm
Location: Kaatskill Mts-Washington Irving

Re: Time stamps in SleepyHead with change to DST?

Post by NateS » Mon Mar 12, 2012 10:38 am

Same problem here with SleepyHead.

As for ResScan, (slap to the forehead ) I didn't know I had to set the time ahead on my S9! - somehow since I'm connected by modem I assumed that it would set itself ahead the way our cell phones do/did.

Nate

_________________
Mask: DreamWear Nasal CPAP Mask with Headgear
Additional Comments: ResMed AirCurve 10 ASV; Dreamwear Nasal Mask Original; CPAPMax Pillow; ResScan & SleepyHead
Central sleep apnea AHI 62.6 pre-VPAP. Now 0 to 1.3
Present Rx: EPAP: 8; IPAPlo:11; IPAPHi: 23; PSMin: 3; PSMax: 15
"I've had a perfectly wonderful evening, but this wasn't it." —Groucho Marx

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

Re: Time stamps in SleepyHead with change to DST?

Post by Pugsy » Mon Mar 12, 2012 10:42 am

NateS wrote:As for ResScan, (slap to the forehead ) I didn't know I had to set the time ahead on my S9!
Anyone going to adjust their S9 machines...do it after 12 PM...that is when the machine thinks a new day starts. Seems like if we try to do it before Noon...the machine may think there is some old data on the machine that might get messed up and you might get a message to that effect.
I had no machine issues when I changed the time yesterday afternoon. No messages from the machine anyway...my problem seems to be with SleepyHead Beta version and began before the switch to DST.

_________________
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
MaxDarkside
Posts: 1199
Joined: Sun Dec 18, 2011 4:21 pm
Location: Minneapolis, MN

Re: Time stamps in SleepyHead with change to DST?

Post by MaxDarkside » Mon Mar 12, 2012 10:54 am

Pugsy wrote:my problem seems to be with SleepyHead Beta version and began before the switch to DST.
Yes. I have a block of time, from Jan 14 to Feb 7 in the Overview chart where my sleep times are double. Before and after that, up to last night, are correct.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS-50E Oximeter, Zeo Bedside, Software: Comm'l grade AI analytics server & tools & SleepyHead
Do or Die... Sleep Apnea killed me, but I came back. Click for my story
Please visit my My Apnea Analytics blog. Maybe we can help each other.
54 yrs, 6' 1", 160->172 lbs

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

Re: Time stamps in SleepyHead with change to DST?

Post by Pugsy » Mon Mar 12, 2012 12:10 pm

MaxDarkside wrote:Yes. I have a block of time, from Jan 14 to Feb 7 in the Overview chart where my sleep times are double. Before and after that, up to last night, are correct
Did you do anything to fix it or did it sort itself out?
So far...S9 machine reboot...no help. Tried that yesterday before last night's sleep.
Reinstall of Beta SleepyHead...no help.
SH 0.8.8....still correct...with a fresh install of it...so I assume the data is correct on the card but SH is reading it wrong. Reported EPAP is also wrong with Beta SH (up till this point it had been correct). And again 0.8.8 is reporting accurately.

This is the first time in all the versions of SH that I have had whacko data.

_________________
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
MaxDarkside
Posts: 1199
Joined: Sun Dec 18, 2011 4:21 pm
Location: Minneapolis, MN

Re: Time stamps in SleepyHead with change to DST?

Post by MaxDarkside » Mon Mar 12, 2012 12:41 pm

Pugsy wrote:Did you do anything to fix it or did it sort itself out?
I *think* I purged SH's cache of data on disk using the SH menu options and reloaded off the SD card, but ended up with the same thing. Maybe I should try that again...

Gets SD card...
Backs up Sleepyhead cached data (C:\Users\[usernamehere]\Documents\SleepyHeadData on Win 7 64 bit)
Starts Sleepyhead & selects user...
Selects "Data\Advanced\Purge CPAP Data\All Data for Current CPAP machine..." from Sleepyhead menu, clicks Yes...
SleepyHead resets, offers to re-select user, selects user...
(no data in SleepyHead)
Inserts SD card...
Clicks Import button, Usual Location...
(data imports.........)
All data seems correct EXCEPT last night (18 hrs, 10 min sleep)

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS-50E Oximeter, Zeo Bedside, Software: Comm'l grade AI analytics server & tools & SleepyHead
Do or Die... Sleep Apnea killed me, but I came back. Click for my story
Please visit my My Apnea Analytics blog. Maybe we can help each other.
54 yrs, 6' 1", 160->172 lbs

ohwhatanight
Posts: 93
Joined: Sat Feb 18, 2012 5:56 pm
Location: Ohio

Re: Time stamps in SleepyHead with change to DST?

Post by ohwhatanight » Mon Mar 12, 2012 1:06 pm

I fell asleep while reading without my mask until 2:30 am that night, so that took care of that problem for me!!

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

Re: Time stamps in SleepyHead with change to DST?

Post by Pugsy » Mon Mar 12, 2012 1:16 pm

MaxDarkside wrote:I *think* I purged SH's cache of data on disk using the SH menu options and reloaded off the SD card
No joy. Tried the purge thing. Ended up with same whacko sleep hours and the EPAP pressure bug.

Wonder what would happen if I try a new blank SD card tonight? Guess it wouldn't hurt anything to try.

_________________
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
robysue
Posts: 7520
Joined: Sat Sep 18, 2010 2:30 pm
Location: Buffalo, NY
Contact:

Re: Time stamps in SleepyHead with change to DST?

Post by robysue » Mon Mar 12, 2012 1:28 pm

For what it's worth,

When I've tried loading my old S9 data from Fall 2010 into SH 0.9, I can load up to a specific data (don't remember exactly which one) and everything looks hunky-dory. But once I load data that contains that date, things go whacky---both the the newly uploaded data and the [/i]previously[/i] uploaded RESMED data. And part of that wackiness includes the machine thinking I slept twice as long as I did.

I've not run into that particular problem with the PR System One data. And fortunately, once I corrupt the S9 data, it doesn't seem to bother the System One data.

On the System One, I have random days that SH shows each event twice, and hence the AHI is twice as high as it should be. I've reported the problem to Mark. It's not a big issue, but it's also one he was not able to recreate. I owe him some data once I get the time and once he's back in programming mode.

_________________
Machine: DreamStation BiPAP® Auto Machine
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: PR System DreamStation and Humidifier. Max IPAP = 9, Min EPAP=4, Rise time setting = 3, minPS = 3, maxPS=5

User avatar
MaxDarkside
Posts: 1199
Joined: Sun Dec 18, 2011 4:21 pm
Location: Minneapolis, MN

Re: Time stamps in SleepyHead with change to DST?

Post by MaxDarkside » Mon Mar 12, 2012 1:36 pm

As an aside, I've looked inside the EDF files created by ResMed using EDF file decoding libraries and also created an interface to our software in a similar concept to what Mark has done for SleepyHead and it's not a simple thing. Add to that the nightmare of date/time formats, time zones, DST, etc. that one in the software industry confronts and I am not at all surprised by this. Date/Times and proper stamping of data is not trivial.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS-50E Oximeter, Zeo Bedside, Software: Comm'l grade AI analytics server & tools & SleepyHead
Do or Die... Sleep Apnea killed me, but I came back. Click for my story
Please visit my My Apnea Analytics blog. Maybe we can help each other.
54 yrs, 6' 1", 160->172 lbs

User avatar
robysue
Posts: 7520
Joined: Sat Sep 18, 2010 2:30 pm
Location: Buffalo, NY
Contact:

Re: Time stamps in SleepyHead with change to DST?

Post by robysue » Mon Mar 12, 2012 1:40 pm

MaxDarkside wrote:As an aside, I've looked inside the EDF files created by ResMed using EDF file decoding libraries and also created an interface to our software in a similar concept to what Mark has done for SleepyHead and it's not a simple thing. Add to that the nightmare of date/time formats, time zones, DST, etc. that one in the software industry confronts and I am not at all surprised by this. Date/Times and proper stamping of data is not trivial.
'Tis true that proper timestamps are much more complex than meets the eye.

Right now I can live with the problem. But I did want to know if others were having the same problem (seems they are) or if it was just my crazy EeePC with the nonstandard graphics card, which is known to have problems with SH. (And those problems are definitely caused by my non-standard graphics card.)

_________________
Machine: DreamStation BiPAP® Auto Machine
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: PR System DreamStation and Humidifier. Max IPAP = 9, Min EPAP=4, Rise time setting = 3, minPS = 3, maxPS=5

User avatar
squid13
Posts: 2301
Joined: Fri Jul 15, 2011 3:47 pm
Location: Pensacola, FL

Re: Time stamps in SleepyHead with change to DST?

Post by squid13 » Wed Mar 14, 2012 9:54 am

I had to go back to SleepyHead version 8.8 in order to get it to read right. After I set my clock for DST it started showing 2 sessions in the detail session and my events were double showing 2 nights instead of one. I removed it using Revo Uninstaller and purged my registry of anything that said sleepyhead. Installed the latest version and still had the same problem. uninstalled again and purged the registry and installed 8.8 and all is well.

_________________
Machine: ResMed AirCurve 10 ASV Machine with Heated Humidifier
Mask: Evora Full Face Mask - Fitpack
Additional Comments: AirCurve 10 ASV, Oscar V1.0.1-r-1
US Navy Retired 1973,AirCurve 10 ASV, Mode: ASV Auto, Min EPAP: 7.2, Max EPAP: 15.0, Min PS:4.0, Max PS: 15.0, Mask ResMed Airtouch F20, Backup: (2) AirCurve 10 ASV