mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			630 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			630 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| i2c:
 | |
|   - id: i2c_sgp4x
 | |
|     scl: ${scl_pin}
 | |
|     sda: ${sda_pin}
 | |
| 
 | |
| sensor:
 | |
|   - platform: sgp4x
 | |
|     voc:
 | |
|       name: VOC Index
 | |
|       id: sgp40_voc_index
 | |
|       algorithm_tuning:
 | |
|         index_offset: 100
 | |
|         learning_time_offset_hours: 12
 | |
|         learning_time_gain_hours: 12
 | |
|         gating_max_duration_minutes: 180
 | |
|         std_initial: 50
 | |
|         gain_factor: 230
 | |
|     nox:
 | |
|       name: NOx
 | |
|       algorithm_tuning:
 | |
|         index_offset: 100
 | |
|         learning_time_offset_hours: 12
 | |
|         learning_time_gain_hours: 12
 | |
|         gating_max_duration_minutes: 180
 | |
|         std_initial: 50
 | |
|         gain_factor: 230
 | |
|     update_interval: 5s
 |