Hey thanks for the positive words. Right now the system relies heavily on a web server. Which runs php and mysql. I'd like to move some of the work to the app on the phone, so you can check out sleep data in detail in the app. That is proving hard though, say you have 2 years of sleep data, 4 nights a week, that data adds up and the phone seems to have trouble. I'd also like to move away from php and mysql.
Then there is the problem of whether or not to centralize this data(my web server) or figure out a way that anyone can just run an app on their pc and view the sleep data. Without needing internet access. Just plug the phone in, run the program on pc. If I do that I can only work on a window app. If I do a web server backend then any OS is supported, but your sleep data is stored on a server you don't control. So it's a tough nut. Like I said I have all the bits working. But fleshing this out into a system is the hard part.
Right now the phone app runs in tandem with the myzeo app for android. A service collects the sleep data as the myzeo app is running. The service then uploads the epoch data to the webserver, where it's stored in a mysql database and you can go to this website and see all your data and select a specific sleep record to view in detail.