Sleep as Android¶
Gadgetbridge can provide data from paired gadgets to proprietary Sleep as Android app, allowing Sleep as Android to collect & track sleep statistics with your gadgets paired in Gadgetbridge. Support for Sleep as Android has been added in pull request #3687.
Supported devices¶
- Zepp OS devices
- Bangle.js (with pull request #3785), requires installing the provider see below
- Pebble devices support a standalone separate integration - see the PebbleKit
Setting up¶
After installing Sleep as Android, enable the Wearables add-on, with selecting the "DIY" option since Sleep as Android has not yet whitelisted Gadgetbridge.
Then, use the package name matching the version of Gadgetbridge you have installed:
Version | Package |
---|---|
Mainline | nodomain.freeyourgadget.gadgetbridge
|
Bangle.js | com.espruino.gadgetbridge.banglejs
|
Nightly | nodomain.freeyourgadget.gadgetbridge.nightly
|
Nightly Bangle.js | com.espruino.gadgetbridge.banglejs.nightly
|
Nightly No Pebble | nodomain.freeyourgadget.gadgetbridge.nightly_nopebble
|
In Gadgetbridge, you must enable the Sleep as Android integration in the preferences, as well as select the device that will be used to send data to Sleep as Android.
Bangle.js¶
Along with above steps, additionally, Acceleration Data Provider app must be installed on Bangle.js to send acceleration data over Bluetooth, thus can be used for Sleep as Android.