-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.config.toml
33 lines (30 loc) · 1.74 KB
/
template.config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This template file should be left untouched
# The app will in order:
# 1. Read this file (template.config.toml)
# 2. Overwrite the settings with those in file config.toml (it it exists)
# 3. Overwrite the settings with environment variables called "LIFE360_INFLUX_<SECTION>_<KEY>"
# (with section and key uppercase), if these exist.
# For example, set the env var LIFE360_INFLUX_MAIN_LOG_VERBOSITY to DEBUG to overwrite the log verbosity
[life360]
username = "user@email.com" # Life360 login.
password = "strong password" # Life360 password.
# Optional. List of circles to process. If not specified, app will query the list of circles
circle_ids = []
# Shouldn't need to change the below entries; therefore don't need to set them to config.toml or env vars
auth_token = "Y2F0aGFwYWNyQVBoZUtVc3RlOGV2ZXZldnVjSGFmZVRydVl1ZnJhYzpkOEM5ZVlVdkE2dUZ1YnJ1SmVnZXRyZVZ1dFJlQ1JVWQ=="
base_url = "https://api-cloudfront.life360.com/v3/"
user_agent = "com.life360.android.safetymapd"
token_url = "oauth2/token.json"
circles_url = "circles.json"
circle_url = "circles/"
# Create org, bucket & token by navigating to your influx url from a browser
[influx]
url = "http://localhost:8086" # Location of influxdb v2 server
bucket = "Life360" # Name of available bucket
token = "super-secret-token" # Token with write permission to bucket
org = "your org in influx" # Org of the bucket
measurement = "location" # Name to give to measurements
no_op = false # Set to true for testing, in which case connection is tested but records are not imported
[main]
log_verbosity = "INFO" # By increasing level of verbosity = FATAL, ERROR, WARNING, INFO, DEBUG.
loop_seconds = 180 # Time to wait between two queries to Life360's backend. 0 to only query once