1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

mqtt: added example configuration

This commit is contained in:
Steffen Vogel 2018-01-17 01:22:26 +01:00
parent 2a1bdbc639
commit cb8cc1e942

View file

@ -302,6 +302,29 @@ nodes = {
"int32"
]
}
},
mqtt_node = {
type = "mqtt",
format = "protobuf",
host = "localhost",
port = 1883,
keepalive = 5, # Send ping every 5 seconds to keep connection alive
retain = false,
qos = 0,
publish = "test-topic",
subscribe = "test-topic",
ssl = {
enabled = false,
insecure = true,
cafile = "/etc/ssl/certs/ca-bundle.crt",
certfile = "/etc/ssl/certs/my.crt",
keyfile = "/etc/ssl/keys/my.key"
}
}
};