SleepAnalyser

SleepAnalyser is an application for the MAEMO 5 based mobile phone N900.
It can record your movement during your sleep.

It is able to visualise it on a graph to show how much you move during your sleep. This can help to indicate how you sleep. It also has an alarm function and other features. You can set the alarm and a time window (ex. 30 minutes). The Alarm will then go off sometimes during the time window (as soon as you move more), but latest at the set alarm. This should help you to wake up while you are in the light sleep phase. Old records can be loaded and visualised and the graphs can be exported as bitmaps.

Features

  • Records your sleep pattern
  • Shows detailed your movement during your sleep
  • Alarm will go off when you start moving more (means you are not in deep sleep any more)
  • Graphs can be exported
  • Lucid dream music option
  • Wake up music option
  • Multilingual support, currently English, German, French, Dutch and Chinese

Requirements

  • N900 or equivalent embedded device with acceleration sensor.
  • MAEMO operating system (Should also run on MeeGo with minimal changes, but untested)
  • Python > 2.5

Screen shots

Start screen
Configuration window
Recording options
Set alarm
View window
Detailed information to each record
Sleep pattern graph (full zoom)

Documentation

Download

How to use

Just put the phone under or beside your pillow before you sleep. The phone will do the rest.

How does it work

SleepAnalyser uses the built in acceleration sensor to detect any movement of your body while you are asleep. Those movement are filtered and smoothed to generate a meaningful graph.

Note

SleepAnalyser is published under the GPL. Feel free to modify and redistribute.

Comments
  • Post a comment

    Threaded commenting powered by Spectacu.la code.

  • Timo April 22, 2012 at 19:05

    Still no news on SleepAnalyzer2 for N9? I used SA for N900 all the time!

    • George April 25, 2012 at 16:57

      I am currently not planning to port SleepAnalyser to the N9. In my opinion there is just no market for it. Even if I could earn money for it, it would by far not be worth the time I would have to invest. Also there are still some unsolved issues, like there is no way to set an alarm. Unless Nokia does not provide a way for this (will most likely never happen), there is no point for SleepAnalyser on the N9.

  • Romuch April 1, 2012 at 12:27

    Thank you for the useful program! If possible, I would like to make the Ukrainian language. If you can translate what that language file from English to Ukrainian – I’ll do it!
    P.S.: I’m sorry for my incoherent English)

    • George April 5, 2012 at 11:19

      If you are willing to translate it into your language, please see http://talk.maemo.org/showpost.php?p=898423&postcount=258
      You will need to understand the English terms and then translate them into your language.
      Let me know if you really want to do it and I will send you the latest language file

  • blert November 10, 2011 at 00:26

    Any progress on an N9 port?

    • George November 10, 2011 at 20:43

      I started to work on it, but its a lot of work since I will have to rewrite the whole GUI with QML.
      Also its very frustrating, since there is no proper API available, i.e. I am not able to set an alarm. As this is a a key functionality of SleepAnalyser, I still first have to solve this.

  • Virgil March 18, 2011 at 05:49

    Hi,

    what a wonderful app you wrote! Thanx a lot!
    Will there at some point be the option to record sounds when above a sertain sound level?
    i talk in my sleep some times and love to know what im talking about.. lol

    Thanx!

    • .t November 29, 2011 at 07:23

      +1. i’d love to hear what has been spoken during the night :)

  • HeTi March 8, 2011 at 19:25

    Excelent application, where to donation ?

    • George March 11, 2011 at 14:12

      Hi HeTi

      Thank you for your feedback!

      You can donate with PayPal or to my bank account with IBAN, see About page.

  • peter January 13, 2011 at 14:35

    Will it be available for a Chinese version? I know a lot of users who don’t understand Eng, and I believe it will be much more popular if shows in Chinese…

    • George January 13, 2011 at 15:18

      If you are willing to translate it, sure we can have it in Chinese.
      As I don’t speak/write/understand this language, I can not provide it myself.

      If you are interested to translate it, please have a look at http://talk.maemo.org/showpost.php?p=898423&postcount=258

      • slaweet June 7, 2011 at 19:41

        Hi,
        I’m interested in translating to Czech, but I have a problem with step 2. I don’t know whether I’m blind or stupid, but there’s no attachment.

  • vsj January 2, 2011 at 23:04

    i also thought about the recording with the microphone. it should of course be an option and probably needs a lot of (public?) testing to develop in to something useful. the snorer is not always the only one making noise. hope to see an update with something like that some day.

  • gunni January 2, 2011 at 09:08

    Just tested this app for one night, and it really seems to work.
    Would be great if it could record noise from snoring through the microphone, too.

  • gs1 December 30, 2010 at 12:09

    Fun – thanks. One of the few maemo progs with useful documentation!

  • helping hand December 27, 2010 at 17:04

    Hi! I would want to help with translation to Finnish though i’m not familiar with python-language and have very little experience in other programming too. If you have some kind of language-file where i can translate to finnish, i’d be happy to help with this project.
    BTW, great application indeed!

    • George December 27, 2010 at 21:51

      Thank you for your offer!
      There is already somebody working on a Finnish translation.
      It should be ready in the next days.

  • pepper December 8, 2010 at 15:30

    absolutely great app! many thanks.