-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.yaml
executable file
·22 lines (22 loc) · 1.14 KB
/
sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
log:
path: "~/foo.log" # optional; alternatively, use environment variable T2M_LOG_PATH
tibber:
token: "tibbertoken" # alternatively, use environment variable T2M_TIBBER_TOKEN
home: "homeid" # alternatively, use environment variable T2M_TIBBER_TOKEN
mqtt:
server1: # a name of your choise, will be shown in the logs
host: "127.0.0.1:1883"
topic: "foo/abc"
server2:
host: "1.2.3.4:8883"
topic: "bar/def"
ca: "path/to/cert/ca/file.crt" # optional, onyl used for TLS connection
tls_insecure: false # optional, must be set to true for self signed certificates
user: "username" # optional, only for auth via username + password
password: "password" # optional, only for auth via username + password
public_key: "path/to/cert/public/key/file.crt" # optional, only for auth via certificate
private_key: "path/to/cert/private/key/file.crt" # optional, only for auth via certificate
watchdog:
tolerance: 20 # maximum time between two live data packets (in seconds)
timeout: 5 # delay between losing live data and reconnect (in seconds)
maximum_timeout: 600 # maximum delay between losing live data and reconnect (in seconds)