Developer API

Sleep as Android can be fully automated and there are plenty of integration options. Most actions can be called from an external process and 3rd party apps can hook on most events. Anyone can integrate a new tracking device with Sleep as Android or access sleep data in Sleep Cloud. Please see more on the various integration and automation options below.

9 thoughts on “Developer API

  1. Hello,
    Is it possible to port the Sleep for Android over to the Microsoft Band 2? I am interested in leveraging the Microsoft Band 2 to get information about snoring. Can any of you guys do that?

  2. Have you considered connecting with the cpap Bluetooth devices to help bring a fuller sleep picture for those with sleep apnea? Is there a way to import data into the app? I see there is a cvs api to export data. Similarly, I understand my watch has an oxymeter. Would it be possible to get periodic o2 readings?

    1. Hello Daniel, thank you very much for letting us know about the BT CPAP devices, we didn’t hear about them until now. I assume it is a really small market, because even sleep apnea is very under-diagnosed. I’d like to ask you though what sense does it make to have the bluetooth on CPAP – what do you do with the data from the night?

      Currently, we don’t have the data model to accept O2 measurements, but we are currently thinking about it hard 🙂

  3. I don’t know if this is the right place to ask, but would it be possible to support the Ticwatch? You would only need to add a couple of lines to support their API. It’s based on Android and the wear client gets autoinstalled, only issue is that it won’t connect because it tries to use the Android Wear API.

    You can find more info about the API implementation here:

    Thank you!

    1. Hi Jan, the time is not really calculated – alarm is reacting to the current sleep conditions, so it is not known until the underlying conditions become good for waking up, and then it will sound right away.

Comments are closed.