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

https://github.com/aleung/ciq-sensorhistory

Garmin Connect IQ widget - display sensor history diagram
https://github.com/aleung/ciq-sensorhistory

Last synced: 3 months ago
JSON representation

Garmin Connect IQ widget - display sensor history diagram

Awesome Lists containing this project

README

        

# Sensor History

A ConnectIQ widget for Garmin VivoActive3 series watch

Time logger for anything you need to do periodically, e.g. take medicine, feed your baby. Remind you the elapsed time since you last did it.

The data is directly stored on the watch. It stores up to 10 records and old records will be removed.

## Use
Main Screen:
- Tap on the yellow button at the top to add a new log entry.
- Tap other space to show history

History Screen:
- Scroll up and down to see all ten entries
- Tap or swipe right to go back

Settings can be adjusted in Garmin Connect mobile app or Garmin Express.
- Time out: in minutes. Show progress bar according to elapsed percentage.
- Alert: Wake up the widget on timeout if it's not running in foreground. The behavior on wake up differs on watch model, usually there is a vibration if the watch is not in Do Not Disturb mode.

## Screenshots
![VivoActive3 Main Screen](./screenshots/vivoactive3_Main.PNG)
![VivoActive3 Log Screen](./screenshots/vivoactive3_history.png)

## Develop
- Install JDK8
- Install Garmin ConnectIQ SDK
- Create file `properties.mk` in project root. Follow the guide at https://github.com/danielsiwiec/garmin-connect-seed
- Run `make run` to run in simulator and `make deploy` to deploy on watch.

### Install JDK8 on macOS

```
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
brew install jenv # follow the console output to setup your shell
```

Following instruction on https://github.com/jenv/jenv to setup `jenv`

Set to use JDK8 in this project:

```
jenv local 1.8
```

## Credits
- Originate from the [BabyLog:Feed](https://github.com/tanstaaflFH/BabyLog-Feed-ConnectIQ) app made by [Falko Hegewald]([email protected]).
- Icons made by [Dave Gandy](https://www.flaticon.com/authors/dave-gandy) from https://www.flaticon.com/