Update AQ update invervals to 15s

This commit is contained in:
2025-07-19 23:42:50 -04:00
parent 1a5595013b
commit ac876d4e58

View File

@@ -93,8 +93,8 @@ sensor:
icon: mdi:waves-arrow-up icon: mdi:waves-arrow-up
filters: filters:
- sliding_window_moving_average: # We take a reading every 15 seconds, but calculate the sliding - sliding_window_moving_average: # We take a reading every 15 seconds, but calculate the sliding
window_size: 12 # average over 12 readings i.e. 60 seconds/1 minute to normalize window_size: 20 # average over 20 readings i.e. 300 seconds/5 minutes to normalize
send_every: 3 # brief spikes while still sending a value every 15 seconds. send_every: 4 # brief spikes while still sending a value every 60 seconds.
nox: nox:
name: "SGP41 NOx Index" name: "SGP41 NOx Index"
id: sgp41_nox_index id: sgp41_nox_index
@@ -102,13 +102,13 @@ sensor:
icon: mdi:waves-arrow-up icon: mdi:waves-arrow-up
filters: filters:
- sliding_window_moving_average: - sliding_window_moving_average:
window_size: 12 window_size: 20
send_every: 3 send_every: 4
compensation: compensation:
temperature_source: sht45_temperature temperature_source: sht45_temperature
humidity_source: sht45_humidity humidity_source: sht45_humidity
store_baseline: true store_baseline: true
update_interval: 5s update_interval: 15s
- platform: template - platform: template
name: "SGP41 TVOC (µg/m³)" name: "SGP41 TVOC (µg/m³)"