SleepAnalyser zeichnet ihre Bewegungen während des Schlafes auf.
Es kann die Bewegungen in einem Graphen darstellen und aufzeigen, wie sie sich während dem Schlaf bewegen.
Es hat u.a. eine Alarmfunktion. Sie können den Alarm und ein Alarm-Zeit-Fenster (z.B. 30 Minuten) einstellen. Der Alarm wird dann während dem Alarm-Zeit-Fenster ausgelöst, spätestens aber zur eingestellten Alarmzeit. Damit können sie in der richtigen Schlafphase aufgeweckt werden.
Alte Aufzeichnungen können geladen und als Bild exportiert werden.
SleepAnalyser sollte ohne Anpassungen laufen. Falls jedoch ihre Matratze hart ist oder das Telefon zu weit weg liegt, kann es möglich sein, dass sie die Parameter in Einstellungen anpassen müssen.
Um einfach mal auszuprobieren, hat SleepAnalyser eine Testfunktion.
Drücken sie auf den Programm-Titel (SleepAnalyser) und wählen sie "Test-Aufzeichnung".
Es wird dann viel schneller aufzeichnen als normal.
Dannach legen sie das Telefon neben oder unter das Kopfkissen und legen sich hin.
Jedesmal, wenn sie sich nun drehen, wird ein Ton ausgelöst.
Falls sie finden, es sei zu wenig empfindlich eingestellt, können sie den Trigger-Level erhöhen/herabsetzen.
Im Graph können sie die Bewegungen als gelbe Balken sehen.
Falls die Balken immer sehr klein ode rgross sind, kann die Skalierung under Einstellungen angepasst werden.
Eine normale Aufzeichnung sollte etwa so aussehen:
Am Anfang (grünen Phase) hat es nahezu keine Bewegungen, in der zweiten Hälfe hat es viele Bewegungen.
Es gibt zwei Möglichkeiten, aufzuzeichnen, normal, oder mit gesetztem Alarm. Schlussendlich passiert das Gleiche, aber nur im zweiten Modi wird ein Alarm ausgelöst, wenn es Zeit ist.
Falls sie auf "Alarm setzen und aufzeichnen" drücken, können sie die Alarmzeit und ein Alarm-Zeit-Fenster auswählen.
Der Alarm wird dann irgendwann während dem Alarm-Zeit-Fenster ausgelöst (sobald sie sich mehr bewegen), spätestens aber zur gesetzten Alarmzeit.
Hinweis: SleepAnalyser verwendet die in MAEMO eingebaute Alarm-Funktion. Sollte SleepAnalyser abstürzen, wird daher trotzdem ein Alarm ausgelöst.
Nachdem sie den Alarm gesetzt haben, oder direkt auf "Nur aufzeichnen" drückten, wird die Aufzeichnung gestartet.
The turning alarm clock at the bottom left will indicate that the recording is happening.
The recording is delayed for several seconds, so you have enough time to put the phone beside your pillow.
During or after the recording you can add a note, change the zoom and trigger level.
It is useful to add a note of how your sleep really was.
In that way it is later on easier to understand the graph.
The trigger level defines how the sleep durations are indicated. If you have set an alarm (see below),
it also defines how much you have to move to activate the alarm.
The recording is stopped when you close the Recording window or push on "Stop".
A new window will open where you can chose if you want to keep the record or remove it.
If you keep it, the record will be opened in the view window.
If you push on "View records", the View window opens and shows the last created record. With the two arrow buttons on the bottom left side, you can go through the records stored in ~/MyDocs/SleepAnalyser/. Also you can open a specific record in any directory with the "folder" button. If you push on the "date" button, you can select a record from a specific date (only from the folder ~/MyDocs/SleepAnalyser/) Like in the recording window, you can set/change a note, zoom in or out or change the trigger level. Additionally, in the View window you get more informations about the record.
Se below on Graph to understand what the graphs.
There are a few settings you can change:
Offline Mode: When this is activated, the phone will switch to Offline Mode while recording.
Silent Profile: When this is activated, the phone will switch to the silent profile while recording.
Stop after alarm occurred: When this is activated, the recording will automatically stop after the alarm occurred.
User name: Set or change your user name. This name will be saved in the record file
Start delay: Set a delay for the start of the recording, so you have enough time to put your phone beside your pillow.
Y scaling movement (yellow): This defines how much the graph gets stretched in Y axis. Increase this value if the yellow movement bars are too small. Changing this value will not have an effect on the trigger or alarm. Increasing this value is usually needed if you have a very hard mattress or the phone lies far away.
Y scaling sleep graph (blue): This defines how much the blue graph gets stretched in Y axis. The blue graph tries to interpret your sleep pattern. If the graph is always on the bottom or top, play with this parameter.
More parameters can be set in the file ~/SleepAnalyser/SleepAnalyser.conf.
How ever you should only touch them if you know what you do! Normally they don't have to be adjusted.
During recording, the data is written to a record file. Every time you start recording, a new file is created. The files are saved in the folder ~/MyDocs/SleepAnalyser/. They are plain text and you can share them easily with somebody else who has the same application.
In the Recording or View Window you will see the graph with your movements and other details:
Your Movements are shown yellow. If the movements are stronger, the bars go higher.
At the bottom of the graph you can see horizontal bars in different colors. They represent the time between the movements over the trigger level:
Green: More than 30 minutes without movement
Dark Green: More than 15 minutes without movement
Orange: More than 8 minutes without movement
Red: Less than 8 minutes without movement
The white line in the graph shows the currently set trigger level for the bars.
There is also a white number on the right side indicating the trigger level.
You can lower/raise it with the up/down buttons.
You will have to experiment with it as it is different for everybody depending how soft
your mattress is and how far away you put the phone.
Those conditions will have an affect on how the phone records your movement.
The gray line and number (View window only) show the originally set trigger level for this record.
If you have set an alarm, you will see an orange bar in the graph with the set time window for the alarm.
If the alarm goes off, it will be marked with a red point.
And finally the blue graph (View window only) tries to interpret your sleep pattern. Basically it is a multiplication of all movements with a defined sleep window. If the graph is always in the lower part, you have a smooth (deep) sleep. If the graph is often and for a longer time in the upper part, it means you move a lot and are most likely in a light sleep or even awake.
The application will drain the battery around 10..20% per night. It is suggested to have the phone charged or to charge it while using SleepAnalyser for a longer time.
Make sure the phone is not fully covered with your pillow, so it will not overheat!
If you don't feel confident to have a phone close beside hour head for the whole night, activate the option "Offline Mode" in the settings window. It then will automatically change into Offline Mode while it records.
SleepAnalyser uses the built in acceleration sensor to detect your movements.
If you would like to know more about the used algorithm, have a look on
http://www.ruinelli.ch/sleepanalyser/.
This application is distributed for free under the GPL.
You may redistribute and modify it freely, as long as you follow the rules of the GPL.
I will not give any warranty for any harm on people, environment or the phone.
Copyright 2010 by George Ruinelli (george@ruinelli.ch).
For more information, please visit
http://www.ruinelli.ch/sleepanalyser/.
The icons are from KDE Nuvola theme (by David Vignoni) and KDE Oxygen theme (by Oxygen Team)
Special thank goes to the MAEMO community. Without their help, suggestions and feedback SleepAnalyser wouldn't be what it is now.