2 option url http://host-to-send/meteo/send.php
4 option password some-strong-pwd
7 option devid "9C65F920F34E" # mac-addr usually
9 config internal 'input'
10 option exec "/usr/bin/stdbuf -o0 /usr/bin/weathermon-iio"
12 # config internal 'serial'
13 # option port /dev/ttyATH0
17 config internal 'logging'
19 # option touch_file /var/run/weathermon/weathermon.last
21 config internal 'mqtt'
22 option host mqtt-host-to-snd
24 option password some-strong-pwd
26 config internal 'alarm'
27 # option exec /usr/local/bin/alarm_received
29 config internal 'hardware'
32 config internal 'process'
34 option working_dir "/var/weather/"
35 option dump_file "/var/weather/weather.state"
36 option logdb "/var/weather/weather.db"
37 option backlogdb "/var/weather/backlog.db"
38 option engage "/sys/class/leds/some-led"
39 option engage_mode "default-on"
40 option disengage_mode "none"
41 option mute_file "/var/weather/mute" # for mute button
43 option backup_dir "/srv/backup"
44 option archive_dir "/srv/history"
46 config device "bme280"
47 option module "bmp280_i2c"
51 list set_param "in_humidityrelative_oversampling_ratio:4"
52 list set_param "in_temp_oversampling_ratio:8"
53 list set_param "in_pressure_oversampling_ratio:8"
54 list parameter "in_temp_input:TEMPERATURE:0.001:-4"
55 list parameter "in_pressure_input:PRESSURE:10"
56 list parameter "in_humidityrelative_input:HUMIDITY:0.001"
58 config device "ads1115"
59 option module "ads1015"
61 option type "i2c:hwmon"
63 list parameter "in4_input:CO"
64 list parameter "in5_input:CH4"
65 list parameter "in6_input:AIR"
69 list engage "/sys/class/leds/led:green/trigger"
70 option engage_mode "heartbeat"
71 option disengage_mode "none"
75 list engage "/sys/class/leds/led:yellow/trigger"
76 option engage_mode "heartbeat"
77 option disengage_mode "none"
81 list engage "/sys/class/leds/led:red/trigger"
82 option engage_mode "heartbeat"
83 option disengage_mode "none"
87 list engage "/sys/class/leds/led:red/trigger"
88 list engage "/sys/class/leds/led:beep/trigger"
89 option engage_mode "heartbeat"
90 option disengage_mode "none"
92 config internal "display"
93 option timestr " %d.%m.%Y %H:%M "
94 option formatstr " {BME280.TEMPERATURE}~C {BME280.HUMIDITY}% {BME280.PRESSURE}mm CO:{ADS1115.CO} CH:{ADS1115.CH4} AI:{ADS1115.AIR}"
95 option file "/sys/class/alphalcd/lcdi2c/data"
98 option param "BME280.TEMPERATURE"
102 list limits "green:12:27"
103 list limits "yellow:8:12"
104 list limits "yellow:27:35"
105 list limits "red:-50:8"
106 list limits "red:35:50"
109 option param "BME280.HUMIDITY"
113 list limits "green:20:60"
114 list limits "yellow:10:20"
115 list limits "yellow:60:80"
116 list limits "red:0:20"
117 list limits "red:80:100"
120 option param "BME280.PRESSURE"
124 list limits "green:970:1030"
125 list limits "yellow:950:970"
126 list limits "yellow:1030:1050"
127 list limits "red:800:950"
128 list limits "red:1050:1100"
131 option param "ADS1115.CO"
135 list limits "green:0:1400"
136 list limits "yellow:1400:1800"
137 list limits "red:1800:2000"
138 list limits "beep:2000:10000"
141 option param "ADS1115.CH4"
145 list limits "green:0:800"
146 list limits "yellow:800:1000"
147 list limits "red:1000:1200"
148 list limits "beep:1200:10000"
151 option param "ADS1115.AIR"
155 list limits "green:0:1100"
156 list limits "yellow:1100:1500"
157 list limits "red:1500:2000"
158 list limits "beep:2000:10000"
160 config internal 'display'
161 option server "localhost"
168 option title "WeatherMonitor"
169 option graph_duration 20
172 option title "Weather (BME280)"
174 list parameter "BME280:TEMPERATURE:Temperature:C:1:1:5"
175 list parameter "BME280:HUMIDITY:Humidity :%:1:1:5"
176 list parameter "BME280:PRESSURE:Pressure :mm:0.75:0:4"
179 option title "Athmosphere"
181 list parameter "MHZ19:CO2PPM:CO2 :ppm:1:0:5"
182 list parameter "CCS811:VOCPPB:Gas :ppb:1:0:5"