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

Post by jedimark » Fri Jul 08, 2011 7:37 am

robysue wrote:Just downloaded this version. Looks really nice, but it's no where near as robust as 07-4229 on my Eee PC netbookt for some reason. And I did rename the old SleepyApp folder the previous version was using before I started the new version.

Some annoying things:

1) Default window size is too large for the netbook's small screen and it doesn't want to resize easily. The full screen toggle works ok though.

2) I can't see the ticks for OAs (again) due to the bright, light cyan color.

3) This is the real problem: When I switch days, the graphs don't switch even though the information given under the calendar does switch to the data for the chosen date. The graphs don't load consistently either. And if I switch from "Daily" to "Welcome" and back to "Daily" the graphs don't show up at all---all I see is a leftover Welcome screen together with the sidebar with the calendar on top and the summary data on bottom. Not sure if I'm doing something wrong or if I've just hit some bugginess of some sort. I did rename the SleepyApp folder for the 07-4229 version so I don't think that's the problem. And I no longer see a SleepyApp folder in the MyDocuments folder either.

4) Clicking on a date with no data seems to crash this version on my machine for some reason. Didn't cause any problems with the 07 version.

5) The averages shown in the Details window for IPAP, EPAP, leak, and snore all seem to be 0.00 day after day after day. This was NOT true in 07-4229 by the way.

Finally, at some point I asked you if some Encore Viewer/Pro reports of my BiPAP data would be useful for you for debugging purposes since you used my data as one of the major data sets for getting the BiPAP stuff working. But I can't remember if you said it would be useful or not and I know I never sent it. So would it? If so, I'll create a bunch of Encore reports and tar & compress them and send them on to you.

I do like the new look and I really appreciate the detailed lists of events and times they occur---this looks like one of the features in Onkor that I always thought was potentially useful . That's a nice touch.
Thanks for testing robysue.. This version is in effect a total rewrite for cross platform portability.. I did say it was extra buggy

Thankyou for that bug list.. I'll start hacking my way through it once I finish the ASV stuff.

The colours are different in Qt.. I've got to use mixed colours.. I still plan on having them editable..

In full screen mode, is it usable on the netbook? If so I'll reduce the screen size to ~570 pixels high, which I think will work fine. I've been trying to take netbooks into account.. I just don't own one.

3 is a little worrying.. It might be something to do with the way your netbooks graphics chip works.. Or it could be something as simple as needing another screen redraw call when switching tabs.. (Which I think is most likely, and if so, easy fix)

Regarding the no-data date crash: Did you remove the SleepApp folder first? This version uses a different database format. What's your operating system by the way?

I have some BIPAP data to play with. More data always comes in handy..

This is a total rewrite, which was done to make the source code really be cross platform

_________________
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
bakermo
Posts: 14
Joined: Tue Jun 14, 2011 7:34 pm
Location: Missouri

Re: SleepyHead Qt v0.8 alpha

Post by bakermo » Fri Jul 08, 2011 9:26 am

I just downloaded and everything seems to be working fine.

The initial window size is a bit of a pain but other than that I have found no errors.

May I ask where he data is stored if I want to clean it out and start over?

Thanks for this hard work!

It is much appreciated.
=======================================

bakermo

1. Never tell everything at once.
Ken Venturi, Ken Venturi's Two Great Rules of Life

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 Jul 08, 2011 9:53 am

bakermo wrote:I just downloaded and everything seems to be working fine.

The initial window size is a bit of a pain but other than that I have found no errors.

May I ask where he data is stored if I want to clean it out and start over?

Thanks for this hard work!

It is much appreciated.
Are you running a netbook too? I wish they'd stop putting lousy 600 pixel high screens in them.. I was looking at them for a mate today in a couple of bigger tech stores around here.. Not one of them had a decent high-res screen.

Data is supposed to be in my My Documents\SleepApp, but I have a feeling I stuffed something up in that build, and it gets put in C:\Users\YourUserName\SleepApp.. (YourUserName gets translated to your actual user name of course)

SleepyHead has a long way to go to be awesome.. I appreciate any errors and bugs reported, as this gives me a chance to fix them.

Apparently there is a Qt android project.. I'm getting interested.. not so much in supporting the phones devices, but some of the bigger tablets and stuff would be nice to support one day. (There is no reason this couldn't be done on a phone, it's just not something I really want to focus on.)

Haven't had much time to code the last few days, as I've got a mate visiting. That and stupid brain fog is still getting me.. Ugh..

_________________
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
bakermo
Posts: 14
Joined: Tue Jun 14, 2011 7:34 pm
Location: Missouri

Re: SleepyHead Qt v0.8 alpha

Post by bakermo » Fri Jul 08, 2011 10:28 am

jedimark wrote:

Are you running a netbook too? I wish they'd stop putting lousy 600 pixel high screens in them.. I was looking at them for a mate today in a couple of bigger tech stores around here.. Not one of them had a decent high-res screen.
No - I am running on a 19 inch CRT. My resolution is set to 1024 x 768. It's my preference fo my old eyes and the stuff I do. Not a problem for me - I'm just letting you know.
jedimark wrote:
Data is supposed to be in my My Documents\SleepApp, but I have a feeling I stuffed something up in that build, and it gets put in C:\Users\YourUserName\SleepApp.. (YourUserName gets translated to your actual user name of course)
Found it.

Mine is C:\Documents and Settings\YourUserName\SleepApp

I have several hard drives and partitions and was looking in My Documents - but that is on my F drive.

Thanks again!
=======================================

bakermo

1. Never tell everything at once.
Ken Venturi, Ken Venturi's Two Great Rules of Life

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 Jul 08, 2011 10:45 am

bakermo wrote: No - I am running on a 19 inch CRT. My resolution is set to 1024 x 768. It's my preference fo my old eyes and the stuff I do. Not a problem for me - I'm just letting you know.
Mine is C:\Documents and Settings\YourUserName\SleepApp
I have several hard drives and partitions and was looking in My Documents - but that is on my F drive.
Strange it's not fitting in that resolution.. Most of my development is on a crummy old Dell notebook with a smallish screen.. 800 pixels high, but the app defaults to just over 2/3rds of the screen height. I'm not taking into account is the size of the start bar in windows.

It's not easy viewing 10 graphs or so in a small amount of screen space.. It will be better when I finish the ability to switch off unwanted graphs. You can hide them (all except for event flags) at the moment by dragging the grey bar between them.. It's a bit fidgity, but I find it useful.

Hmm.. I think you just found a Qt (or Windows) bug in the Documents location .. I don't think it's properly taking partitioning into account. (SleepyHead asks Qt where to put it's directory.)

_________________
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
JointPain
Posts: 261
Joined: Thu Apr 28, 2011 10:41 am
Location: Houston, TX

Re: SleepyHead Qt v0.8 alpha

Post by JointPain » Fri Jul 08, 2011 8:45 pm

jedimark wrote:Are your events showing in the flags, overlays & Events tab?
Events are showing in the flags and Events tab. If by showing in the overlays, you mean the thin vertical lines with CA etc. shown above them in the Flow Rate graph, then they're showing in the overlays too.

I really like the navigation aspects of the UI.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Pressure is 11-14. Old CPAP was a Resmed S6 Lightweight. Also have Profile lite mask. ResScan is actually version 3.14. Now I use Sleepyhead.

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

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sat Jul 09, 2011 12:27 pm

Are you planning to put in an "hours of use" display like Encore where you can see usage hours for multiple days? I find this very useful to show me my bad sleep habits like staying up too late, sleeping a few hours at a time, too many naps, etc.

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

Post by jedimark » Sat Jul 09, 2011 8:48 pm

archangle wrote:Are you planning to put in an "hours of use" display like Encore where you can see usage hours for multiple days? I find this very useful to show me my bad sleep habits like staying up too late, sleeping a few hours at a time, too many naps, etc.
The Usage Hours bar graph is already there in the crappy overview screen.. I haven't been focusing on the overview screen yet.

I know alot of stuff is missing there.. I mainly pushed this little build to see if anyone had any luck getting the ResMed importer working..
I've been focusing on the data support, because the rest of it is relatively easy compared with getting access to the actual data.

I finally hacked out how to get at the CMS50's internal recording data.. I also found a good cross platform serial library for Qt.. These two combined means I now have the ability to add an option import directly off CMS50 oximeters via the USB serial cable, leaving the windows only SpO2 Review software pretty much redundant. This method still won't give timestamps to CMS50D+ devices (as they don't have an internal clock.) Not sure if this method will work yet on CMS50E.

_________________
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

glenj
Posts: 26
Joined: Thu Mar 03, 2011 5:58 pm
Location: Australia

Re: SleepyHead Qt v0.8 alpha

Post by glenj » Sat Jul 09, 2011 9:17 pm

Hi Mark(aka "G'day mate"), how's the "Beautiful one day, perfect the next" state going? Cold and wet down here in Melbourne.

I use an S9 Autoset and have been using SleepyHead for a week or so. I have not had any problems with the data import and all appears to be as it should(being a work in progress). Running it along with ResScan and things are matching up well.

Only new to XPAP and all it's 'fun' but a BIG fan of software written by people that use it in day to day life not some coder in an office saying this is what you want, this is how you want it and this is what you'll get. So as MANY here have already said, GREAT WORK to you and all others involved for SleepyHead.

Time for a cuppa and an Iced-Vovo

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: ResScan Ver 3.16 / Sleepyhead

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

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sat Jul 09, 2011 9:19 pm

jedimark wrote:
archangle wrote:Are you planning to put in an "hours of use" display like Encore where you can see usage hours for multiple days? I find this very useful to show me my bad sleep habits like staying up too late, sleeping a few hours at a time, too many naps, etc.
The Usage Hours bar graph is already there in the crappy overview screen.. I haven't been focusing on the overview screen yet.
Sorry I said that wrong. 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.

Image

Thanks again for a great program.

_________________
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
billbolton
Posts: 2264
Joined: Wed Jun 07, 2006 7:46 pm
Location: Sydney, Australia

Re: SleepyHead Qt v0.8 alpha

Post by billbolton » Sat Jul 09, 2011 9:27 pm

jedimark wrote: I mainly pushed this little build to see if anyone had any luck getting the ResMed importer working.
It is importing data from my S9 Autoset SD card OK, as far as I can see.

Cheers,

Bill

_________________
MachineMask
Additional Comments: Airmini, Medistrom Pilot 24, CMS 60C Pulse Oximeter, ResScan 6

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 1:38 am

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?

_________________
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

victormiller
Posts: 110
Joined: Wed Mar 28, 2007 6:34 pm
Location: New Jersey

Re: SleepyHead Qt v0.8 alpha

Post by victormiller » Tue Jul 12, 2011 7:14 am

Does Sleepyhead have a debug mode? I cannot get it to import my data. I start SleepyHead (latest version, both on my PC run XP SP3, and my macbook pro), click on File->Read SD card and point it at the card (also have tried copying the entire contents of the SD card to my hard disk, and pointing to that). It pops up a window saying "Please wait". After about 30 seconds SleepyHead quits. I then get a message that SleepyHead quit unexpectedly. I'd like help in tracking down what the bug in SleepyHead is.

Victor

_________________
Mask
Additional Comments: Software is Encore Pro version 2.4

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:24 am

I pushed a little test build adding support for the new (Family 5) System One ASV models.

Can get it here:
http://sourceforge.net/projects/sleepyh ... s/Testing/

The file is called SleepyHead-0.8-asvtest.exe

It fixes a few other bugs too. Off the top of my head:

Fixes average calculations and stuff.
It adds Pressure Support calcs for BiPAP.. (which may or may not be correct)
It hides stuff that's not used more cleverer.. Although it can be a bit ugly if you've only got one Event Flags line.. (still figuring that one out)
You will also see the beginnings of that new Usage graph in the dodgo Overview screen.. This graph is still a little too clunky for my liking, and I still need to figure out the clip/extend/wrap thing.

Same horrible story, you will have to trash SleepApp and reimport to get the goodies.. I do honestly hope to solve this problem one day..

_________________
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 7:27 am

victormiller wrote:Does Sleepyhead have a debug mode? I cannot get it to import my data. I start SleepyHead (latest version, both on my PC run XP SP3, and my macbook pro), click on File->Read SD card and point it at the card (also have tried copying the entire contents of the SD card to my hard disk, and pointing to that). It pops up a window saying "Please wait". After about 30 seconds SleepyHead quits. I then get a message that SleepyHead quit unexpectedly. I'd like help in tracking down what the bug in SleepyHead is.

Victor
It sorta does on Linux.. I haven't found a suitable log displaying system for Qt yet to do it on windows.

I've done quite a bit of work to the PRS1 importer adding support for ASV stuff, so the new version I pushed just then may help that problem..

If it still doesn't you have interesting data..

EDIT: Btw, Mac version is horribly outdated, unless your compiling from GIT source code..

_________________
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