Since updating the esphome addon to 1.10.1 I have been unable to use moving average filters on my Wemos D1s.
Could someone with a Wemos D1 mini and time to spare please try this config and tell me if it works for you?
- platform: adc
pin: A0
name: "Master Bed Sensor"
update_interval: 4s
filters:
- multiply: 3.25
- sliding_window_moving_average:
window_size: 15
send_every: 15
Alternatively this should be the same:
- platform: adc
pin: A0
name: "Master Bed Sensor"
update_interval: 4s
filters:
- multiply: 3.25
- sliding_window_moving_average: {}
I’ve been pulling my hair out for days trying to get it to work.
EDIT: Never mind. Making progress on the bug. See this comment if you are interested:
In short, you can’t currently use an averaging filter on the A0 sensor if you use the wifi or status sensors.