![]() |
All about SleepAnalyser
Sleep Analyser records 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. 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. Old records can be visualised and you can load records from your friends. SleepAnalyser also has a test function. It will record and visualise much faster. Also it will make a beep when ever your movement goes over the trigger level.
For more information and screen shots, please have a look on http://www.ruinelli.ch/Sleepanalyser SLEEPANALYSER NEEDS YOUR HELP! There is a new version in Extras-Testing. Please test it and vote for it: http://maemo.org/packages/package_in...alyser/2.1-21/ I am sure people using only Extras repo would really appreciate that! For more infos, see end of this thread. -------------8<------------------------------------------------ OLD THREAD Hi all I just uploaded the first working release of my new application SleepAnalyser into Extras-Devel. Similar to the iPhones SleepCycle, it records your movement during your sleep. For now it visualises it and shows you how much you at which time move. Later on my goal is to interprete it and set flexible alarms,. For that I will need your help: Can you test the application and send me the records of your movement? As more data we have available as easier it should get to interpret the data. (Note: it includes the last few digits of your IMEI into the log file. This way I can differ between different people.) If you would like to help, you are more than welcome. The application is written in Python and PyMaemo (Qt). The source code is available on the project website: https://garage.maemo.org/projects/sleepanalyser/ |
Re: New application: SleepAnalyser
wow, great, I'm really interested.
But how is this working: Quote:
|
Re: New application: SleepAnalyser
I will be proud to test. but after "successful" installation is not in menu nor executable from shell.
after upgrading the package everything is ok. I will give it a try and send you the out. |
Re: New application: SleepAnalyser
Quote:
To the OP: Great! Nice to see another developer face :) |
Re: New application: SleepAnalyser
Please explain where we are supposed to put the phone?
|
Re: New application: SleepAnalyser
Have a nightshift to do but in about 10h i'll start a test. Hope to have the missing answer for a good spot for the phone till then.
|
Re: New application: SleepAnalyser
So we're supposed to have the phone in a pocket or somehow strapped to ourselves while we sleep?
Sorry, but no thanks. Not only would it be uncomfortable, but i like my device too much to risk climbing over it in my sleep |
Re: New application: SleepAnalyser
|
Re: New application: SleepAnalyser
That's a really nice programm. I will try it in the next few days and send you the log files afterwards.
|
Re: New application: SleepAnalyser
Quote:
|
Re: New application: SleepAnalyser
A while back I was looking to buy one of the official devices that go in your wriste but only seem to be available in america, this is a great idea if it works, thank you.
on one note, for health & safety reasons I would highly recommend you turn wifi off, turn bluetooth off & set the phone mode to tablet mode... Even then, I think having eletrical power next to your body might not be very healthy, if you ever study thai chi or some other similar accient martial art, then you should know what i meant, but then such people probably would not even own a mobile phone :) either way thank you |
Re: New application: SleepAnalyser
Quote:
Quote:
Please, don't spread this kind of unsupported nonsense. |
Re: New application: SleepAnalyser
Quote:
|
Re: New application: SleepAnalyser
Quote:
|
Re: New application: SleepAnalyser
if i have the phone playing music while falling asleep, does this wreck the 'recording'?
|
Re: New application: SleepAnalyser
Does not appear to have a .desktop file so cannot start it!
|
Re: New application: SleepAnalyser
Quote:
http://imagecache2.allposters.com/im...6-3989D-FB.jpg |
Re: New application: SleepAnalyser
@jasonisdavid & JonWW
after the installation, I couldn't find the application, so the only thing I did was using the app manager,and under the update menu, update sleepanalyser. now is working. Going to test it now! |
Re: New application: SleepAnalyser
Quote:
|
Re: New application: SleepAnalyser
Hi all
Thank you for your interest. When you start the application you will see some more informations. I suggest to put it beside your pillow. As I usually charge my phone over night (so it is ready in the morning), I plug it into the charger. Make sure it is not covered with your pillow. I did it once and the phone got really hot :( Also I suggest to change to offline mode. This will prevent you getting woken up by a drunken friend calling you :) Also it is healthier. Scientist are not sure themselves how unhealthy phones beside your heads are, but they also figured you that it can be good aganst brain tumor in some cases... :) All the application does is measuring the acceleration and some math with it. If you had a look on the iPhone SleepCycle app, they do exactly the same. So theoretically we should be able to do the same or even better as we have less HW and OS restrictions. The difficulty is how to interprete the data. I did some research and figured out that it is almost impossible to correctly figure out in which sleep pattern you are. Just search for some scientific tests with the iPhone and you will see that it can be very off track. So please do not except too much! I wrote this app just for fun and because it shows me more or less how long I sleep. If we can get it to make a similair graph like the iPhone, I will be very happy. Version 1.0.12 should work with the icons, if not, please let me know. As I am debugging directly on the phone, it is very hard for me to test. Sometimes (like now) the icon does not work even everything seems to be in the right folder. I am wondering if the cache is not always refreshed. |
Re: New application: SleepAnalyser
Quote:
Smart icon! |
Re: New application: SleepAnalyser
Yeah all working now thank you. Will test it now, need sleep before my presentation tomorrow!
|
Re: New application: SleepAnalyser
Quote:
b) I doubt that any ancient text mention bluetooth effects on Qi. c) Technically, it's a belief and religion is not allowed on TMO. Community rules, as much as I'd like to elaborate on this. Finally, it's a very good idea. There is an app called SleePy, but it does the alarm without the graph, I prefer it this way. I was ready to make my own analyzer using motion detection and a camera, but this is simpler. Giving it a try tonight. |
Re: New application: SleepAnalyser
I also see another app called sleeppy that does the same thing. Anyone tried both and share a comparison?
|
Re: New application: SleepAnalyser
1 Attachment(s)
here you go... very nice app!
btw I've found few issues: - zoomed plot is not scrollable - maybe a button "stop logging" in the logging window will be useful. I mean for coherence reasons.. I was not sure if I should close it without losing data.. another suggestion I can give you is to "store" also the threshold value inside the log. FYI, I was using 14. oh, I think the correct spelling is interval and not intervall :) [inside logfile] ps: I don't like sharing imei... even the last 5 digits.. may I suggest to use some other solution? like phone number * last serial number digits... |
Re: New application: SleepAnalyser
Quote:
|
Re: New application: SleepAnalyser
Hi, I had it running all night but found no way to save the file in the morning. As I don't understand the workings of the linux file system, I couldn't find it - either with file manager or while connected to my PC. After rebooting the phone, the file was gone.
You should have a way to save the file to a user-defined destination. |
Re: New application: SleepAnalyser
1 Attachment(s)
Nice app idea :)
I would like to test my sleeping patterns after a heavy night time activity :D with or without alcohol as well. I always think after a beer I sleep more comfortably. Lets see what the actual data will say about my observation. Attached my last night log for your view caco3 |
Re: New application: SleepAnalyser
Quote:
http://talk.maemo.org/showthread.php?t=53382 http://talk.maemo.org/showthread.php?t=50100 ...just putting them out there for someone to flag them for moderation/closure then :P Oh and to keep this post semi relevant to original topic.. Program actually looks good, My phone sleeps beside me so might as well try it out... hmm I just realised i said "sleeps beside me" ...I think I'm over attached to it :( |
Re: New application: SleepAnalyser
1 Attachment(s)
Very cool app, been loking for one like this.
Glad to help out with a log, default trigger. |
Re: New application: SleepAnalyser
haha, i'm the exact same!
gonna try this app tonight, looks awesome! so is the theory once you get some decent data to draw on, the app will be able to recognise how many sleep cycles i've had, so i could set it to wake me "after 3 sleep cycles"? if so, utterly blown |
Re: New application: SleepAnalyser
2 Attachment(s)
Edit: Forget about this post, it seems that my run was in "demo" mode.
Some people actually do change hostname on their N900, so that may not the ideal way for checking if you're on real hardware or not. I'll post better log in a few days. Unnecessary stuff below. I've got a log to post too. For some reason, it appears as if I haven't stayed still for the whole night. Or maybe the building was shaking. Attachment 11653 Also, found a bug for you. The app is happy to create files with utf-8 characters in the name, but is unable to view them afterwards. (The original month name in my logfile was 'kesä') Edit: The battery drain (as warned about in the app instructions) seems like a non-issue, at least to me, see the attached image. The higher drain before 3am is due to me listening to a podcast. Attachment 11654 |
Re: New application: SleepAnalyser
I'd suggest the original poster changes the title of this thread to "[ANNOUNCE] SleepAnalyser" to be in line with other application announcements. Makes it much easier to search!
|
Re: New application: SleepAnalyser
|
Re: New application: SleepAnalyser
1 Attachment(s)
Here is my log. Looking forward to see the wakeup funktion :)
|
Re: New application: SleepAnalyser
Mine looks odd. What is your trigger level? I can't tell if I sleep like a log or spin like a broken wheel.
Also, I'd like to add the power consumption is minimal. With 7 hours sleep, battery fell from 94% to about 80%, which is quite good. Also, I'm overclocked, so it's pretty efficient. |
Re: New application: SleepAnalyser
1 Attachment(s)
So there is my first night of using it. Never realised how much i moved in the night!
On another note, it would be great to have a simple desktop application for viewing these files on a pc other than excel type software. Just so we can compare files easy or perhaps in more detail? |
Re: New application: SleepAnalyser
1 Attachment(s)
Here's what I got from using it last night. I put it about a foot away from my pillow, towards the edge of the bed, same position as I would put it when I use SleepPy. The trigger level was the default level at 14. The battery level went from 83 to 70% as I "sleep" for about 7.25 hours, this is about the same for SleepPy. According to SleepPy it takes me around 10 minutes on average to fall asleep so I'll assume it was the same last night, it'd be nice to have this feature added onto this program as well. Looking at my data, the yellow lines are just all over the place, I have red bars below that multiple times in an hour, no green or dark green..not sure what to make of it yet.
Anyone knows if raising the trigger would make it more sensitive or less sensitive to movements? |
Re: New application: SleepAnalyser
Hi all
Thank you for all your feedback. I just uploaded a new version (1.0.14). I added some buttons and made lables clearer. Now you can toggle trough existing log files. Please be aware that it responds very slow => there is improvement needed. Some clarifications: This applicaion is a toy, not a tool! For now it just records your movement. There still is a lot of work needed to make the graph better and to interpret the data! Please do not yet expect too much! The Logfile (now called "Records") stores only the smoothened acceleration data. Therefore I do not need to save the trigger level. Right now I can import it into Excel where I have the same algoriths to generate the graph. Later on also a PC application might be able to do that. For now if you have Python on your PC, just copy the folder "/opt/SleepAnalyser" to your PC and start main.py. Then you can also open the records on your PC. Like sombody pointed out, if you do not run it on a N900, the sensor data gets simulated. Thank you all for testing and publishing your sleep patterns :) As I have a VERY slow internet connection at the moment, I can not do too much with it. Also I think we should find a better to exchange our records. |
Re: [ANNOUNCE]: SleepAnalyser
I tried this last night, but I am not sure of the appropriate trigger level if sharing a bed with someone.
I realise I may be the only one here doing that. ;) |
All times are GMT. The time now is 21:54. |
vBulletin® Version 3.8.8