SleepyHead: Updated Version 0.7-4229 Alpha

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead: Free open-source software for the PR System One.

Post by jedimark » Sun May 29, 2011 7:30 pm

Damn.. The upload dodged up.. I re-uploaded the build.

You may need to shift click on it / clear browser cache/ whatever..

Sorry about 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
GumbyCT
Posts: 5778
Joined: Fri Sep 14, 2007 6:22 pm
Location: CT
Contact:

Re: SleepyHead: Free open-source software for the PR System One.

Post by GumbyCT » Sun May 29, 2011 7:55 pm

ok I think clearing the cache did it. I think Im back where I was at least

_________________
Humidifier: HC150 Heated Humidifier With Hose, 2 Chambers and Stand
Additional Comments: New users can't remember they can't remember YET!
BeganCPAP31Jan2007;AHI<0.5
I have no doubt, how I sleep affects every waking moment.
I am making progress-NOW I remember that I can't remember
;)
If this isn’t rocket science why are there so many spaceshots?
Be your own healthcare advocate!

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

Re: SleepyHead: Free open-source software for the PR System One.

Post by jedimark » Sun May 29, 2011 8:02 pm

Still not working?

_________________
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
Slinky
Posts: 11372
Joined: Wed Nov 01, 2006 3:43 pm
Location: Mid-Michigan

Re: SleepyHead: Free open-source software for the PR System One.

Post by Slinky » Sun May 29, 2011 8:04 pm

Dates:
Custom
One Week
One Month
By Mode
By Device
By Pressure Change (would be nice but not necessary)

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: PR SystemOne BPAP Auto w/Bi-Flex & Humidifier - EncorePro 2.2 Software - Contec CMS-50D+ Oximeter - Respironics EverFlo Q Concentrator
Women are Angels. And when someone breaks our wings, we simply continue to fly.....on a broomstick. We are flexible like that.
My computer says I need to upgrade my brain to be compatible with its new software.

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

Re: SleepyHead: Free open-source software for the PR System One.

Post by jedimark » Sun May 29, 2011 8:23 pm

Cool ideas Slinky

If you clicked on/selected By Mode/Device/Pressure change, what would you expect to be on the summary screen?

I take it By Mode you mean it to filter the results ..? They are easy to implement if thats what you mean.

By Device? (Do you mean by machine? if so that would require multiple machine data to be merged into one "Days" stream. A good idea but not possible just yet. Right now machines are separate entities, and hold their own list of Day information. I'm gonna need to think harder on that one when Oximeter stuff comes back into play. (I've already solved some of those issues in a previous version))

The last one intrigues me a bit.
For example, do you mean display a graph of Pressure averages for each different pressure value that has been used?

_________________
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
GumbyCT
Posts: 5778
Joined: Fri Sep 14, 2007 6:22 pm
Location: CT
Contact:

Re: SleepyHead: Free open-source software for the PR System One.

Post by GumbyCT » Sun May 29, 2011 8:31 pm

jedimark wrote:Still not working?
If you are talking to me....I am good, just ask around

_________________
Humidifier: HC150 Heated Humidifier With Hose, 2 Chambers and Stand
Additional Comments: New users can't remember they can't remember YET!
BeganCPAP31Jan2007;AHI<0.5
I have no doubt, how I sleep affects every waking moment.
I am making progress-NOW I remember that I can't remember
;)
If this isn’t rocket science why are there so many spaceshots?
Be your own healthcare advocate!

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

Re: SleepyHead: Free open-source software for the PR System One.

Post by archangle » Sun May 29, 2011 8:38 pm

jedimark wrote:I would like to get my hands on some M-Series data to compare the differences between it and System One.
M series uses a smart card. Unfortunately, the card doesn't show up as a disk, so I can't find the data.

I think there's some programs that will allow you to see the raw data files, but I haven't messed with them yet.

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

Re: SleepyHead: Free open-source software for the PR System One.

Post by jedimark » Sun May 29, 2011 8:53 pm

Just thinking about that merging machines issue.. It's easier than I first thought.. I just have to add another Day List that holds a List of machines with data sessions available on that day, keeping the Machine's own Day list as an index.

That would mean people who have changed machines could still look through their daily history without caring what machine the data is coming from. (Which was the orignal plan)

The other case, allowing someone to look at multiple peoples data is then handled through profiles (which is what it was designed for)

_________________
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: Free open-source software for the PR System One.

Post by jedimark » Sun May 29, 2011 8:56 pm

arch: Darn.. that's a shame...

If anyone finds out any more about the raw data stuff I'd like to know.

_________________
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
Slinky
Posts: 11372
Joined: Wed Nov 01, 2006 3:43 pm
Location: Mid-Michigan

Re: SleepyHead: Free open-source software for the PR System One.

Post by Slinky » Sun May 29, 2011 10:33 pm

jedimark wrote:Cool ideas Slinky

If you clicked on/selected By Mode/Device/Pressure change, what would you expect to be on the summary screen?
...
Custom = set the date or dates we want to look over
Mode = CPAP, Spontaneous, Auto (Resmed VPAP Auto choices)
Device - Resmed S8 Elite, S8 AutoSet Vantage, VPAP Auto; PR SystemOne Pro, PR S1 Auto, PR S1 BPAP, etc. etc. OR 2 of the same model PAPs differentiated by their serial number, i.e. defective device replaced by same model
Pressure = whenever you change your pressure setting; for instance IPAP 13, EPAP 8 to IPAP 14, EPAP 9, etc., etc.

And I'd like a spot on the main page to write in any therapy setting changes I made from time to time and a way to "mark" them so that I could easily find that day's/night's page of data.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: PR SystemOne BPAP Auto w/Bi-Flex & Humidifier - EncorePro 2.2 Software - Contec CMS-50D+ Oximeter - Respironics EverFlo Q Concentrator
Women are Angels. And when someone breaks our wings, we simply continue to fly.....on a broomstick. We are flexible like that.
My computer says I need to upgrade my brain to be compatible with its new software.

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

Re: SleepyHead: Free open-source software for the PR System One.

Post by jedimark » Sun May 29, 2011 11:28 pm

I've started with extending multiple machine support. Daily view is already done.. (I was almost there already.) So next release, you will be able to browse through all your cpap history as if it was one machine. I added an option in the View Menu to toggle displaying serial numbers in the Information Panel.. To lessen the confusion when the model numbers are the same.

Now I will start on making the summary stuff work with this.

I axed the Machine menu (it's no longer necessary this way).. I could add an list of machines beneath the Info Panel (daily tab) to jump between machines in history if anyone feels it's important?

In the place of Machine menu is now a Profiles menu... A temporary drop-down to select (& eventually create) profiles.

I'm not highly favouring the login screen idea, as this sucks badly in EncorePro. I personally like the idea being able to change profile at will without "logging out" (selecting a different group of machine data in the process).
I'm open to suggestions though.

I still need to decide what happens when someone tries to load someone else's data over the top, creating conflicting days with the same machine class (the classes are PAP, Oximeter, Sleepstage, Manual.) I'm figuring the best course of action is to raise an error message, and roll back and abort that entire import. (Which will force the user to create another profile for stuffing around in, and not trash their main profile)

Any thoughts..?

_________________
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
GumbyCT
Posts: 5778
Joined: Fri Sep 14, 2007 6:22 pm
Location: CT
Contact:

Re: SleepyHead: Free open-source software for the PR System One.

Post by GumbyCT » Mon May 30, 2011 4:04 am

jedimark wrote:I'm not highly favouring the login screen idea, as this sucks badly in EncorePro. I personally like the idea being able to change profile at will without "logging out" (selecting a different group of machine data in the process).
I'm open to suggestions though.
So be it. Sleep deprived people have troubles with memory as it is....what is it I was saying? O I agree, make it easy, no passwords are needed.
jedimark wrote:I still need to decide what happens when someone tries to load someone else's data over the top, creating conflicting days with the same machine class (the classes are PAP, Oximeter, Sleepstage, Manual.) I'm figuring the best course of action is to raise an error message, and roll back and abort that entire import. (Which will force the user to create another profile for stuffing around in, and not trash their main profile)

Any thoughts..?
An error msg should be sufficient.... "Did you mean to botch you data? Import aborted".

_________________
Humidifier: HC150 Heated Humidifier With Hose, 2 Chambers and Stand
Additional Comments: New users can't remember they can't remember YET!
BeganCPAP31Jan2007;AHI<0.5
I have no doubt, how I sleep affects every waking moment.
I am making progress-NOW I remember that I can't remember
;)
If this isn’t rocket science why are there so many spaceshots?
Be your own healthcare advocate!

User avatar
howkim
Posts: 482
Joined: Fri Mar 06, 2009 8:36 am
Location: South Florida

Re: SleepyHead: Free open-source software for the PR System One.

Post by howkim » Mon May 30, 2011 7:28 am

GumbyCT wrote:
archangle wrote:I've got an M series machine, so I think I can't use the program for now.

However, let me throw out a "Bravo!" for doing this.
It would be great if he could get the older machines to work with this SleepHead SW later. Hooraah!!
Oh, yeah!!!!

_________________
Machine: PR System One REMStar 60 Series Auto CPAP Machine
Additional Comments: Encore Basic Software; Pressure >7
Howkim

I am not a mushroom.

User avatar
howkim
Posts: 482
Joined: Fri Mar 06, 2009 8:36 am
Location: South Florida

Re: SleepyHead: Free open-source software for the PR System One.

Post by howkim » Mon May 30, 2011 7:30 am

jedimark wrote:I would like to get my hands on some M-Series data to compare the differences between it and System One.
I have PLENTY of data from my M Series Pro. How do I get it to you?

_________________
Machine: PR System One REMStar 60 Series Auto CPAP Machine
Additional Comments: Encore Basic Software; Pressure >7
Howkim

I am not a mushroom.

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

Re: SleepyHead: Free open-source software for the PR System One.

Post by jedimark » Mon May 30, 2011 8:18 am

Okay, an update.. I haven't pushed these online yet, I'm just letting you know the progress for now. I made some pretty major changes today under the hood.

I have completely reworked the way day objects (containing the CPAP sessions) are handled. The user profile (the top-most part of the program) now holds a day index too, as opposed to just having the machine record having access to this data..

What this means is, if you have data from several machines you've replaced over time, you don't have to change machine records to get to it. Just browse the date, and the program figures out the right machine. Previous data will be included in the summary report as if it was one machine.

The only catch is you can not have two PAP (CPAP/BIPAP/APAP/etc) machines using the same day in the one profile. If tried, the data importer will tell you that it's not possible and safely roll back the import. Supporting multiple peoples machines will require a separate profile each.

This now opens the way however, to have multiple machines of different types on the same day. Eg, Oximeter or Sleep Stage data. (when I get around to writing the loaders for them) I could also use a Machine object to track manual stuff, like tracking your weight, journal/notes, glucose measurements, etc..

I have activated the date range features in summary. As of now, it has 4 (radio button) ranges: Everything, Last Week, Last Month, and Custom.. Custom activates the two date entry boxes, defining the start and end of the range. "Everything" may need taming down in huge data sets.. It looks okay with a years worth of data.. I wouldn't want to push more than that (it will work, it will just look ugly)

It's stable enough for me to upload if anyone's game, I just haven't decided/not sure what to do with the Machine info in Summary tab, since technically there could be multiple machines now. I have just disabled it for now.

_________________
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