SleepyHead 0.9.1 Official Beta Release

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: Any way to add redline to Leaks Graph?

Post by archangle » Mon Jan 23, 2012 11:26 am

jedimark wrote:Ah okay, I get what you mean now. That's the magic value where the ResMed machine can't counter the leaks by altering the pressure accordingly..
The idea that it's 24 liters/minute unintentional leak is intriguing. It would seem that the machine would only really care about the total leak. The intentional leak varies greatly with pressure and the individual mask, so an unintentional leak rate of 24 varies all over the place in terms of total leak.

I guess 24 is just a worst case number used for convenience, not a "real" number that's valid in all cases. i.e. It can always keep up with 24, so let's just use that number.

Either way, if that's the spec, SleepyHead should probably stick with it.

Does Respironics have a similar number?

_________________
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.

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

Re: SleepyHead 0.9.1 Official Beta Release

Post by Pugsy » Mon Jan 23, 2012 11:43 am

archangle wrote:Does Respironics have a similar number?
No, we are never given a hard number. Respironics machines report total leak and we are only told "Large Leak" with no mention as to what Large leak is defined as. From my past experience leak seems to need to be around 85 to 90L/Min Total Leak before the machine will flag a Large Leak. I have had leaks hit 80 L/min and no Large Leak flag. I have hit 90 L/min and have a large leak flag. It is hard to see just when the cut off line might be. I had maximum leak one night of 84 L/min and no large leak flag.

_________________
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
blakepro
Posts: 507
Joined: Thu Oct 08, 2009 1:26 pm
Location: Utah

Re: SleepyHead 0.9.1 Official Beta Release

Post by blakepro » Mon Jan 23, 2012 6:05 pm

I have to hand it to you, this open source program looks amazing and it looks like you are doing a fantastic job with it.

I was wondering if you could answer a few questions I have about it though..

I just got through formatting my hard drive and clean installing windows 7 on my 64 bit rig and I'm being incredibly selective about what I install on it this time. I've had terrible experiences with various programs throwing files all over the place in the system, making registry edits and then being impossible to fully clean / remove. The worst instance was several failed attempts to install Encore Pro 2. It created several start up processes and various SQL databases and other things that I was never fully able to clean from the system.

Anyway, I was wondering if you could share some info about what the installer does when creating the program on your windows system. I've read the whole thread and it sounds like it does at least the following
- Creates a folder and files in the Program Files (x86) folder
- Creates a listing in the windows Add/Remove program directory
- Creates a folder in the My Documents area for storing cpap data?

Is there anything else it does? Like alter the registry or change file type associations or any thing?

I'm sorry to be so inquisitive, I'm just being hyper vigilant with this new build of windows on my computer.

Also, I'm fine with bugs and stuff, so long as they only affect the program in question and not the computer. I know its impossible to predict any bugs, but do you anticipate that this program has any capability to mess anything up on the computer that couldn't be resolved by a reboot?

I think thats all of my questions for now. I hope they are not offensive in anyway, I'm thrilled to have an alternative to the official products and am actually quite anxious to download and give it a try.

Thanks for your time.
-Blake

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

Re: SleepyHead 0.9.1 Official Beta Release

Post by jedimark » Mon Jan 23, 2012 11:19 pm

It sounds like a bad experience with windows has made you a little paranoid..
But there is nothing wrong with a little healthy paranoia.. especially where Windows is concerned..
blakepro wrote:I have to hand it to you, this open source program looks amazing and it looks like you are doing a fantastic job with it.

I was wondering if you could answer a few questions I have about it though..

I just got through formatting my hard drive and clean installing windows 7 on my 64 bit rig and I'm being incredibly selective about what I install on it this time. I've had terrible experiences with various programs throwing files all over the place in the system, making registry edits and then being impossible to fully clean / remove. The worst instance was several failed attempts to install Encore Pro 2. It created several start up processes and various SQL databases and other things that I was never fully able to clean from the system.

Anyway, I was wondering if you could share some info about what the installer does when creating the program on your windows system. I've read the whole thread and it sounds like it does at least the following
- Creates a folder and files in the Program Files (x86) folder
- Creates a listing in the windows Add/Remove program directory
- Creates a folder in the My Documents area for storing cpap data?

Is there anything else it does? Like alter the registry or change file type associations or any thing?
I think on top of that list does currently add a single registry key in the usual software place.. Should be under HKLM/Software/Jedimark/SleepyHead, but
I'm not entirely sure where Qt's QSettings unit puts this one. If I need QSettings any further, it all would automatically go under that key..

It's only for storing the window sizes on shutdown/restart, as it it really didn't like using my XML Preferences engine to do that.. I never got a chance to revisit it to change the way this data was stored. :-/

It does not touch mime types or shell extensions.. (I loathe non-content related apps that do)
I'm sorry to be so inquisitive, I'm just being hyper vigilant with this new build of windows on my computer.

Also, I'm fine with bugs and stuff, so long as they only affect the program in question and not the computer. I know its impossible to predict any bugs, but do you anticipate that this program has any capability to mess anything up on the computer that couldn't be resolved by a reboot?
Inside a computers memory, Apps can only crash their own process space.. which is created and destroyed each time it's run.. There is no way to write outside of this area.
There are always a few rare exceptions to this, but in the majority of cases (nowdays) it takes some serious programming skill and quite a lot of malicious intention to get there.. (and this only usually works on poorly configured systems)

On disk, apps are bound by write permissions. SleepyHead only writes files to the SleepyHeadData folder under the current users "My Documents" folder indentified by windows, and it's folder under Program Files directory when you install an update via the auto-updater (which currently borks without admin privileges.. fixing this is still on the todo list..)

SleepyHead source code is online for inspection, and can be reviewed by anyone.. that's the beauty of open-source.
I think thats all of my questions for now. I hope they are not offensive in anyway, I'm thrilled to have an alternative to the official products and am actually quite anxious to download and give it a try.

Thanks for your time.
-Blake
No worries..
I only write this because the commercial stuff is sucky quality and is in-affordable

_________________
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
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: Any way to add redline to Leaks Graph?

Post by jedimark » Tue Jan 24, 2012 12:45 am

archangle wrote:
jedimark wrote:Ah okay, I get what you mean now. That's the magic value where the ResMed machine can't counter the leaks by altering the pressure accordingly..
The idea that it's 24 liters/minute unintentional leak is intriguing. It would seem that the machine would only really care about the total leak. The intentional leak varies greatly with pressure and the individual mask, so an unintentional leak rate of 24 varies all over the place in terms of total leak.

I guess 24 is just a worst case number used for convenience, not a "real" number that's valid in all cases. i.e. It can always keep up with 24, so let's just use that number.

Either way, if that's the spec, SleepyHead should probably stick with it.

Does Respironics have a similar number?
Well, that technically makes it the maximum unintentional leak the machine can reliably counter.. Outside of this it would need a jet turbine to keep up, and the flow waveform detected would probably be too low resolution to work with..

Whatever the case, I can see why it's a constant value..

Edit: I doubt P-Respironics can work well over that value either.. from the unintentional leaks perspective - and I don't feel SH can yet reliably calculate yet these from Total Leaks. (I freely admit I need help on this one, hence the dedicated thread for it.. Despite being a programmer, my maths skills in this area aren't all that great. My automated statistical analysis method in current source version does not (yet) appear to be holding up.. :-/)

_________________
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
blakepro
Posts: 507
Joined: Thu Oct 08, 2009 1:26 pm
Location: Utah

Re: SleepyHead 0.9.1 Official Beta Release

Post by blakepro » Tue Jan 24, 2012 3:16 am

jedimark wrote: No worries..
I only write this because the commercial stuff is sucky quality and is in-affordable
Thanks a million, and thanks for taking the time to resolve my concerns. I really appreciate it. I'm going to install sometime this week.

skippyinspace
Posts: 1
Joined: Tue Jan 24, 2012 3:08 pm

Re: SleepyHead 0.9.1 Official Beta Release

Post by skippyinspace » Tue Jan 24, 2012 3:17 pm

ok have dowloaded 0.9.2

Its the first time I have uploaded any data I'm getting confused about the reading in AHI as it shows every day as AHI=0

Im using a resmed S9

leaks is showing constant -1.20

other data looks right.

Software problem or problem with my machine

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

Re: SleepyHead 0.9.1 Official Beta Release

Post by Pugsy » Tue Jan 24, 2012 3:25 pm

skippyinspace wrote:Its the first time I have uploaded any data I'm getting confused about the reading in AHI as it shows every day as AHI=0
ResMed machines have been known to get "stuck" reporting a certain number.
Try unplugging your machine from electric source...then plug it back in. This forces the firmware in the machine to reboot...sort of like rebooting your computer when it gets cobwebs or acts up.

Then sleep tonight...check your data tomorrow morning and see if it changed. If it did...you know the answer. If it did not...probably should check with your DME about it.

You will have to sleep with it though...rebooting doesn't change the prior reports..only subsequent ones.

_________________
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
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead 0.9.1 Official Beta Release

Post by jedimark » Tue Jan 24, 2012 5:18 pm

skippyinspace wrote:ok have dowloaded 0.9.2

Its the first time I have uploaded any data I'm getting confused about the reading in AHI as it shows every day as AHI=0

Im using a resmed S9

leaks is showing constant -1.20

other data looks right.

Software problem or problem with my machine
Your machine isn't by any chance one that only records compliance data? (sounds likely by all AHI's being 0) (Edit: But then why are you seeing the other data. gah.. I'm too foggy.. must be the next one then)

Also, some "foreign language" S9's record different codes.. So far SleepyHead only supports US English, German & French machines.. (It's easy adding support, I just need to see some of the SD card data)

_________________
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
Starlette
Posts: 1728
Joined: Mon Feb 08, 2010 9:30 pm
Location: Denver, CO

Re: SleepyHead 0.9.1 Official Beta Release

Post by Starlette » Tue Jan 24, 2012 8:28 pm

Mark.

While I'm thinking of it. I've noticed some calendar dates are in bold while using apap. What caused that? No dates are bolded while I was using cpap. Curious. If you're wondering what I'm asking about do a search on my name one of my recent posts have a copy of what I'm asking about.

Thanks.
Starlette

_________________
MachineMask
Additional Comments: Silent Nite Dental Appliance

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

Re: SleepyHead 0.9.1 Official Beta Release

Post by jedimark » Tue Jan 24, 2012 8:59 pm

Starlette wrote:Mark.

While I'm thinking of it. I've noticed some calendar dates are in bold while using apap. What caused that? No dates are bolded while I was using cpap. Curious. If you're wondering what I'm asking about do a search on my name one of my recent posts have a copy of what I'm asking about.

Thanks.
Starlette
SleepyHead's calendar color codes..

black is day with no data.
black (bold) is a day with just journal notes.
blue is just CPAP
blue (bold) has CPAP with journal notes, weight, etc attached to the day
red just has Oximetry
red (bold) has Oximetry & CPAP
Zeo (SleepStage) still needs it's color code set properly.. it's some weird pink/purple color for now.

Color/themes changing ability will happen one day.. Just trying to make everything work properly first..

_________________
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
Starlette
Posts: 1728
Joined: Mon Feb 08, 2010 9:30 pm
Location: Denver, CO

Re: SleepyHead 0.9.1 Official Beta Release

Post by Starlette » Tue Jan 24, 2012 9:18 pm

Awesome. OK, thank you.

One more - What is multithreading?

_________________
MachineMask
Additional Comments: Silent Nite Dental Appliance

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

Re: SleepyHead 0.9.1 Official Beta Release

Post by jedimark » Tue Jan 24, 2012 9:31 pm

Starlette wrote:Awesome. OK, thank you.

One more - What is multithreading?
It only really effects importing.. It allows newer multi-core CPU's to process stuff faster, by doing more than one thing at a time.

It can sometimes be a little breaky.. Seems more so for macs lately..

_________________
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
Starlette
Posts: 1728
Joined: Mon Feb 08, 2010 9:30 pm
Location: Denver, CO

Re: SleepyHead 0.9.1 Official Beta Release

Post by Starlette » Tue Jan 24, 2012 10:02 pm

Thank you for responding Mark. Thank you.

_________________
MachineMask
Additional Comments: Silent Nite Dental Appliance

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

Re: SleepyHead 0.9.1 Official Beta Release

Post by DoriC » Tue Jan 24, 2012 10:11 pm

Mark, On my Statistic Page under Most Recent, Average Total Leaks and 95% Total Leaks both have 0 data,all the other data in that column is listed. The other columns,7 Days,30 Days, etc, all have data marked. I just switched from our PR to the S9 3 nights ago if that makes a difference. We're also using cpap with the S9 now.. Do I have to change something in Preferences? Thanks.

_________________
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