How to read data from a Zeo SD card in SleepyHead?

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
4betterO2
Posts: 244
Joined: Fri Jan 11, 2013 9:37 pm
Location: USA

How to read data from a Zeo SD card in SleepyHead?

Post by 4betterO2 » Sun Apr 06, 2014 12:10 am

I just got to borrow a Zeo model with the SD card. I tried to read it with the latest version of SleepyHead I could download from SourceForge but it could not import anything.
I think the Zeo offers a really valuable opportunity to check one's sleep phases pattern, as the lack of deep restorative sleep could be as serious a health issue over time, as a (at least medium, mild?) diminished oxygen problem. So I would really like to be able to read the data the Zeo is supposed to save to the SD card... I was glad to see on the graph that shows on the machine display, it seems I was getting deeper sleep while on CPAP than if not using CPAP, which if true, would be really rewarding compared to the discomfort of using the CPAP: it's really great if it can improve not only oxygen levels, but also the essential quality of sleep itself...?
But... I don't now this machine, and I'm not really sure of what I'm seeing on it. Instead of that crude graph I need to see detailed data, on the computer...
__Are only earlier versions of SleepyHed able to read it? Where can I download the file I need to run to read the Zeo?
__I'm wondering if I'm missing some type of auxillary file. What are the names of the files read from the Zeo by SleepyHead? and are they cumulative, or does each day erase earlier files?
__Can SleepyHead read these SD card files thru a USB reader, or only if the SD card is placed in the card reader slot that is part of the PC/laptop?
Thanks for all the details you can provide

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: How to read data from a Zeo SD card in SleepyHead?

Post by jedimark » Sun Apr 06, 2014 2:24 am

SleepyHead originally had a few hacks to work with ZEO websites CSV data.. it gave basic 30 second sleep stage intervals, and was a pain to sync if the CPAP clock was out.

There is library online for parsing the SD card, I know they need an "open" firmware for the SD card to be readable unencrypted.

I never had the opportunity to play with one of the machines to get a feel for how they work.

Unfortunately the company went bust - The headpieces need replacing regularly, and now are no longer available.

I didn't see much point continuing with the importer development knowing there won't be any left, and the devices weren't that accurate anyway.

I would love to hear about any similar products in existence, because Sleep Staging would be very useful information to get a hold of.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: How to read data from a Zeo SD card in SleepyHead?

Post by Jay Aitchsee » Sun Apr 06, 2014 5:14 am

4betterO2, get software to view and store ZEO SD card data on your PC here: https://forum.quantifiedself.com/thread ... 57#pid3057
Unfortunately, it is not compatible with Sleepyhead.
For more Zeo Bedside resources, go here: https://forum.quantifiedself.com/thread ... 73#pid3373

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video

4betterO2
Posts: 244
Joined: Fri Jan 11, 2013 9:37 pm
Location: USA

Re: How to read data from a Zeo SD card in SleepyHead?

Post by 4betterO2 » Wed Apr 30, 2014 12:00 pm

Jay Aitchsee wrote:4betterO2, get software to view and store ZEO SD card data on your PC here: https://forum.quantifiedself.com/thread ... 57#pid3057
Unfortunately, it is not compatible with Sleepyhead.
For more Zeo Bedside resources, go here: https://forum.quantifiedself.com/thread ... 73#pid3373
Thanks, I can't do any firmware changes though because this Zeo does not belong to me.
I'm sending the links to the Zeo's owner, they are really interesting!
PR Dreamstation BiPap ASV, WISP nasal mask with magnets

4betterO2
Posts: 244
Joined: Fri Jan 11, 2013 9:37 pm
Location: USA

Re: How to read data from a Zeo SD card in SleepyHead?

Post by 4betterO2 » Wed Apr 30, 2014 1:11 pm

jedimark wrote: SleepyHead originally had a few hacks to work with ZEO websites CSV data.. it gave basic 30 second sleep stage intervals, and was a pain to sync if the CPAP clock was out.

Thanks for your reply Jedimark, I was away from the forum for a long time, I thought I had seen graphs showing Zeo data before, if that was indeed true I would love to see them again.
Asking people to upload their private data to a website was a big mistake Zeo made, they should have allowed a SD-based, LOCAL-only OPTION from the start. I remember wanting to buy a unit when they were $90, but the tethering of my sleep data to a CLOUD 3rd party stopped me; now they're $400 on eBay...
jedimark wrote: There is library online for parsing the SD card, I know they need an "open" firmware for the SD card to be readable unencrypted.
Haven't found it? Was it Linux only, or Windows also?
jedimark wrote: I would love to hear about any similar products in existence, because Sleep Staging would be very useful information to get a hold of.
Me too: the level of oxygen is the main goal of CPAP, but we need to look at the quality of sleep too!
Does CPAP affect that? After the sleep study, we have no more way to monitor that...
There is a European company claiming they analyze sleep stages but I would not trust it as they use a sensor placed under the mattress, I guess it concludes the stages of sleep from body movements (?)
It would be great if the Zeo project could be revived, but the data should be analyzable locally directly by the user from their SD card, and ideally, the sensors should use the soft silicone patches and gel used by so many cheap TENS machines, so much easier and cheaper to replace...!
PR Dreamstation BiPap ASV, WISP nasal mask with magnets

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: How to read data from a Zeo SD card in SleepyHead?

Post by Jay Aitchsee » Wed Apr 30, 2014 1:20 pm

4betterO2 wrote: jedimark wrote:There is library online for parsing the SD card, I know they need an "open" firmware for the SD card to be readable unencrypted.
Haven't found it? Was it Linux only, or Windows also?
Jay Aitchsee wrote:4betterO2, get software to view and store ZEO SD card data on your PC here: https://forum.quantifiedself.com/thread ... 57#pid3057
Unfortunately, it is not compatible with Sleepyhead.
For more Zeo Bedside resources, go here: https://forum.quantifiedself.com/thread ... 73#pid3373
4better, my two links above will take you to a java based library and firmware to unencrypt Zeo data, install a sleep stage viewer, and download the data in CSV and/or xml format. Being java based, it will work across multiple platforms including windows and mac. Unfortunately, the format of the data is not compatible with Sleepyhead.
4betterO2 wrote:Asking people to upload their private data to a website was a big mistake Zeo made, they should have allowed a SD-based, LOCAL-only OPTION from the start. I remember wanting to buy a unit when they were $90, but the tethering of my sleep data to a CLOUD 3rd party stopped me; now they're $400 on eBay...
Interestingly, Zeo recognized the importance of open source and local data access. The library and firmware referenced above was first published as open source by Zeo themselves. They first made unencryption and local data access available in 2010, I think.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video

4betterO2
Posts: 244
Joined: Fri Jan 11, 2013 9:37 pm
Location: USA

Re: How to read data from a Zeo SD card in SleepyHead?

Post by 4betterO2 » Wed Apr 30, 2014 2:31 pm

Jay Aitchsee wrote: 4better, my two links above will take you to a java based library and firmware to unencrypt Zeo data, install a sleep stage viewer, and download the data in CSV and/or xml format. Being java based, it will work across multiple platforms including windows and mac.
Thanks, will look again. But I thought that to use this the firmware has to be upgraded?
PR Dreamstation BiPap ASV, WISP nasal mask with magnets

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: How to read data from a Zeo SD card in SleepyHead?

Post by Jay Aitchsee » Wed Apr 30, 2014 3:15 pm

4betterO2 wrote:Thanks, will look again. But I thought that to use this the firmware has to be upgraded?
Yes, that is true. The firmware of the Bedside unit needs to be changed from "encrypted" to open, a fairly easy process that really doesn't affect the operation of the unit, except for making subsequently collected sleep data available and PC viewable.
One caution however, when updating the firmware, one of the steps is to erase the data on the SD card. If there is data on the card that needs to be saved, be sure to do so before updating. This is mentioned in the instructions for updating. An alternate method would be to use a new SD card. Even if a new card is used, though, the erasing step must be included.
The erasing step is to allow the data to be viewed by the PC Viewer. It won't read a card that is encrypted and it won't read a card that has a mix of encrypted and open data. Simply placing a new card in the machine as part of the update process causes encrypted data to be written, so the erasure step must be included.
The resources referenced include a method posted by bo3bber to unencrypt saved encrypted data, but I haven't used it.
Registration to the Quantified Self Forum site referenced in my links is probably required to download the firmware and other material.
Viewer: https://forum.quantifiedself.com/thread ... 57#pid3057
Other Resources: https://forum.quantifiedself.com/thread ... 73#pid3373

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video
Last edited by Jay Aitchsee on Mon Sep 01, 2014 7:23 am, edited 1 time in total.

tolerant

Re: How to read data from a Zeo SD card in SleepyHead?

Post by tolerant » Sun Aug 31, 2014 8:54 pm

Hey there!

Can somebody please answer this question by a newbie: if I buy an unused the older bedside version of the Zeo, will I be able to get three months use out of the sensors and will I be able to view and store the hypnograms on a PC if I follow all the instructions published on these forums?

Kind regards,

tolerant

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: How to read data from a Zeo SD card in SleepyHead?

Post by Jay Aitchsee » Mon Sep 01, 2014 5:38 am

tolerant wrote:Hey there!

Can somebody please answer this question by a newbie: if I buy an unused the older bedside version of the Zeo, will I be able to get three months use out of the sensors and will I be able to view and store the hypnograms on a PC if I follow all the instructions published on these forums?

Kind regards,

tolerant
viewtopic/p934775/Zeo-PC-Viewer-Install ... ml#p934775
Jay Aitchsee wrote:Tolerant, I've been able to get about 180 days use from one set of sensor pads. There are instructables on the web for making new ones, if need be.

Yes, there are a number of programs available to extract and save the data, including hypnograms, to a PC. The best, IMO, is this one:
http://www.alienrat.net/software/zeomonitor.html

With more links here:
viewtopic.php?f=1&t=98659&p=917647#p915640
For more resources, go here:
https://forum.quantifiedself.com/showth ... 73#pid3373
At this time, Sleepyhead will not present Zeo data. However, the software from Alienrat will export CSV data in the same format as that used by the Zeo website, so maybe JediMark will be able to add Zeo back in the future.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video