The research app first.
An app that ran the whole night as the data pipe. It spoke to the sensor over the accessory link, asked questions before sleep and after waking, and posted each night's data to a rented backend-as-a-service, picked to prove the idea fast, not to be permanent. The point was proof, not polish. It proved it.