@abadesi thanks for asking! The app uses the accelerometer and microphone to track your movement and noise values throughout the night (no actual recordings, ever!). It encrypts the data and sends it to the server in the morning, when you stop tracking.
The server calculates how long it takes you to fall asleep and how many times you wake up based on heuristics found in sleep literature. For calculating the effectiveness of each recommendation, we use an artificial intelligence method to determine which condition (the intervention or the baseline) is most likely to be helping you improve your sleep.
Shimmer