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
#1
Hi,
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
#2
Welcome

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
  Sleep Master Data Viewer Issue jrdnduvall 5 188 Yesterday, 10:36 PM
Last Post: jrdnduvall
Cool Historical Sleepyhead data looks strange after travel to different timezone vas2000 11 550 10-20-2017, 11:54 AM
Last Post: Sheepish
  Can SleepyHead export time series data as CSV? rbookman 5 304 10-16-2017, 03:00 AM
Last Post: TBMx
Cool Recommendation: FlashAir and Flashpap - Wifi data transfer from CPAP to PC/Sleepyhead mogulman 26 1,006 10-09-2017, 05:52 PM
Last Post: Crimson Nape
  Sleepyhead Overview Graphs Missing Data Points Hojo 9 182 10-09-2017, 04:18 PM
Last Post: srlevine1
  Sleepyhead crashed before data upload finishes ScottGA 6 773 10-06-2017, 11:53 AM
Last Post: pholynyk
  Sleepyhead CMS50D+ Import Issues oz02 5 553 09-18-2017, 11:49 AM
Last Post: pholynyk

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.