Go to the documentation of this file.
25 #ifndef _SENSORS_CONFIG_H
26 #define _SENSORS_CONFIG_H
32 #define USE_REDUNDANT_SENSOR (false)
38 #define USE_JSON (false)
40 #define USE_D_TEMPLATE (false)
46 #define USE_THR (false)
52 #define USE_SENSOR_ADT (false)
58 #define USE_SENSOR_HIH (false)
64 #define USE_SENSOR_HYT (false)
70 #define USE_SENSOR_SHT (false)
76 #define USE_SENSOR_B28 (false)
82 #define USE_SENSOR_DEP (false)
88 #define USE_SENSOR_DES (false)
94 #define USE_SENSOR_DED (false)
100 #define USE_SENSOR_GWS (false)
106 #define USE_SENSOR_DSR (false)
112 #define USE_SENSOR_VSR (false)
118 #define USE_SENSOR_DSA (false)
124 #define USE_SENSOR_DWA (false)
130 #define USE_SENSOR_DWB (false)
136 #define USE_SENSOR_DWC (false)
142 #define USE_SENSOR_DWD (false)
148 #define USE_SENSOR_DWE (false)
154 #define USE_SENSOR_DWF (false)
160 #define USE_SENSOR_OA2 (false)
161 #define USE_SENSOR_OA3 (false)
167 #define USE_SENSOR_OB2 (false)
168 #define USE_SENSOR_OB3 (false)
174 #define USE_SENSOR_OCX_ODX_FULL_BIN (false)
175 #define USE_SENSOR_OC2 (false)
176 #define USE_SENSOR_OC3 (false)
182 #define USE_SENSOR_OD2 (false)
183 #define USE_SENSOR_OD3 (false)
189 #define USE_SENSOR_OE3 (false)
191 #define USE_SENSOR_GAS (false)
196 #define USE_SENSOR_CO2 (false)
202 #define USE_SENSOR_NO2 (false)
208 #define USE_SENSOR_O3 (false)
214 #define USE_SENSOR_CO (false)
220 #define USE_SENSOR_EX (false)
226 #define USE_SENSOR_LWT (false)
232 #define USE_SENSOR_HI7 (false)
238 #define USE_SENSOR_BMP (false)
244 #define USE_SENSOR_DW1 (false)
250 #define USE_SENSOR_TBS (false)
256 #define USE_SENSOR_TBR (true)
262 #define USE_SENSOR_STH (false)
268 #define USE_SENSOR_ITH (false)
274 #define USE_SENSOR_NTH (false)
280 #define USE_SENSOR_MTH (false)
286 #define USE_SENSOR_XTH (false)
292 #define USE_SENSOR_SSD (false)
298 #define USE_SENSOR_ISD (false)
304 #define USE_SENSOR_NSD (false)
310 #define USE_SENSOR_MSD (false)
316 #define USE_SENSOR_XSD (false)
322 #define USE_SENSOR_SMI (false)
328 #define USE_SENSOR_IMI (false)
334 #define USE_SENSOR_NMI (false)
340 #define USE_SENSOR_MMI (false)
346 #define USE_SENSOR_XMI (false)
352 #define USE_SENSOR_RF24 (false)
355 #define VALUES_TO_READ_FROM_SENSOR_COUNT (2)
356 #define JSONS_TO_READ_FROM_SENSOR_COUNT (2)
362 #define USE_TH_SENSORS (USE_SENSOR_ADT + USE_SENSOR_HIH + USE_SENSOR_HYT + USE_SENSOR_SHT + USE_SENSOR_STH + USE_SENSOR_ITH + USE_SENSOR_MTH + USE_SENSOR_NTH + USE_SENSOR_XTH)
363 #define USE_RAIN_SENSORS (USE_SENSOR_TBR + USE_SENSOR_TBS)
364 #define USE_RADIAITION_SENSORS (USE_SENSOR_DSR + USE_SENSOR_VSR + USE_SENSOR_DSA)
365 #define USE_WIND_SENSORS (USE_SENSOR_DWA + USE_SENSOR_DWB + USE_SENSOR_DWC + USE_SENSOR_DWD + USE_SENSOR_DWE + USE_SENSOR_DWF)
366 #define USE_POWER_MPPT_SENSORS (USE_SENSOR_DEP)
368 #if (USE_TH_SENSORS && (USE_RAIN_SENSORS == 0))
369 #define USE_MODULE_TH (true)
370 #elif ((USE_TH_SENSORS == 0) && USE_RAIN_SENSORS)
371 #define USE_MODULE_RAIN (true)
372 #elif (USE_TH_SENSORS && USE_RAIN_SENSORS && USE_THR)
373 #define USE_MODULE_THR (true)
374 #elif (USE_RADIAITION_SENSORS)
375 #define USE_MODULE_SOLAR_RADIATION (true)
376 #elif (USE_WIND_SENSORS)
377 #define USE_MODULE_WIND (true)
378 #elif (USE_POWER_MPPT_SENSORS)
379 #define USE_MODULE_POWER_MPPT (true)
383 #define SENSORS_COUNT_MAX (USE_SENSOR_HYT + USE_SENSOR_SHT + USE_REDUNDANT_SENSOR)
385 #define SENSORS_COUNT_MAX 1
392 #define SENSORS_MAX (SENSORS_COUNT_MAX)
399 #define SENSORS_UNIQUE_MAX (1)