-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmqtt_monitor.conf.sample
85 lines (63 loc) · 1.68 KB
/
mqtt_monitor.conf.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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[server]
#
# server host and port
#
host = test.mosquitto.org
port = 8883
# login data
username = rw
password = readwrite
# ssl
usessl = Yes
[display]
# show mqtt topic in the table?
showTopic = No
# table style
# see: https://pypi.org/project/tabulate/
# "plain" simple github grid fancy_grid pipe orgtbl jira... and more
tableStyle = simple
# file to save data to, instead of displaying
# if not set, tables are displayed in console
# saveTo = /dev/shm/mqtt_monitor.txt
# shall we add an ansii reset-to-default-color code at the end of string?
# Yes for console display, no for file saving (most probably)
addResetColor = Yes
# add this header and footer to the output
# for example text logo or header or html invocation
# headerFile=header.txt
# footerFile=footer.txt
[topics]
#
# topics to subscribe, comma separated
#
topics = jl2u90nbvcj/mqtt-monitor/#, slxlfippowa/mqtt-monitor/#, x8gwiazd/mqtt-monitor/#
[replacements]
#
# change given phrases
#
sensor1 = home
sensor2 = garden
jl2u90nbvcj = berlin
slxlfippowa = moscow
x8gwiazd = warsaw
#
# dictionary of colors to highlight
#
[coloring]
'pi'= colors.fg.pink
'home'= '🏠' + colors.fg.orange
'garden'= '🌳' + colors.fg.pink
'ready'= unicodeChar.balls.green + colors.bg.green
'offline'= unicodeChar.balls.red + colors.bg.red
'failed'= unicodeChar.balls.red + colors.bg.red
'ok'= unicodeChar.balls.green + colors.bg.green
'scanning'= unicodeChar.balls.orange + colors.bg.orange
'status'= colors.bold
'wifi'= colors.fg.lightcyan
'wifi-probe'= colors.fg.cyan
'temp'= '🌡 ' + colors.fg.pink
'hum'= '💧' + colors.fg.orange
'p'= "☁ " + colors.fg.cyan
'out'= colors.fg.red
'in'= colors.fg.yellow
'rssi'= '📶 ' + colors.fg.lightgrey