Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account

New Posts   Today's Posts

Import S+ sleep state data into SleepyHead
I'm a new forum member, having recently been diagnosed with Sleep Apnea. I'm due to start a CPAP trial on 6th Jan. In the meantime I've been reading up on treatments and tools to help understand/optimise treatment.

While waiting for my sleep study/diagnosis I've been monitoring SPO2 levels with a Contec CMS50F. I also monitored my sleep using a Resmed S+ and developed an Excel spreadsheet to combine the SPO2 data and sleep state data. While the S+ doesn't directly support exporting data if I view the detailed days data in the portal and view the HTML source it is easy to identify the useful data and copy it into Excel. I found this interesting/useful as it showed the majority of SPO2 desaturation events occur during REM sleep with very few in deep sleep (with an intermediate and similar amount in light sleep and while awake).

This got me thinking that it may be useful to combine this data with data from my CPAP treatment when it starts. From this forum the SleepyHead software seems to be the way to analyse CPAP data (hopefully the NHS will issue a compatible machine). SleepyHead allows SPO2 data to be imported, but not S+ data (I see there is a feature request for this, though looking at recent updates from the developer I think there's a lot of other higher priority work to do). However, I did notice that it has a function to import similar data from the discontinued ZEO sleep monitor. This got me thinking if I could convert the S+ data into the format required by the SleepyHead ZEO import routine I should be able to get the sleep state data recorded by S+ into Sleepyhead.

Searching the web I found some useful data on the required data format and a sample file:
 http: //www. [[ Auto Word Filter: links to DME-owned sites not allowed ]] .com/viewtopic.php?f=1&t=76992&st=0&sk=t&sd=a 
[remove the space(s), as a new member I can't post external links]

With this I've managed to write an Excel spreadsheet into which I can paste the data from my S+ and have it produce a tab/sheet that I can export as a CSV file that SleepyHead will import as if it was ZEO data.

While I'm still testing this spreadsheet it does appear to work and I've imported my last few days data and can view a sleep-state graph along with SPO2 data in SleepyHead:


After some more testing I intend to post this spreadsheet, in the meantime I'd be interested to know if others think this would be useful?

Regards HZone
Post Reply Post Reply

I'm sure it would be. I doubt you would be the only person on Earth using that equipment. It's bound to help out others. Smile

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

Post Reply Post Reply

Possibly Related Threads...
Thread Author Replies Views Last Post
  Please help. SleepyHead quit its reliable display and summary of SpO2 data. 2SleepBetta 10 230 08-16-2017, 12:19 AM
Last Post: 2SleepBetta
  SleepyHead data Gazza59 2 134 08-04-2017, 12:34 AM
Last Post: Gazza59
  Can't Load Current Data onto Sleepyhead Jasperini 3 187 07-29-2017, 07:02 PM
Last Post: ajack
  How to Send JediMark data to update SleepyHead? timfrost 3 268 07-15-2017, 06:15 PM
Last Post: AlanE
  [Admin Note] Sleep data needed for Sleep Master development! Jack_Russell_Fan 17 1,218 07-14-2017, 10:49 PM
Last Post: Jack_Russell_Fan
  Dreammapper versus Sleepyhead data llaage 13 1,243 07-01-2017, 02:52 PM
Last Post: gwatuk
  Incomplete and overlapping SleepyHead Data from Last Night Melman 10 418 06-27-2017, 01:18 AM
Last Post: TBMx

Forum Jump:

New Posts   Today's Posts

About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.

For any more information, please use our contact form.