Implement improved sensor publication thresholds
This commit is contained in:
parent
ea207f727a
commit
da5d42f72c
@ -20,11 +20,11 @@
|
|||||||
#define TOPIC_ABHU TOPIC_BASE "abs_humidity"
|
#define TOPIC_ABHU TOPIC_BASE "abs_humidity"
|
||||||
#define TOPIC_AIRQ TOPIC_BASE "air_gas"
|
#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_TEMP 0.5 // 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_HMID 2.5 // humidity doesn't change that much anyways
|
||||||
#define DIFF_HEAT 0.3 // this one's actually quite active
|
#define DIFF_HEAT 0.5 // this one's actually quite active
|
||||||
#define DIFF_ABHU 0.2 // small changes mean quite something
|
#define DIFF_ABHU 0.5 // small changes mean quite something
|
||||||
#define DIFF_AIRQ 3 // this one changes in integers
|
#define DIFF_AIRQ 5 // this one changes in integers
|
||||||
|
|
||||||
float hmid = 0; // humidity
|
float hmid = 0; // humidity
|
||||||
float hmid_r = 0; // humidity
|
float hmid_r = 0; // humidity
|
||||||
|
Loading…
Reference in New Issue
Block a user