Create a swimming, yoga and meditation activity every 6 hours starting at 3 AM.
- Login at https://dev.fitbit.com/login
- Register an app at https://dev.fitbit.com/apps/new
- Use
http://127.0.0.1:8080/
as the redirect url - Run
gather_keys_oauth2.py <CLIENT_ID> <CLIENT_SECRET>
to generatetoken.json
- Run Docker container:
- mounting
token.json
at/usr/src/app/token.json
- add
TZ
,INTERVAL
,CLIENT_ID
andCLIENT_SECRET
env vars
- mounting