Apnea Board Forum - CPAP | Sleep Apnea
Import S+ sleep state data into SleepyHead - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Import S+ sleep state data into SleepyHead (/Thread-Import-S-sleep-state-data-into-SleepyHead)



Import S+ sleep state data into SleepyHead - HZone - 12-30-2016

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.


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:

[attachment=3067]

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


RE: Import S+ sleep state data into SleepyHead - AlanE - 12-31-2016

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


RE: Import S+ sleep state data into SleepyHead - noetzelj - 10-31-2017

(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...


RE: Import S+ sleep state data into SleepyHead - srlevine1 - 11-01-2017

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?