-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.default.yaml
68 lines (68 loc) · 1.83 KB
/
config.default.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#broker:
# host: "localhost"
# port: 1883
# protocol: tcp # tcp or websocket
#
# client_id: "mqtli"
# keep_alive: 5 # in seconds
# username: ""
# password: ""
#
# use_tls: false
# tls_ca_file: ""
# tls_client_certificate: ""
# tls_client_key: ""
# tls_version: all #all, v12, v13
#
# last_will:
# topic: "lwt"
# payload: ""
# qos: 0
# retain: false
#
#log_level: info # off, error, warn, info, debug, trace
#
## no topics are defined by default
#
#topics:
# - topic: mqtli/topic
# subscription:
# enabled: false
# qos: 0
# outputs: # by default no output is defined
# - format:
# type: yaml
# target:
# type: console # console is default and can be omitted
# - format:
# type: raw
# target:
# type: file
# path: "log.txt"
# overwrite: false # true only saves the latest message, false appends to the end
# prepend: "" # prepends a string to the beginning of each message, default is empty
# append: "\n" # appends a string to each end of the message, default is new line
# - format:
# type: text
# target:
# type: topic # payload is sent to another topic
# topic: ""
# qos: 0
# retain: false
# payload:
# type: protobuf
# definition: "messages.proto"
# message: "Proto.Response"
# publish:
# enabled: false
# retain: false
# qos: 0
# input:
# type: text # text, raw, hex, base64, json, yaml
# content: "content_to_send"
# #path: content.txt
# trigger:
# - type: periodic # default trigger: periodic with no count (indefinitely) and interval 1 second
# #count: 1 # 0 is indefinitely
# interval: 1000 # in ms
# initial_delay: 0 # in ms