Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/urbandroid-team/sleep-as-android-garmin-addon

Code for both Android part and Garmin part of the Sleep as Android Garmin smartwatch integration
https://github.com/urbandroid-team/sleep-as-android-garmin-addon

android garmin sleep

Last synced: about 11 hours ago
JSON representation

Code for both Android part and Garmin part of the Sleep as Android Garmin smartwatch integration

Awesome Lists containing this project

README

        

# Sleep-as-Android-Garmin-Addon

[![Join the chat at https://gitter.im/Sleep-as-Android-Garmin-Addon/Lobby](https://badges.gitter.im/Sleep-as-Android-Garmin-Addon/Lobby.svg)](https://gitter.im/Sleep-as-Android-Garmin-Addon/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This is a full source for the Garmin watch integration for Sleep as Android by Urbandroid Team. The repo contains both Android part and Garmin part. Contributions are welcome as well as any inquiries!

## Android addon

Android part (distributed on Play Store as [Sleep as Android Garmin Addon](https://play.google.com/store/apps/details?id=com.urbandroid.sleep.garmin)) can be found under /SleepGarmin-android.

## Garmin watch app

There are two versions of the Garmin watch app:

- the old app (distributed until Aug 2020) can be found under /SleepGarmin-watch
- the new app after a complete rewrite, with min CIQ API level 3.1 and using batched sensor readings, distributed since Aug 2020 on Garmin ConnectIQ store as [Sleep as Android](https://apps.garmin.com/cs-CZ/apps/e80a4793-f5a3-44c7-bd7f-52a97f5d8310)) can be found under /SleepGarmin-watch2.

### Releases and sideloading

Release versions for the watch app can be found under /watch-releases. Each version is an .iq file, which is actually a ZIP archive containing versions of the app for all compatible devices.

To sideload a specific version of the app onto your watch:
- unzip the .iq file
- open up the `manifest.xml` file. Among other things you'll see a list of devices, each one looking like this:
```xml

```
- take a look at `id` - that's the model of the device, and `filename` shows the corresponding file to be sideloaded
- find your device in the list and get its .prg file
- take this .prg file and copy it onto your device, into /GARMIN/APPS (make sure to delete any previously installed or sideloaded version of the same app)

## Responsible developer

[Jiri Richter](mailto:[email protected])