Post Reply 
Location/Format of SleepyHead Data
Author Message
TillerBee Offline

New Members

Posts: 1
Joined: Mar 2016

Machine: none
Mask Type: Nasal prongs
Mask Make & Model: unsure
Humidifier: none
CPAP Pressure: none
CPAP Software: SleepyHead

Other Comments:

Sex: Female
Location:

Post: #1
Location/Format of SleepyHead Data
My husband is using SleepyHead on a Mac. He would like to import the data from his Oximeter that is stored in SleepyHead into Mathematica so he can do further statistical analysis on his nightly data.

Can you tell me where to find the SleepyHead data documentation such as formats and location? I am a retired software engineer and he is an enginer who also understands programming stuff.

I did look at the Wiki and SourceForge websites and could not find detailed enough information.

Thank you in advance.
03-26-2016 02:54 PM
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,294
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: Location/Format of SleepyHead Data
.
Can any mac users help TillerBee?
.

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.
03-28-2016 07:30 AM
Find all posts by this user Post Reply Quote this message in a reply
whmagill Offline

Preferred Members

Posts: 25
Joined: Dec 2015

Machine: ResMed AirSense 10 Auto set
Mask Type: Full face mask
Mask Make & Model: ResMed AirFit 10
Humidifier: built in
CPAP Pressure: 5-18
CPAP Software: SleepyHead

Other Comments: Mac OSX 10.11.3

Sex: Male
Location: Elizabethtown, PA

Post: #3
RE: Location/Format of SleepyHead Data
(03-26-2016 02:54 PM)TillerBee Wrote:  My husband is using SleepyHead on a Mac. He would like to import the data from his Oximeter that is stored in SleepyHead into Mathematica so he can do further statistical analysis on his nightly data.

Can you tell me where to find the SleepyHead data documentation such as formats and location? I am a retired software engineer and he is an enginer who also understands programming stuff.

I did look at the Wiki and SourceForge websites and could not find detailed enough information.

Thank you in advance.
With the Mac client, you can find the datastorage location by looing at the "Select Profile" window which pops up. -- At the bottom is a window labled "Folder:" with the file name/path.

I believe, the raw SleepyHead data you are looking for (assuming you are using v0.9.8-1 testing)
is stored in ~/Documents/SleepHeadData-Testing/Profiles/<name>/<machine>/Events

or psossibly in:
~/Documents/SleepHeadData-Testing/Profiles/<name>/<machine>/Backup/DATALOG/<year>

I don't use an Oximeter, so there is probably a separate folder for the data from that device, but I do not know.

As far as documentation -- there isn't any that I know of. . . except for the fact that the Source Code is available over at SourceForge Smile.

https://sourceforge.net/projects/sleepyhead/files/

Bill Magill
Retired computing and networking professional
(ARPAnet, Unix and Mac OSX)
"People assume that time is a strict progression of cause to effect,
but actually — from a non-linear, non-subjective viewpoint —
it's more like a big ball of wibbly-wobbly... timey-wimey... stuff."
The Doctor
(This post was last modified: 03-28-2016 08:24 AM by whmagill.)
03-28-2016 08:19 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
whmagill Offline

Preferred Members

Posts: 25
Joined: Dec 2015

Machine: ResMed AirSense 10 Auto set
Mask Type: Full face mask
Mask Make & Model: ResMed AirFit 10
Humidifier: built in
CPAP Pressure: 5-18
CPAP Software: SleepyHead

Other Comments: Mac OSX 10.11.3

Sex: Male
Location: Elizabethtown, PA

Post: #4
RE: Location/Format of SleepyHead Data
(03-28-2016 08:19 AM)whmagill Wrote:  As far as documentation -- there isn't any that I know of. . . except for the fact that the Source Code is available over at SourceForge Smile.

https://sourceforge.net/projects/sleepyhead/files/

Sigh. Just went to check out Source Forge, and apparently JediMark has removed both the binaries and source for all versions of the Mac client.
. . . Or at least they are not obvious.

He is apparently "updating" the GPL (or whatever) license because of some clown who started selling a CD of his code plus the info on this forum for $50. See his blog for details:
https://www.jedimark.net/node/5

Bill Magill
Retired computing and networking professional
(ARPAnet, Unix and Mac OSX)
"People assume that time is a strict progression of cause to effect,
but actually — from a non-linear, non-subjective viewpoint —
it's more like a big ball of wibbly-wobbly... timey-wimey... stuff."
The Doctor
03-28-2016 08:32 AM
Find all posts by this user Post Reply Quote this message in a reply
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: #5
RE: Location/Format of SleepyHead Data
I'm not familiar with Mac but if that version has the same Help > About as Widows you can find the location of the data folder there.



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
03-28-2016 12:40 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
whmagill Offline

Preferred Members

Posts: 25
Joined: Dec 2015

Machine: ResMed AirSense 10 Auto set
Mask Type: Full face mask
Mask Make & Model: ResMed AirFit 10
Humidifier: built in
CPAP Pressure: 5-18
CPAP Software: SleepyHead

Other Comments: Mac OSX 10.11.3

Sex: Male
Location: Elizabethtown, PA

Post: #6
RE: Location/Format of SleepyHead Data
(03-28-2016 12:40 PM)AlanE Wrote:  I'm not familiar with Mac but if that version has the same Help > About as Widows you can find the location of the data folder there.
Yes it does. The About function is the same on the Mac. It is available after the user's Profile has been selected.

I'm just more familiar with the "Select Profile" screen simply because it pops-up every time I launch SleepyHead.

Bill Magill
Retired computing and networking professional
(ARPAnet, Unix and Mac OSX)
"People assume that time is a strict progression of cause to effect,
but actually — from a non-linear, non-subjective viewpoint —
it's more like a big ball of wibbly-wobbly... timey-wimey... stuff."
The Doctor
03-28-2016 02:08 PM
Find all posts by this user Post Reply Quote this message in a reply
Crimson Nape Offline

Monitors

Posts: 1,327
Joined: Oct 2014

Machine: ResMed S9 Autoset
Mask Type: Other
Mask Make & Model: P-10 / F&P Simplus / DreamWear
Humidifier: H5i w/Climateline
CPAP Pressure: 8 - EPR 3
CPAP Software: SleepyHead

Other Comments: CMS-50F & 50IW

Sex: Male
Location: Georgia

Post: #7
RE: Location/Format of SleepyHead Data
The oximetry data is stored under SleepyHeadData-Testing->Profile->Your User Name->OximeterModel with hex code. There are 2 directories here; 1. Events and 2. Summaries. The data in the Events directory has a ".001" extension and the data in the Summaries directory carries a ".000" extension. Both file types are stored in a binary form. I would suggest that you download the SleepyHead source code and look at the code that is used to read and write these files.

Sorry I'm not of any further help.

Statistics prove that people who have more birthdays live longer.
03-28-2016 02:39 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
palerider Offline

Preferred Members-

Posts: 440
Joined: Nov 2014

Machine: s9 vpap auto
Mask Type: Nasal pillows
Mask Make & Model: p10
Humidifier: none
CPAP Pressure: 18/13+
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Dallas(ish)

Post: #8
RE: Location/Format of SleepyHead Data
(03-28-2016 08:32 AM)whmagill Wrote:  
(03-28-2016 08:19 AM)whmagill Wrote:  As far as documentation -- there isn't any that I know of. . . except for the fact that the Source Code is available over at SourceForge Smile.

https://sourceforge.net/projects/sleepyhead/files/

Sigh. Just went to check out Source Forge, and apparently JediMark has removed both the binaries and source for all versions of the Mac client.
. . . Or at least they are not obvious.

https://sourceforge.net/p/sleepyhead/code/ci/master/tree/

source and compiled packages (files) are in different places.
03-28-2016 07:09 PM
Find all posts by this user Post Reply Quote this message in a reply
beet Offline

Members

Posts: 16
Joined: Aug 2016

Machine: Resmed AirSense 10 Autoset
Mask Type: Nasal mask
Mask Make & Model: Respironics Dreamwear
Humidifier: Resmed
CPAP Pressure: 5-11
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Silicon Valley

Post: #9
RE: Location/Format of SleepyHead Data
Going forward, it might be easier to save the oximeter data to disk in its native format and then let Sleepyhead import it rather than connecting the oximeter directly to Sleepyhead. The Sleepyhead developer, Mark Watkins, documented the Contec CMS50 series data format here: (Scroll to his last post on 2014-06-30.)

https://sourceforge.net/p/sleepyhead/bugs/207/
09-26-2016 10:11 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
  Sleepyhead oximeter data-wrong days awoodby 5 489 11-04-2016 11:27 PM
Last Post: SaldusMiegas
  SleepyHead on iMac with OS X - importing oximetry data Possum 9 952 11-04-2016 12:28 PM
Last Post: AlanE
  Sleepyhead crashes on data import gerryjock 3 226 11-03-2016 10:45 AM
Last Post: Sleeprider
  backing up sleepyhead data storywizard 2 216 10-21-2016 11:24 AM
Last Post: storywizard
  Sleepyhead Showing Partial Data jbsix 6 312 10-19-2016 12:21 PM
Last Post: Sleeprider
  Can SleepyHead export SpO2 data? SaldusMiegas 3 249 09-23-2016 09:02 PM
Last Post: beet
  How do you download sleepyhead day data onto forum stephennic 1 241 09-05-2016 09:47 AM
Last Post: Crimson Nape

Forum Jump:

Who's Online (Complete List)