send_every: 1
send_first_at: 1
- clamp:
- min_value: 8
+ min_value: 5
max_value: 35
ignore_out_of_range: true
on_value:
id: ntc_resistance
sensor: ntc_adc
reference_voltage: 3.28v # measured
- resistor: 9.97 kOhm
configuration: DOWNSTREAM
filters:
- - median:
- window_size: 5
- send_every: 5
- send_first_at: 5
+ - clamp:
+ min_value: 5000
+ max_value: 25000
+ ignore_out_of_range: true
- platform: adc
id: ntc_adc
attenuation: 12dB
update_interval: never
pin: ${adc_pin}
+ # Still doing this manually because the new multisample support uses the mean not the median
+ filters:
+ - median:
+ window_size: 5
+ send_every: 5
+ send_first_at: 5
climate:
- platform: thermostat