Making the thresholds ever more reasonable
This commit is contained in:
		
							parent
							
								
									2b94a8c12b
								
							
						
					
					
						commit
						021e65ea32
					
				@ -17,14 +17,14 @@
 | 
				
			|||||||
#define TOPIC_TEMP TOPIC_BASE "temperature"
 | 
					#define TOPIC_TEMP TOPIC_BASE "temperature"
 | 
				
			||||||
#define TOPIC_HMID TOPIC_BASE "humidity"
 | 
					#define TOPIC_HMID TOPIC_BASE "humidity"
 | 
				
			||||||
#define TOPIC_HEAT TOPIC_BASE "heat_index"
 | 
					#define TOPIC_HEAT TOPIC_BASE "heat_index"
 | 
				
			||||||
#define TOPIC_AIRQ TOPIC_BASE "air_gas"
 | 
					 | 
				
			||||||
#define TOPIC_ABHU TOPIC_BASE "abs_humidity"
 | 
					#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_TEMP 0.3 // 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_HMID 1.5 // humidity doesn't change that much anyways
 | 
				
			||||||
#define DIFF_HEAT 0.3 // this one's actually quite active
 | 
					#define DIFF_HEAT 0.3 // this one's actually quite active
 | 
				
			||||||
#define DIFF_AIRQ 3 // this one hardly changes 
 | 
					 | 
				
			||||||
#define DIFF_ABHU 0.2 // small changes mean quite something
 | 
					#define DIFF_ABHU 0.2 // small changes mean quite something
 | 
				
			||||||
 | 
					#define DIFF_AIRQ 3 // this one changes in integers
 | 
				
			||||||
 | 
					
 | 
				
			||||||
float hmid = 0; // humidity
 | 
					float hmid = 0; // humidity
 | 
				
			||||||
float hmid_r = 0; // humidity
 | 
					float hmid_r = 0; // humidity
 | 
				
			||||||
 | 
				
			|||||||
@ -21,9 +21,9 @@
 | 
				
			|||||||
#define TOPIC_ABHU TOPIC_BASE "abs_humidity"
 | 
					#define TOPIC_ABHU TOPIC_BASE "abs_humidity"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define DIFF_TEMP 0.3 // sensor has only 0.5°C accuracy, triggering on less is ludicrous
 | 
					#define DIFF_TEMP 0.3 // 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_HMID 1.5 // humidity doesn't change that much anyways
 | 
				
			||||||
#define DIFF_HEAT 0.2 // this one's actually quite active
 | 
					#define DIFF_HEAT 0.3 // this one's actually quite active
 | 
				
			||||||
#define DIFF_ABHU 0.1 // small changes mean quite something
 | 
					#define DIFF_ABHU 0.2 // small changes mean quite something
 | 
				
			||||||
 | 
					
 | 
				
			||||||
float hmid = 0; // humidity
 | 
					float hmid = 0; // humidity
 | 
				
			||||||
float hmid_r = 0; // humidity
 | 
					float hmid_r = 0; // humidity
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user