Files
service_netatmo/config.example.yaml

44 lines
816 B
YAML

# Copy this file to config.yaml. Keep config.yaml private; it contains secrets.
server:
host: 127.0.0.1
port: 30225
threads: 4
url_prefix: /w
storage:
rrd_folder: /var/lib/rrd
logging:
file: /var/lib/rrd/netatmo_service.log
level: INFO
max_bytes: 5242880
backup_count: 5
console: true
collector:
enabled: true
interval_seconds: 600
graphs:
width: 900
height: 420
netatmo:
client_id: REPLACE_ME
client_secret: REPLACE_ME
redirect_uri: http://www.example.com/w
token_file: /var/lib/rrd/netatmo_tokens.json
device_id: ""
refresh_token: ""
access_token: ""
token_url: https://api.netatmo.com/oauth2/token
stations_url: https://api.netatmo.com/api/getstationsdata
modules:
outdoor: Outdoor
wind: Wind
rain: Rain
bedroom: Bedroom
study: Study
living: Living