To do that we probably would need to match their acceleration data against acceleration data from the JS2 since thats probably the only common denominator. Then we could map the current values to their values/sleep levels.
Not done in 5 minutes;)
I do like that they go top down ( 0 = unknown, 1-3 = sleep stages 3-1, 5 = REM, 6 = awake, 7 = movement), it looks weird to be awake at 0 and sleep at 4 in the current log data;)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
To do that we probably would need to match their acceleration data against acceleration data from the JS2 since thats probably the only common denominator. Then we could map the current values to their values/sleep levels.
Not done in 5 minutes;)
I do like that they go top down ( 0 = unknown, 1-3 = sleep stages 3-1, 5 = REM, 6 = awake, 7 = movement), it looks weird to be awake at 0 and sleep at 4 in the current log data;)