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

Donate to Apnea Board  

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
(12-30-2016, 04:14 PM)HZone Wrote: 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

Bump from the dead.... anybody get a copy of this?  It will save me some work having to recreate the wheel.

I've searched around, but can't find it...
Post Reply Post Reply
I was taught that sleep stage data and REM sleep could only be determined by an EEG combined with other sensor data.

How is it that the ResMed S+ purports to derive this information from breathing and movement data?

Or are we looking at correlation (averages based on a sampling of tested patients) that purports to indicate causation?

I think what I am asking is: is this thing worth the price and is it somehow more accurate than other apps which purport to show sleep stages but are said to be wildly inaccurate?
"The object in life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane." -- Marcus Aurelius
Post Reply Post Reply

Possibly Related Threads...
Thread Author Replies Views Last Post
  Sleepyhead Duplicate Data HeadlessDeath 14 552 05-23-2018, 03:09 PM
Last Post: jaswilliams
Arrow [Admin Note] SleepyHead Dreamstation AutoSV Patch [DATA NEEDED see post #2] Greggory 53 6,024 05-11-2018, 03:43 PM
Last Post: Sleeprider
  some sleepyhead data issues sheepless 0 126 05-10-2018, 02:54 PM
Last Post: sheepless
Question Sleepyhead data viewing problem Queenslander 4 213 05-09-2018, 08:01 AM
Last Post: gwc2795
  user data import on ResScan Vandroza 3 191 05-05-2018, 03:23 PM
Last Post: jaswilliams
Question Mac Down how save sleepyhead data? petesenjoe 2 210 04-26-2018, 07:22 AM
Last Post: Crimson Nape
Cool Historical Sleepyhead data looks strange after travel to different timezone vas2000 15 1,352 04-23-2018, 03:21 PM
Last Post: Crimson Nape

Forum Jump:

New Posts   Today's Posts

About Apnea Board

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