SleepyHead: Updated Version 0.7-4229 Alpha

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
RelevolffoMb

attorneys in family law

Post by RelevolffoMb » Thu Jun 02, 2011 12:54 am

nice put up I actually desire it extremely a whole lot continue to keep up the great job equally find out more about my site if you have possess a opportunity san diego family law

Isaacrn
Posts: 36
Joined: Fri May 27, 2011 12:36 pm

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

Post by Isaacrn » Thu Jun 02, 2011 1:12 am

Im sorry if I miss this, but is there a way to put a launching icon on the desktop? What im doing now is putting the download file on the desktop, and when i click on it it goes through the open file security warning

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 » Thu Jun 02, 2011 1:55 am

Breathe Jimbo wrote:
jedimark wrote:I currently have no way of building and testing on Mac
I'm not a programmer, but I am able to follow instructions to build from source code (especially if the source can use an existing MacPorts installation, which I have for another program that I build for Mac OS X). Of course, since I use a ResMed, it would not make much sense to do so right now.
Your welcome to try.. I can't help too much with the actual Mac details.. I've only ever used GNU, UNIX & Windows stuff for development. The only Mac's I ever had where system7-9 or running Ubuntu/YellowDog.

You need to download git repository tool (have no idea where on the mac), wx Development libraries (http://www.wxwidgets.org), and currently the Code::Blocks IDE (http://www.codeblocks.org) to build it.. You will need Apples compiler and toolchain (via Xcode).. <-- That's the extent of my knowledge on the mac build subject.. There will definitely be a few other steps.

The standard git command to pull the source code from the repository (used in a Terminal)

Code: Select all

git clone git://sleepyhead.git.sourceforge.net/gitroot/sleepyhead/sleepyhead
The foundation of sleepyhead is machine independent. It doesn't care if your machine is a boiled fruitcake with logging capabilities. (ok, that's definitely a slight exaggeration, but you get my drift)
So supporting a new machine like the S9 is just a case of writing one loader/import module. (And a bit of minor cleaning up in the display bits where i've been sloppy with PRS1 only stuff)

Now I've knocked the major Mac stumbling block out of the way, TSchultz (Troy), who has Mac development skills and actually has a ResMed can start on adding it. (He's probably got other stuff he wants to do first though)
I've got a semi working S9 importer done from a previous version I should probably drag out, patch it up and leave as a stub in the meantime. Maybe.. ?

I don't want to disappoint ResMed S9 users with a half working product though.. your already used to slightly better quality software than us PRS1 users (am I allowed to admit that? Encore's not a very high bar to beat!) It'd probably be best waiting till the S9 support is ready for testing.. Unless your really die hard and like apps that crash randomly, in which case, go ahead and follow git for the changes..

_________________
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
Pugsy
Posts: 65001
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

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

Post by Pugsy » Thu Jun 02, 2011 8:38 am

Isaacrn wrote:Im sorry if I miss this, but is there a way to put a launching icon on the desktop? What im doing now is putting the download file on the desktop, and when i click on it it goes through the open file security warning
Here's what I just did.
I downloaded latest Sleepyhead to download folder.
Then I went to download folder and right clicked on it to give me option to create a short cut.
I created the shortcut but it is of course still in the download folder.
Then I moved that shortcut to the desktop (click and drag) for me.
Then I clicked on the shortcut and got the typical "do you want to" security warning.
So I then removed the check mark in "always ask when opening this" line box.
Went ahead and opened Sleepyhead
Then closed Sleepyhead
Clicked on the short cut now on the desktop and Sleepyhead opened without the security warning box popping up.
Using Vista 32 bit computer. Have no idea if other Windows versions have similar choice to remove the default check mark in the security box warning.

_________________
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
Pugsy
Posts: 65001
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

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

Post by Pugsy » Thu Jun 02, 2011 8:55 am

For those wondering what these reports look like here are examples of my Tuesday night's reports.
I also did a little click and zoom in on waveform to catch and OA in action.

And last report is same night using Encore Pro 2.4 (with leak set for unintentional leak) Time is off by one hour because of DST issue. Actually went to bed at 12:54AM hence the June 1 date when it was for Monday night.
Image

Image

Edited to add correct Encore Pro report (I had 2 June 1 reports because of time I went to bed)
Image

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
Last edited by Pugsy on Thu Jun 02, 2011 11:52 am, edited 2 times in total.
I may have to RISE but I refuse to SHINE.

User avatar
BrianinTN
Posts: 435
Joined: Fri Mar 11, 2011 3:46 pm

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

Post by BrianinTN » Thu Jun 02, 2011 8:56 am

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

If anyone finds out any more about the raw data stuff I'd like to know.
I'm not sure that the older machines store data in a dramatically different format from the newer System One machines. Rather, they simply have their data on a smart card rather than an SD card. As such, it's not a mountable volume. There are working drivers for the main smart card reader that most of us use at this site:
http://www.ais-magnetic.com/en/index.ph ... &Itemid=20

I haven't yet come across a utility that can use drivers like the above to "force" a smart card to be mountable. If anyone knows of one, I'm happy to extract some data and send it along for the project.

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

Post by jedimark » Thu Jun 02, 2011 10:49 am

Pugsy wrote:For those wondering what these reports look like here is last night example for me. Last 15 to 20 minutes or so I was awake just not wanting to get up just yet. So all those events aren't real. I know for sure I was awake. Interesting that Pro didn't flag any of them.
I also did a little click and zoom in on waveform to catch and OA in action.
And last report is same night using Encore Pro 2.4 (with leak set for unintentional leak) Time is off by one hour because of DST issue. Actually went to bed at 12:54AM
Pugsy, is that the same day record? Because your graphs aren't matching like I get..

I think I calculate the calendar day differently from Encore.. (To be honest I kinda forgot about it, been a while since I touched Encore.)

When you click on todays date, Sleepyhead shows last nights data, up to this morning. Encore puts this in the day before. It's only to do with the calendar control, the actual days are worked out the same way. I just found it confusing clicking on the day before to get last nights data.

I hope that makes sense.

_________________
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
Hawthorne
Posts: 3972
Joined: Tue Oct 19, 2004 4:46 am
Location: London Ontario -Canada

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

Post by Hawthorne » Thu Jun 02, 2011 11:07 am

I'm still getting no data at all when I save a screenshot. It is saved with a scroll bar but no data.

I'm not very computer literate. I do like this program for the wave forms. Everything was working fine with the last version but not this newest one.

Any thoughts?

_________________
Machine: DreamStation Auto CPAP Machine
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Humidifier: DreamStation Heated Humidifier
Additional Comments:  Backups- FX Nano masks. Backup machine- Airmini auto travel cpap

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

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

Post by Pugsy » Thu Jun 02, 2011 11:11 am

jedimark wrote:Pugsy, is that the same day record? Because your graphs aren't matching like I get.
Ah crap, I screwed up. I have 2 June 1 in Pro because one started after midnight and last night started right before midnight (according to Pro and DST issue)
Give me a few minutes and I will replace the Pro screen shot with the correct one to match Sleepyhead.

I will just edit out the wrong one. I wondered why that last 20 minutes was off. Now I know why, wrong report.

I use Vista Snipping tool for screen shots. I haven't tried the snapshot feature yet. Let me fix this one screw up then will check snapshot.

_________________
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
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

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

Post by Breathe Jimbo » Thu Jun 02, 2011 11:15 am

.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap
Last edited by Breathe Jimbo on Sun Jun 05, 2011 1:32 pm, edited 1 time in total.

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

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

Post by Pugsy » Thu Jun 02, 2011 11:22 am

Okay, just did the snapshot thing using SleepyHead. Using Vista 32 bit computer here. It works fine for me.
Saves the image as png file and I was able to direct it to desktop. I did the regular report as well as a zoom in on waveform report. Both worked.

So it appears to work as it should for me.

Edit. Want to confirm that I had removed the old version of SleepyHead and got a fresh download this morning right before I posted my screen shot examples above for Monday night.

_________________
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
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

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

Post by Breathe Jimbo » Thu Jun 02, 2011 11:25 am

BTW, the reason I asked about MacPorts is that easy-to-follow instructions can be prepared for building in a MacPorts environment under OS X. For example, although I am not a programmer, I was able to follow these instructions and build a Mac version for another sourceforge project that I follow and use:

http://sourceforge.net/apps/mediawiki/s ... n_Mac_OS_X

It would be great to be able to build an OS X version of SleepyHead in a similar way. And, of course, I already have the basic MacPorts framework in place!

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

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 » Thu Jun 02, 2011 11:27 am

Hawthorne wrote:I'm still getting no data at all when I save a screenshot. It is saved with a scroll bar but no data.

I'm not very computer literate. I do like this program for the wave forms. Everything was working fine with the last version but not this newest one.

Any thoughts?
That's weird.. I haven't been able to break the screenshots, has anyone else had problems with it? or is this windows version related?

I'll be posting a new alpha version soon.. I've just been focusing on doing a lot of heavy improvements on the underneath stuff.

In the meantime, print screen and pasting into windows paint/etc works. (You'll have to crop the picture though)

Just a reminder this is still alpha software, not a beta, meaning this is an early development preview, also meaning I personally guarantee it's bug infested.
With each and every reported bug it's getting better though.

_________________
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 » Thu Jun 02, 2011 11:37 am

Breathe Jimbo wrote:How do we get in touch with Troy? I don't see any activity in the -devel mailing list on sourceforge.

BTW, is it possible to set up git/sourceforge like this:

http://scantailor.git.sourceforge.net/g ... ;a=summary

or is there already a web page like that? That makes it really easy to download the latest snapshot.

P.S. It already exists! See:

http://sleephead.git.sourceforge.net/gi ... ;a=summary
The mailing list has only just been set up.. I don't even know how to use it yet

TSchultz is a busy guy. I've got a lot more spare time, so most of what you seen here is my code, but is also the result of bucket-loads of emails collaborating back and forth, his influence has been tremendous. He's been working in a different branch up till now.. I'm hoping with the removal of the last stumbling block to mac builds, we can merge up.

Thanks for posting the GIT summary thing.. It's a quick way for to see what changes have happened in the last few days. I forgot about it

_________________
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 » Thu Jun 02, 2011 11:42 am

Breathe Jimbo wrote:BTW, the reason I asked about MacPorts is that easy-to-follow instructions can be prepared for building in a MacPorts environment under OS X. For example, although I am not a programmer, I was able to follow these instructions and build a Mac version for another sourceforge project that I follow and use:

http://sourceforge.net/apps/mediawiki/s ... n_Mac_OS_X

It would be great to be able to build an OS X version of SleepyHead in a similar way. And, of course, I already have the basic MacPorts framework in place!
Then you already likely know more about building Mac software than me..

I last used something called Fink? can't remember.

I do know you definitely will need to install codeblocks to build it.

_________________
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