The Zeo Device

The Zeo sleep manager is a device placed on a headband capable of recording quite accurately (via EEG - Electroencephalography) the sleep stages you go through. Basically, Zeo considers 4 stages: (
i) awake, (ii) light sleep (corresponding to sleep stages N1 and N2), (iii) deep sleep (corresponding to stage N3), and (iv) REM sleep. The data gathered throughout the night can then be uploaded on their website and compared to the Zeo users database, or exported for personal analysis purpose. A typical sleep graph from Zeo is shown on the figure below.

ZeoSleepGraph
Fig. 1: Sleep Graph displayed from the Zeo website (not available anymore).

Exporting the Sleep Data from iTouch/iPhone Devices

It is really unfortunate and sad, but it has been announced early 2013 that the company that has been developing and selling the Zeo device
is shutting down. And it seems that the Zeo website is now down. Therefore, since it is not possible anymore to rely on the latter for exporting the sleep data, I ended up with the following procedure for extracting it directly from the iTouch/iPhone I use with my Zeo Pro+ Mobile (v1.9.2 - 2012111513). The applications I use are for Mac OS, but I am sure that equivalent ones can be found out for other operating systems:
  1. the apple Touch is backed up in iTunes,
  2. the backed up data is extracted with JuicePhone (or iFunBox),
  3. the ZeoDataStore_v1.1.sqlite file (located in "Application Data/Zeo Sleep Manager/Library" of the backed up data) can be opened with SQLite Browser, and the table ZZOSLEEPRECORD is exported in csv format.

From these inputs, I implemented a
simple Java program for reconstructing the sleep data as it was exported by the former Zeo website, the procedure is then the following:
  1. the csv file from the step 3 above must be imported in Excel (during the import process, make sure while using the Text Import Wizard to import all the columns with the "Text" data format since my program expects all the data to be serialized as strings in the Excel cells),
  2. execute the Java program as described in the README.txt file.

Download Zeo data


References & Links
[1] John R. Shambroom, Stephan E. Fabregas and Jack Johnstone, “
Validation of an automated wireless system to monitor sleep in healthy adults”, Journal of Sleep Research, 2012.