forked from irvined1982/MQTT2RRD
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mqtt2rrd.conf.example
84 lines (66 loc) · 1.37 KB
/
mqtt2rrd.conf.example
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
[daemon]
data_dir = /tmp
pid_file = /tmp/mqtt2rrd.pid
user = mqtt
group = mqtt
[logging]
log_file = /tmp/mqtt2rrd.log
log_level = 20
[mqtt]
client_id = "MQTT_to_RRD_TEST"
hostname = test.mosquitto.org
port= 1883
username=NN3-EU-XXXXXXXX
password=PASSWORDONMANUAL
keepalive=60
# 475 is for pure cool link
subscriptions=475/NN3-EU-XXXXXXXX/status/current,475/NN3-EU-XXXXXXXX/status/summary
[/other/important/topic]
friendly_name = "My Important Topic"
step=30
archives=RRA:AVERAGE:0.5:1:120,RRA:AVERAGE:0.5:5:288
# ENVIRONMENTAL-CURRENT-SENSOR-DATA data
[tact]
friendly_name = Temperature
filter = "cel=tact,10,/,273,-"
vlabel = Degres C
# Celsius conversion x / 10.0 - 273 (3034 / 10.0 - 273 = 30 °C)
# max 5000
[hact]
friendly_name = Humidity (%)
vlabel = Pourcentage
# max 100
[pact]
friendly_name = Dust level
vlabel = ppm
# max 9
[sltm]
friendly_name = Sleep Timer
# max 9999
[vact]
friendly_name = Volatile organic compound Level
# max 9
# CURRENT-STATE product-state
[fmod]
friendly_name = Mode
vlabel = FAN/AUTO
[fnsp]
friendly_name = Fan speed ( 0001 - 0010 )
label = Vitesse
vlabel = OFF/FAN
[fnst]
friendly_name = Fan State
[oson]
friendly_name = Swing ( ON , OFF )
vlabel = ON/OFF
[nmod]
friendly_name = Night mode
vlabel = ON/OFF
[qtar]
friendly_name = Air Quality Target
[rhtm]
friendly_name = Collect Data
[filf]
friendly_name = Filter Life
vlabel = Days
# max 4300