It took 3 days, but I did it!   
The app now successfully connects to the S+ sleep tracker, starts a sleep session, and receives an update with the breathing rate and sleep stage every 64 seconds!
Here are some screenshots: (I will add a nice UI for it soon, with graphs and such; the below was just for debugging)
Screenshot_2017-02-14-23-21-15.jpg
Screenshot_2017-02-14-23-21-30.jpg
This is, as far as I'm aware, now the best path available for lucid dreamers to track rem-sleep entry.
* It's relatively cheap. ($23 on Ebay, $50 on amazon)
* It's accurate. (at least for rem-sleep; it's almost never been wrong about whether I awoke from it)
* It's contact-free. (this one's very nice, as it means you can use it every night without discomfort)
* It's able to be accessed from custom code, on an Android phone/tablet, making it portable and very flexible. (since you can script whatever actions you want instead of relying on a closed developer adding them for you)
I'm excited to start trying this out with random ideas of what to script in as triggers for lucidity, once rem is detected -- the prior steps are set, we just need something to either:
* Get from the external world into your dream reliably, as a sign/cue.
* Wake you up, but do it lightly enough that you can go back to sleep right away for a DEILD. (I think this one will be more successful)
Because it's all managed in-app, the platform makes it easy to experiment with new ideas rapidly, so I'm optimistic it won't take that long to find something that works -- but we'll see.
Anyway, in the process of implementing the linkage, I made a partial monstrosity of the library's Java code, so I still need to clean stuff up before I upload the new feature to Google Play.
But seeing that it now works makes me really glad I went through with the process instead of delaying once I realized the amount of work involved.
Anyway, hope you guys can try it out sometime soon! It's a new era for lucid dream induction. (okay, I'm being a little dramatic, but it is pretty exciting)
|
|
Bookmarks