Post Reply 
Status of SleepyHead development, how to report/contribute
Author Message
strix Offline

Members

Posts: 17
Joined: Dec 2015

Machine: PRS1 S60 Auto (561P)
Mask Type: Full face mask
Mask Make & Model: F&P Simplus
Humidifier: none (yet)
CPAP Pressure: Unconstrained (4–20 cm)
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: UK

Post: #1
Status of SleepyHead development, how to report/contribute
Hi all,

I'm just starting out into the world of sleep apnoea and though I don't (yet) use a CPAP, I bought an oximeter (CMS50E ver 6.6R) and somewhere along the line, I found out about SleepyHead.

So far so fairly good, but I've found a few minor issues and the SourceForge SH mailing lists (both -dev and -user) appear to be invitation-only (or, at least, requiring admin/mod approval), the -user list seems abandoned and so I'm not quite sure where the best place to report them is, how to help fix them or even whether SH is still an actively maintained project considering the last publicly available build appears to be rather over a year old (though I can see that Mark is still making occasional commits to the git repo).

ETA: SH Help » About says:

Quote:SleepyHead v0.9.8-1 (testing)

Build Date: Oct 3 2014 17:17:35
Revision: 4595153 (master branch)

which is why I believe(d) the software to be over a year old, even though I installed from SleepyHead-Testing-0.9.8-1-T3-Windows-Installer.exe, dated 28 October, 2015. I'm now confused as to whether the software I'm running is 2 or 14 months old.

Before I file any bug reports at SF, I will get the Qt SDK and MingW tool chain and try building (Win 7, 64-bit) the current git master/HEAD in case any of these issues have already been fixed. (That will be fun, because most of my dev experience has been under Linux.)

Meanwhile my question is, are there any devs other than Mark involved and, if so, is there any place in lieu of the usual SF mailing lists where I can talk to them and coördinate our activities?

In brief, those issues I've discovered are:

  1. Importing by serial download seems to result in very noisy data (bad samples, eg SpO2 of 0, 40 or 128% (magic number there, probably indicating lost bytes in the serial stream) and 0 PR), where uploading the same recording via .spoR file works as it should. Where the bad data is located varies from attempt to attempt. I can provide an example of a .spoR that imported correctly where direct download didn't, and an archive of a profile showing the bad imports.
  2. Imported data, whether by serial d/l, live recording or from .spoR, will end up recorded against the day prior to the date specified on the calendar in the import dialogue if the hour of the recording is before noon of the selected day (I assume this is related to the day split time in preferences). This can happen if you went to bed after midnight, or you keep strange hours like I do (it's getting on for 6am here now!).
  3. Changing the oximetry thresholds etc doesn't refresh events, even though the source code seems to suggest that it should (but that may be a reflection of the age of the build). The event list can be forced to refresh by running Data » Automatic Oximetry Cleanup.

    What else that operation does, I don't know, because I've not been able to find any documentation on it (nor on the effect of the option 'Discard segments under $x seconds' in Preferences » Oximetry).


My other issue, which is not a fault of SH, is that it does not appear to be possible to selectively delete or edit data once imported (other than to delete a whole day's worth of data, which is okay if you have a .spoR recording for that day).

The reason I wanted to do that was because, being new to both the oximeter and SH, of course I experimented under different conditions (waking vs sleeping, recorded on the pulse-ox vs recorded live sessions with plethysmographs etc) with the result that there are some very abnormal readings (including an SpO2 of 44% when I moved it from one hand to the other!), consequently the stats are nonsense and also the SpO2 plot won't autoscale properly (because it was using the 44% as the minimum). The autoscaling problem is a minor nuisance but easily worked around by manually setting the y-axis range, but it looks like the stats problem requires getting rid of the bad data.

Evidently, the thing to do is to maintain two profiles, one for sleep-only data and the other for experimentation. I discovered issue #2 after I created a new profile to import my night-long .spoR files.

However, those recordings also contain waking data, and I need to trim those samples out or the stats will be wrong for the sleep-only profile. Looking into the way SH stores data, it seems that it's a lot easier to edit the .spoR files than it is to edit the SH records directly, so I've written a Python script to do just that. I can send it to anybody who wants it, and maybe it's even something worth adding to the SH repo. (It currently doesn't support .spo2R files, but that wouldn't be hard to add.)

Sorry for the long-winded first post, but I hope the folks here can point me in the right direction for how best to liaise with Mark and the other devs, if any.

Thanks,

David.

David.
(This post was last modified: 12-24-2015 01:17 AM by strix.)
12-24-2015 01:07 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
DeepBreathing Offline
Wiki Editor
Moderators

Posts: 2,295
Joined: Sep 2013

Machine: Resmed S9 VPAP Adapt
Mask Type: Full face mask
Mask Make & Model: F&P Simplus
Humidifier: Resmed H5i
CPAP Pressure: EPAP: 9 - 15 PS: 3 - 10
CPAP Software: ResScan SleepyHead

Other Comments:

Sex: Male
Location: Perth, Western Australia

Post: #2
RE: Status of SleepyHead development, how to report/contribute
G'day David, welcome to Apnea Board.

SleepyHead is very much Mark's baby - he developed it from scratch and has maintained it over several years. Unfortunately he's not able to work on it all the time and updates are consequently a bit slow coming. However, Mark has also made SleepyHead open source so anybody with the necessary expertise can work on upgrades and enhancements. There is a forum here at Apnea Board devoted to SleepyHead development and supporting Mark's efforts. If you'd like to join that forum, please send a PM to SuperSleeper to arrange access. Given the time of year it might be a few days before he's able to get back to you.

DeepBreathing
Apnea Board Moderator
www.ApneaBoard.com


Bed

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
12-24-2015 01:26 AM
Find all posts by this user Post Reply Quote this message in a reply
strix Offline

Members

Posts: 17
Joined: Dec 2015

Machine: PRS1 S60 Auto (561P)
Mask Type: Full face mask
Mask Make & Model: F&P Simplus
Humidifier: none (yet)
CPAP Pressure: Unconstrained (4–20 cm)
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: UK

Post: #3
RE: Status of SleepyHead development, how to report/contribute
(12-24-2015 01:26 AM)DeepBreathing Wrote:  G'day David, welcome to Apnea Board.

Many thanks for the kind welcome!

(12-24-2015 01:26 AM)DeepBreathing Wrote:  SleepyHead is very much Mark's baby - he developed it from scratch and has maintained it over several years. Unfortunately he's not able to work on it all the time and updates are consequently a bit slow coming.

I quite understand, not least because he doubtless has a day job and I can really identify with the 'brain fog' he's mentioned on his blog. So no pressure there, I just want to help if I can. I'm a developer, even if my C/++ is rather rusty, but I'm sure I can be of some help somewhere.

(12-24-2015 01:26 AM)DeepBreathing Wrote:  However, Mark has also made SleepyHead open source so anybody with the necessary expertise can work on upgrades and enhancements.

Yup, already got the code from sourceforge (which is how I wrote the Python script to parse .spoR files) and where I saw the commit log.

(12-24-2015 01:26 AM)DeepBreathing Wrote:  send a PM to SuperSleeper to arrange access. Given the time of year it might be a few days before he's able to get back to you.


Will do, and no problem.

Thanks again and merry christmas.

David.
(This post was last modified: 12-24-2015 01:39 AM by strix.)
12-24-2015 01:35 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
AlanE Offline

Advisory Members

Posts: 1,491
Joined: Mar 2015

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: P10 & Mirage Liberty backup
Humidifier: Built-in
CPAP Pressure: 10-14
CPAP Software: ResScan SleepyHead

Other Comments: ʕ•ᴥ•ʔ So Long, and Thanks for All the Fish

Sex: Male
Location: Southwest Florida

Post: #4
RE: Status of SleepyHead development, how to report/contribute
(12-24-2015 01:07 AM)strix Wrote:  ETA: SH Help » About says:

Quote:SleepyHead v0.9.8-1 (testing)

Build Date: Oct 3 2014 17:17:35
Revision: 4595153 (master branch)

which is why I believe(d) the software to be over a year old, even though I installed from SleepyHead-Testing-0.9.8-1-T3-Windows-Installer.exe, dated 28 October, 2015. I'm now confused as to whether the software I'm running is 2 or 14 months old.

Hi David.

The 28 Oct 2015 was the date of the Windows installer that was created for Sleepyhead. The Sleepyhead files are still dated 03 Oct 2014.

Alan



Using FlashAir W-03 SD card in machine. Access through wifi with FlashPAP or Sleep Master utilities.

I wanted to learn Binary so I enrolled in Binary 101. I seemed to have missed the first four courses. Big Grinnie
12-24-2015 12:50 PM
Find all posts by this user Post Reply Quote this message in a reply
strix Offline

Members

Posts: 17
Joined: Dec 2015

Machine: PRS1 S60 Auto (561P)
Mask Type: Full face mask
Mask Make & Model: F&P Simplus
Humidifier: none (yet)
CPAP Pressure: Unconstrained (4–20 cm)
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: UK

Post: #5
RE: Status of SleepyHead development, how to report/contribute
(12-24-2015 12:50 PM)AlanE Wrote:  The 28 Oct 2015 was the date of the Windows installer that was created for Sleepyhead. The Sleepyhead files are still dated 03 Oct 2014.

Acknowledged, thanks — I figured it'd be something like that.

David.
12-24-2015 02:17 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  The report goes weird: the data or the software goes wrong? asdftalk 3 297 07-19-2016 09:52 PM
Last Post: asdftalk
  Printing Report from Sleepyhead kristinchontelle 10 1,063 07-19-2016 09:07 PM
Last Post: eseedhouse
  Sleepyhead 1.0.0 beta 2 bug report cpdaniel 0 227 06-25-2016 11:46 AM
Last Post: cpdaniel
  Sleepyhead report - Event flags graph empty migos 2 418 06-10-2016 03:39 AM
Last Post: migos
  Sleepyhead losing captions (Bug report) RedCoPete 6 293 06-08-2016 09:54 PM
Last Post: Sleepster
  Sleepyhead Report still not right in beta 2 FrankNichols 6 394 04-17-2016 03:54 PM
Last Post: FrankNichols
  Data needed PRS1 All Models SleepyHead Development Sleeprider 6 625 02-29-2016 09:09 PM
Last Post: Sleeprider

Forum Jump:

Who's Online (Complete List)