Skip to content

Commit 67bc49d

Browse files
committed
2 parents 8a4fbcc + 3f55856 commit 67bc49d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/sensor_sgp41.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1+
substitutions:
2+
# 12, 60, 120, 360, 720 are suggested values from AirGradient (range 1..1000)
3+
voc_learning_time_offset_hours: '12'
4+
nox_learning_time_offset_hours: '12'
5+
16
sensor:
27
- platform: sgp4x
38
# SGP41 https://esphome.io/components/sensor/sgp4x.html
49
voc:
510
name: "VOC Index"
611
id: voc
12+
algorithm_tuning:
13+
learning_time_offset_hours: $voc_learning_time_offset_hours
714
nox:
815
name: "NOx Index"
916
id: nox
17+
algorithm_tuning:
18+
learning_time_offset_hours: $nox_learning_time_offset_hours
1019
compensation: # Remove this block if no temp/humidity sensor present for compensation
1120
temperature_source: temp
1221
humidity_source: humidity

0 commit comments

Comments
 (0)