-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmqtt.ini.sample
33 lines (28 loc) · 932 Bytes
/
mqtt.ini.sample
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
[DEFAULT]
capath = /etc/ssl/certs
cafile = /etc/ssl/certs/ca.pem
crt = /etc/ssl/certs/thishost.cert.pem
key = /etc/smarthome/mqtt/ssl/thishost.key.pem
auth = ssl # 'user' or 'ssl'
server = your.default.mqtt.server's.domain
keepalive = 15
clientid = someid-keep.it.unique.or.your.clients.will.fight.each.other
# or use the string "RANDOM_UUID" which will be replaced with randomly generated UUID
#clientid = somename-RANDOM_UUID
# anti-zombie cheat: how many seconds of parent inactivity to allow before force exit
# comment out if not needed
max_inactivity = 600
[your.default.mqtt.server.domain]
auth = user
user = <username>
pass = <password>
[cloud-connect-stuff]
server = your.cloud.com
auth = ssl
keepalive = 60
[another-section]
auth = user
# you can reference other section data like this:
user = ${your.default.mqtt.server.domain:user}
pass = ${your.default.mqtt.server.domain:pass}
clientid = other.instance