SleepyHead Qt v0.8 alpha

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Qt v0.8 alpha

Post by Breathe Jimbo » Tue Sep 06, 2011 12:21 am

To make sure that any bugs you find are addressed and not overlooked, please report bugs here:

http://sourceforge.net/tracker/?group_i ... id=2089181

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

dbrown2
Posts: 1
Joined: Sat Sep 03, 2011 7:14 am

Re: SleepyHead Qt v0.8 alpha

Post by dbrown2 » Tue Sep 06, 2011 6:57 pm

Hello,

I am new to the cpap world. Just diagnosed a week ago. I have been placed on 9cm and I have the System One 550p auto with A Flex machine with the humidifier. I have been using (each day, call me a nerd) your SleepyHead v.8.4 and really enjoy it. I don't write in C, but develop web applications and Flex/Air apps. I am sure you have put in a lot time on this app. Do you mind telling me who you are reading the data files? From the looks of them they are hex. Am I correct?

On a side note: Since the Aug 30th to Sept 5th. My AHI has been the following:
6.05, 7.09, 10.43, 6.07, 4.59, 3.01, 7.04
And my Leak has been as high as 60.3 and the lowest of 26.7 (not sure what that means)
I have read that I need a AHI of less than 5 to be properly treated, is that correct?


David

_________________
Mask: Mirage™ FX Nasal CPAP Mask with Headgear
Additional Comments: Also Use SleepHead v0.8

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Tue Sep 06, 2011 7:32 pm

dbrown2 wrote:Hello,

I am new to the cpap world. Just diagnosed a week ago. I have been placed on 9cm and I have the System One 550p auto with A Flex machine with the humidifier. I have been using (each day, call me a nerd) your SleepyHead v.8.4 and really enjoy it. I don't write in C, but develop web applications and Flex/Air apps. I am sure you have put in a lot time on this app. Do you mind telling me who you are reading the data files? From the looks of them they are hex. Am I correct?

On a side note: Since the Aug 30th to Sept 5th. My AHI has been the following:
6.05, 7.09, 10.43, 6.07, 4.59, 3.01, 7.04
And my Leak has been as high as 60.3 and the lowest of 26.7 (not sure what that means)
I have read that I need a AHI of less than 5 to be properly treated, is that correct?


David
Hi David, The PRS1 records its data in a binary format.

In the docs directory of the source code (available from the git repository at sourceforge), there is a file called "PRS1 Data Format.odt" where I have documented it.

Mike Hoolehan (cpapdork), myself, and several others around this forum were responsible for breaking the format open..

It takes a while to get a good handle on things.. Regularly tracking your progress and getting Leaks under control is the key. Some masks types are more prone to leakage than others. The trick is to get the leak min and max values as close as possible, with a nice "flat" line..

The best target to aim for is an AHI of obviously zero, however this is fantasy for quite a few of us. Under 5 is generally good, and most doctors are satisfied with their patients achieving this.

I'm not really the best source for advice on what the numbers actually mean, I just write the software.. There are plenty of others on this forum have way more experience mastering CPAP usage and interpreting the numbers. I'm still struggling to get my stats under control myself. :-}

_________________
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
Bookbear
Posts: 1154
Joined: Tue Apr 25, 2006 7:47 pm
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by Bookbear » Tue Sep 06, 2011 7:40 pm

dbrown2 wrote:Hello,

I am new to the cpap world. ...
On a side note: Since the Aug 30th to Sept 5th. My AHI has been the following:
6.05, 7.09, 10.43, 6.07, 4.59, 3.01, 7.04
And my Leak has been as high as 60.3 and the lowest of 26.7 (not sure what that means)
I have read that I need a AHI of less than 5 to be properly treated, is that correct?
Yes, 5 or under is considered 'adequately treated' (the assumption being that nearly everyone has at least a few apneas during any given night).

Each mask has a stated 'vent rate' or 'vent flow', so depending on your mask, leaks of 26.7 might be normal and 60 way too high. Excessive leaks negate the treatment your machine is striving to provide, but every machine can cope with the normal and average leak (vent) rate. The manual that came with your mask will list the normal vent rate at a given pressure. Anything a bit over that is OK, but excessive leak numbers will lead to higher AHI's. So will mouth breathing, unless you have a full face mask.

Getting the mask right (comfortable, low leaks) is ESSENTIAL to good cpap therapy. Imho, it is the single most important thing, and also the most difficult to pin down. With only a a few nights under your belt, it's hard to make a judgement, but it looks as if you might have leak issues or mouth breathing issues. Get that under control, and your AHI numbers may come down.

You might also need a higher (or, ironically, a lower) pressure. You have a good auto machine, but it sounds as if they have set it up as a straight cpap at 9cm/H2O. 9 is at the low end of the usual pressure range, so you probably don't need a lower pressure. Once the leaks are under control, you might consider switching to apap mode and setting the lower pressure to 9 and the upper pressure at 20 for a week or so, and see where your 90% pressure is. Make that number your new minimum pressure and watch that for a week or so. Always give any changes you make at least a week so you can see trends rather than just one or two night's data.

Remember too that position can strongly affect apneas. Nearly all patients have more apneas on their backs than on their sides.

Finally, it will help others trying to give help if you post your equipment in your signature. You can do this through the user control panel at the top left of the screen.

Good luck!

_________________
MachineMask
Additional Comments: Avg. AHI .4
Getting old doesn't make you 'forgetful'. Having too damn many things to remember makes you 'forgetful'.

User avatar
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead Qt v0.8 alpha

Post by Otter » Wed Sep 07, 2011 7:25 pm

I just noticed that SH is adding 10 seconds to all events, not just the hypopneas. I was a bit alarmed at the cluster of 25 second CAs from last night until I realized what was going on.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Wed Sep 07, 2011 7:49 pm

Otter wrote:I just noticed that SH is adding 10 seconds to all events, not just the hypopneas. I was a bit alarmed at the cluster of 25 second CAs from last night until I realized what was going on.

It's just the hypopneas that were out? I thought it was doing it to all of them on resmed?

_________________
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
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead Qt v0.8 alpha

Post by Otter » Thu Sep 08, 2011 1:27 am

jedimark wrote:It's just the hypopneas that were out? I thought it was doing it to all of them on resmed?
Yeah, just the hypopneas. That's what's so wonky about how the S9 logs stuff. For hypopneas, it logs time over the 10 second limit. For both OA and CA, it logs total time, including the first 10 seconds.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Thu Sep 08, 2011 1:41 am

Otter wrote:
jedimark wrote:It's just the hypopneas that were out? I thought it was doing it to all of them on resmed?
Yeah, just the hypopneas. That's what's so wonky about how the S9 logs stuff. For hypopneas, it logs time over the 10 second limit. For both OA and CA, it logs total time, including the first 10 seconds.
Righto.. I shall change it in the source to just do the Hyponeas.

_________________
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

ClayL
Posts: 369
Joined: Mon Feb 12, 2007 8:45 am
Location: Palisade, CO now, was Full time in a motor home for 12 years- Anywhere USA

Re: SleepyHead Qt v0.8 alpha

Post by ClayL » Fri Sep 09, 2011 10:12 am

I downloaded Sleepyhead today (v0.8.4 Build date Sep 4 2011 16:19:27). I am running Win7 Home Premium 64 bit.

I just got my new REMstar Auto A Flex System One machine and ran EncorePro to look at the first nights data. It worked fine.

In Sleepyhead when I try to import data from the SD card I get a message saying " Couldn't find any machine data at this location". I have tried pointing to the the top level folder - P-series, middle level -P04067931D879 and the bottom level folder - p0 .
The SD works okay with Encore Pro and I can see files in the p0 folder.
Am I doing something un-intelligent?
Respironics DreamStation
Pressure = 11.5 min 14.5 max
C-Flex = 1

Dreamwear FF

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Fri Sep 09, 2011 11:46 am

ClayL wrote:I have tried pointing to the the top level folder - P-series, middle level -P04067931D879 and the bottom level folder - p0 .
Point to the SD card itself. i.e. the parent of the P-series folder.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

ClayL
Posts: 369
Joined: Mon Feb 12, 2007 8:45 am
Location: Palisade, CO now, was Full time in a motor home for 12 years- Anywhere USA

Re: SleepyHead Qt v0.8 alpha

Post by ClayL » Fri Sep 09, 2011 3:42 pm

Thanks! It works now.

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Fri Sep 09, 2011 8:31 pm

Ugh.. I've got to fix this.. It works fine on Linux.

That is so annoying.. I think it has something to do with Qt messing up with the "/" path seperator. It's supposed to convert the windows "\" chars automatically.

The native file browser on windows is dumb. I had to change to it, because Qt's pretty one is broken on two platforms.

_________________
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

ThomasMcKean
Posts: 252
Joined: Thu Jan 29, 2009 1:14 am
Location: Heart of the Blue Ridge
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by ThomasMcKean » Sat Sep 10, 2011 1:01 am

Ermmmm....

I am a bit lost here? Is this program reporting centrals or hypopnias in accurately? What is with the additional 10?
The Honorable Thomas A. McKean, HOKC
Author, Soon Will Come the Light: A View From Inside the Autism Puzzle
http://www.thomasamckean.com http://www.gallery.thomasamckean.com

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Sat Sep 10, 2011 3:22 am

ThomasMcKean wrote:Ermmmm....

I am a bit lost here? Is this program reporting centrals or hypopnias in accurately? What is with the additional 10?

I'm just listening to what's being said here..

Whatever the case, ResMed S9 EDF data is definitely reporting some hypopneas under 10s in duration.

Whether or not it's subtracting 10, we don't know for sure.. If any one has some more solid data, it would be very appreciated..

Edit: Only hypopneas are being adjusted.

_________________
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
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sat Sep 10, 2011 12:42 pm

jedimark wrote:Ugh.. I've got to fix this.. It works fine on Linux.

That is so annoying.. I think it has something to do with Qt messing up with the "/" path seperator. It's supposed to convert the windows "\" chars automatically.

The native file browser on windows is dumb. I had to change to it, because Qt's pretty one is broken on two platforms.
For what it's worth, I've noticed this:

1) Go into the parent directory of P-series. You'll see P-series in the list.

2) Do NOT highlight P-series

3) Click "Select Folder".

This will successfully read the data from the card.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.