SleepyHead Qt v0.8 alpha

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
ameriken
Posts: 1294
Joined: Mon Jun 13, 2011 9:20 am
Location: Colorado

Re: SleepyHead Qt v0.8 alpha

Post by ameriken » Tue Jul 12, 2011 8:41 am

You're looking for ASV users? I use a Respironics ASV Advanced, however it is not the System One.
Thinking of quitting CPAP?

No problem, here's the first thing to do when you quit:


Advanced funeral planning. When you give up CPAP, you'll probably need it.

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 Jul 12, 2011 8:59 am

Well, ASV users whos machines have an SD card anyway.. I should be clear on that..

_________________
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
ameriken
Posts: 1294
Joined: Mon Jun 13, 2011 9:20 am
Location: Colorado

Re: SleepyHead Qt v0.8 alpha

Post by ameriken » Tue Jul 12, 2011 9:06 am

Yeah, I think it's the System One machines that have the SD's. I've got the smart card.
Thinking of quitting CPAP?

No problem, here's the first thing to do when you quit:


Advanced funeral planning. When you give up CPAP, you'll probably need it.

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

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Tue Jul 12, 2011 1:24 pm

jedimark wrote:
archangle wrote: It's "patterns of use" that I find useful. It tells me when during the day I'm sleeping and how often I get up at night, etc.
Not finished yet, but does this look ok?
(you can see the clipping of some entries at the top, not sure whether to just clip them, extend the graph or split the sessions into the next day.. clipping is the easiest option for now)
Image

I wonder who's data that could be?
Damn, you're good. I'm thinking that sessions that overflow should show the rest of the session on the next day's results. Sometimes after a bad night I may end up having a long session that starts before noon and ends after noon. If, for instance, I start an 8 hour session at 11 AM, I wouldn't want to "lose" the 7 hours from my "count."

How about splitting it between days and putting an up arrow above the line and a down arrow below the line when a session is split by the "day break?" I guess you could extend the session into an area with a grey background above or below to indicate a "continued" session.

I've thought about this question in general. How do you account for someone who isn't on a 24 hour schedule, or someone who is working 3rd shift, for instance? I don't really know the "correct" answer. For anyone who isn't fighting a "compliance" period, I guess it's not that big a deal, and we really shouldn't obsess about the counts without looking at the actual graphs. Having a user defined day breakpoint other than noon is a possibility, but doesn't solve 100% of the problems.

I see some potential differences from Encore on the use graphs. I don't know how important I think these are.

The Encore viewer colors the bars black for (I think) "large leak" or "mask off" conditions and something else for "machine on but no airflow" conditions. It also does red bars if 4 hours isn't met. I'm running some experiments right now to see what it does for various conditions.

EV does put "length of session" numbers in white on the bars. Useful, but takes up more space. You'd probably need bigger bars and perhaps a separate screen if you wanted to do this. I'm not sure whether or not it's worth it.

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

Window time display suggestion

Post by archangle » Tue Jul 12, 2011 1:30 pm

How about having a text display of the times for a window in the daily view? For instance, if I highlight and zoom into a time period, display "window start 11:23:16 end 11:27:26 duration 00:04:10?"

Or do it live with "Highlight start, end, duration" and/or "cursor time?"

_________________
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
BrianinTN
Posts: 435
Joined: Fri Mar 11, 2011 3:46 pm

Re: SleepyHead Qt v0.8 alpha

Post by BrianinTN » Tue Jul 12, 2011 2:53 pm

ameriken wrote:Yeah, I think it's the System One machines that have the SD's. I've got the smart card.
The above is correct. The only Respironics ASV users with a SD card would be ones who received theirs in the last month or so. All the rest of us are in smart card land, unfortunately.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: minEPAP=4, minPS=2

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 Jul 12, 2011 7:33 pm

BrianinTN wrote:
ameriken wrote:Yeah, I think it's the System One machines that have the SD's. I've got the smart card.
The above is correct. The only Respironics ASV users with a SD card would be ones who received theirs in the last month or so. All the rest of us are in smart card land, unfortunately.
Thanks for confirming this.

Maybe one day someone will open the SmartCard up, and Sleepyhead can do those machines too.

_________________
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
BrianinTN
Posts: 435
Joined: Fri Mar 11, 2011 3:46 pm

Re: SleepyHead Qt v0.8 alpha

Post by BrianinTN » Tue Jul 12, 2011 8:00 pm

jedimark wrote: Thanks for confirming this.

Maybe one day someone will open the SmartCard up, and Sleepyhead can do those machines too.
I spent a couple hours trying one day, to no avail. The drivers recognize it as a device, not a storage medium. I didn't have any luck finding a utility to bridge the gap, and surprisingly I didn't turn up any info about the API. Gotta love these closed, proprietary systems.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: minEPAP=4, minPS=2

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

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Tue Jul 12, 2011 8:02 pm

I seem to recall there was a program somewhere that would read the raw data off the smart card and save it as a file. cpapsomething.com. Does anyone else remember this?

Edit - This was "mycpap.org," which seems to be gone now.

_________________
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
Last edited by archangle on Tue Jul 12, 2011 8:11 pm, edited 1 time in total.
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
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 Jul 12, 2011 8:07 pm

archangle wrote: Damn, you're good. I'm thinking that sessions that overflow should show the rest of the session on the next day's results. Sometimes after a bad night I may end up having a long session that starts before noon and ends after noon. If, for instance, I start an 8 hour session at 11 AM, I wouldn't want to "lose" the 7 hours from my "count."

How about splitting it between days and putting an up arrow above the line and a down arrow below the line when a session is split by the "day break?" I guess you could extend the session into an area with a grey background above or below to indicate a "continued" session.

I've thought about this question in general. How do you account for someone who isn't on a 24 hour schedule, or someone who is working 3rd shift, for instance? I don't really know the "correct" answer. For anyone who isn't fighting a "compliance" period, I guess it's not that big a deal, and we really shouldn't obsess about the counts without looking at the actual graphs. Having a user defined day breakpoint other than noon is a possibility, but doesn't solve 100% of the problems.

I see some potential differences from Encore on the use graphs. I don't know how important I think these are.

The Encore viewer colors the bars black for (I think) "large leak" or "mask off" conditions and something else for "machine on but no airflow" conditions. It also does red bars if 4 hours isn't met. I'm running some experiments right now to see what it does for various conditions.

EV does put "length of session" numbers in white on the bars. Useful, but takes up more space. You'd probably need bigger bars and perhaps a separate screen if you wanted to do this. I'm not sure whether or not it's worth it.
I think wrap makes more sense too.. Extending the graph will take too much space, and there's no way I'd permanently consider hiding valid data. I will see if I can optionalize it between extending & wrapping, as extending is prettier of the two solutions. Perhaps alternating colours between sessions or days might make this clearer?

That graph shown above is all over the darn place. Shift workers and I have a fair bit in common, so it's part of my motivation to make sure they are not forgotten.

SleepyHead now has two modes to separate multiple sessions into days, one is a simple noon split like ResMed & Encore, and there is also my method, which is a little more complicated (noon split + combines close sessions, which works better for both shift workers and normal people.) <-- The new usage graph calculates it's own splits right now, which currently needs work...

The asvtest version has an the option in View Menu to change split methods.. You don't have to reimport to use it, you just have to exit & restart the app.
It's not technically that difficult to change the split time.. I'll see about adding a slider in preferences when that screen comes to life.

The Usage graph is still a little buggy, but at least it will be an active graph when it's finished.
I can make the session lengths show overlaid onto the bars when there is available space (ie, zoomed in).. The time@pressure graphs do this already.

Colourizing based on conditions is a neat idea, however it's not my goal to copy Encore.. It's not exactly designed well to begin with - how they charge for that crummy software is beyond me.

_________________
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: SleepyHead Qt v0.8 alpha

Post by jedimark » Tue Jul 12, 2011 8:29 pm

BrianinTN wrote:
jedimark wrote: Thanks for confirming this.

Maybe one day someone will open the SmartCard up, and Sleepyhead can do those machines too.
I spent a couple hours trying one day, to no avail. The drivers recognize it as a device, not a storage medium. I didn't have any luck finding a utility to bridge the gap, and surprisingly I didn't turn up any info about the API. Gotta love these closed, proprietary systems.

Could always claim copyright on every breath and then sue the for making illegal recordings..

_________________
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
Paper_Nanny
Posts: 430
Joined: Fri Apr 15, 2011 3:52 pm
Location: Southern Oregon

Re: SleepyHead Qt v0.8 alpha

Post by Paper_Nanny » Thu Jul 14, 2011 7:08 pm

jedimark wrote:Well, ASV users whos machines have an SD card anyway.. I should be clear on that..
Okay. I have a PR System One BiPAP ASV. Smart Card, yes, but alas, a not so smart person when itg comes to computer stuff. So, can someone give me step by step directions for what I need to do to be helpful with this project? I know it has all been explained somewhere, but I can't seem to find it clearly laid out, and that's what I need.

Deborah

_________________
Mask: FitLife Total Face CPAP Mask with Headgear
Humidifier: DreamStation Heated Humidifier
Additional Comments: DreamSTation DSX500
PR System One BiPAP Auto SV Advanced

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

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Thu Jul 14, 2011 8:21 pm

Paper_Nanny wrote:
jedimark wrote:Well, ASV users whos machines have an SD card anyway.. I should be clear on that..
Okay. I have a PR System One BiPAP ASV. Smart Card, yes, but alas, a not so smart person when itg comes to computer stuff. So, can someone give me step by step directions for what I need to do to be helpful with this project? I know it has all been explained somewhere, but I can't seem to find it clearly laid out, and that's what I need.

Deborah
System One machines have an SD card. Older machines had smart cards. SD cards are about the size of a guitar pick. Smart cards are credit card sized.

Only the SD cards will work with SleepyHead at this time.

_________________
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
Paper_Nanny
Posts: 430
Joined: Fri Apr 15, 2011 3:52 pm
Location: Southern Oregon

Re: SleepyHead Qt v0.8 alpha

Post by Paper_Nanny » Thu Jul 14, 2011 9:26 pm

archangle wrote:
Paper_Nanny wrote:
jedimark wrote:Well, ASV users whos machines have an SD card anyway.. I should be clear on that..
Okay. I have a PR System One BiPAP ASV. Smart Card, yes, but alas, a not so smart person when itg comes to computer stuff. So, can someone give me step by step directions for what I need to do to be helpful with this project? I know it has all been explained somewhere, but I can't seem to find it clearly laid out, and that's what I need.

Deborah
System One machines have an SD card. Older machines had smart cards. SD cards are about the size of a guitar pick. Smart cards are credit card sized.

Only the SD cards will work with SleepyHead at this time.
Yes, my new machine is a System One BiPAP ASV with the little SD card. So, I am on step three of my instructions for How to Help jedimark. Waiting for assistance before moving on to next step.

Step 1: Identify machine type- ASV? If yes, continue.
Step 2: Identify data card type- SD? If yes, continue.
Step 3. Ask for assistance to get clear instructions on what to do next. Received? If yes, continue.

Deborah

_________________
Mask: FitLife Total Face CPAP Mask with Headgear
Humidifier: DreamStation Heated Humidifier
Additional Comments: DreamSTation DSX500
PR System One BiPAP Auto SV Advanced

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 Jul 14, 2011 10:07 pm

Paper_Nanny wrote: Yes, my new machine is a System One BiPAP ASV with the little SD card. So, I am on step three of my instructions for How to Help jedimark. Waiting for assistance before moving on to next step.

Step 1: Identify machine type- ASV? If yes, continue.
Step 2: Identify data card type- SD? If yes, continue.
Step 3. Ask for assistance to get clear instructions on what to do next. Received? If yes, continue.

Deborah
Hey, I do have to sleep and have a life sometimes..

This software is a developer preview.. Anyone is welcome to try it, but please be aware it's kind of meant for people who can find their way around developer previews, willing to accept the fact it's unfinished and buggy, and know how to report bugs or have very specific suggestions for improving parts of the software. (Generalized suggestions don't help me much, I'm as foggy/headachy as hell from CFS/FM + OSA)

Anyway.. To get SleepyHead up and running on windows is quite simple. (On a Mac, you must be a fairly advanced computer user who can work Xcode & gcc - See BreathJimbo's Post (and the follow ups to that about the Qt SDK))

For windows:
Download the software, save it somewhere (like to your Desktop)
http://sourceforge.net/projects/sleepyh ... e/download

Run it, sleepyhead should start.. if not your computer is too old or broken, or a previous "SleepApp" folder (Sleepyheads database storage location) is there causing it to break

Click File menu, then click import (Or just click the big import button on the right of the welcome tab)

Insert your SD card, select the SD card's drive letter or the location of where you've copied the SD card data to.. (Either at the card or the P-Series folder, preferably the card itself)

If nothing happens, you didn't select the right drive.. Should see a progress bar move down in the applications status bar if all goes well. (One of these days I'll add a message box to say the wrong location was selected.. I keep reminding myself, but I keep forgetting 5 seconds later..)

If it during loading, or immediately after loading please let me know.. (There currently may be a crash if you have an exceptionally large session file)

Once it's loaded the data should show up in the Daily tab.. click on the days to look at stuff, and try different mouse buttons, and dragging with them on the graphs.

_________________
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