Implement improved sensor publication thresholds

This commit is contained in:
bzi 2019-03-01 15:44:03 +01:00
parent ea207f727a
commit da5d42f72c
1 changed files with 5 additions and 5 deletions

View File

@ -20,11 +20,11 @@
#define TOPIC_ABHU TOPIC_BASE "abs_humidity"
#define TOPIC_AIRQ TOPIC_BASE "air_gas"
#define DIFF_TEMP 0.3 // sensor has only 0.5°C accuracy, triggering on less is ludicrous
#define DIFF_HMID 1.5 // humidity doesn't change that much anyways
#define DIFF_HEAT 0.3 // this one's actually quite active
#define DIFF_ABHU 0.2 // small changes mean quite something
#define DIFF_AIRQ 3 // this one changes in integers
#define DIFF_TEMP 0.5 // sensor has only 0.5°C accuracy, triggering on less is ludicrous
#define DIFF_HMID 2.5 // humidity doesn't change that much anyways
#define DIFF_HEAT 0.5 // this one's actually quite active
#define DIFF_ABHU 0.5 // small changes mean quite something
#define DIFF_AIRQ 5 // this one changes in integers
float hmid = 0; // humidity
float hmid_r = 0; // humidity