2 option url http://url-to-submit-meteo-data
4 option password some-password
7 config internal 'input'
8 option exec "/usr/bin/stdbuf -o0 /usr/bin/lua /usr/bin/weathermon-iio"
9 # option port /dev/ttyATH0
13 config internal 'logging'
14 option enabled off # on/stdout/syslog
15 # option touch_file /var/run/weathermon/weathermon.last
17 config internal 'mqtt'
18 option host mqtt.host.name
19 option user meteo-user
20 option password some-password
22 config internal 'alarm'
23 # option exec /usr/local/bin/alarm_received
25 config internal 'hardware'
28 config internal 'process'
30 option working_dir "/var/weather/"
31 option dump_file "/var/weather/weather.state"
33 config device "bme280"
34 option module "bmp280_i2c"
38 list set_param "in_humidityrelative_oversampling_ratio:4"
39 list set_param "in_temp_oversampling_ratio:8"
40 list set_param "in_pressure_oversampling_ratio:8"
41 list parameter "in_temp_input:T:0.001:-4" # source, name, scale, correction
42 list parameter "in_pressure_input:P:10"
43 list parameter "in_humidityrelative_input:H:0.001"
45 config device "hmc5843"
46 option module "hmc5843_i2c"
50 list set_param "in_magn_meas_conf:normal"
51 list set_param "in_magn_sampling_frequency:2"
52 list set_param "in_magn_scale:0.000007692"
53 list parameter "in_magn_x_raw:MX"
54 list parameter "in_magn_y_raw:MY"
55 list parameter "in_magn_z_raw:MZ"
57 config device "ads1115"
58 option module "ads1015"
60 option type "i2c:hwmon"
62 list parameter "in4_input:CO"
63 list parameter "in5_input:CH4"
64 list parameter "in6_input:AIR"