sensor:
- platform: ntc
+ id: ntc_temperature
sensor: ntc_resistance
calibration:
# Hiwell E91.716 gives these in detail. The SunStone Touchstat manual just says
# - 12.55 kOhm - > 17.6°C
- 12.30 kOhm -> 18.2°C
- 9.97 kOhm -> 23.5°C
- id: ntc_temperature
filters:
+ - exponential_moving_average:
+ send_every: 1
+ send_first_at: 1
- clamp:
min_value: 5
max_value: 35
resistor: 9.97 kOhm
configuration: DOWNSTREAM
filters:
- - sliding_window_moving_average:
- window_size: 3
- send_every: 3
- send_first_at: 3
+ - median:
+ window_size: 5
+ send_every: 5
+ send_first_at: 5
- platform: adc
id: ntc_adc
min_heating_off_time: 300s
min_heating_run_time: 300s
min_idle_time: 30s
+ heat_deadband: 0.2°C
heat_action:
- switch.turn_on: ufh_relay
idle_action:
- interval: 60s
then:
- switch.turn_on: ntc_vcc
- - delay: 2s
- - component.update: ntc_adc
- delay: 1s
- component.update: ntc_adc
- - delay: 1s
+ - delay: 0.5s
+ - component.update: ntc_adc
+ - delay: 0.5s
+ - component.update: ntc_adc
+ - delay: 0.5s
+ - component.update: ntc_adc
+ - delay: 0.5s
- component.update: ntc_adc
- switch.turn_off: ntc_vcc