Folks, i monitor the consumption of my washing machine, and when it drops below 25 watts for a fixed amount of time, i have a notification sent that its in crease protection and again when it goes below 10 that its ready.
well that also happens each time i restart the HA instance, since then its so many minutes under 25 watts. and usually i work on it late at night and the very best wife is more than slightly annoyed by those false alarms while shes mostly trying to go sound asleep
how do i monitor for the average consumption over the past 20 minutes being above a given threshold?
the sensor is a Nous A1 wifi mqtt tasmota plug that also could switch but is not used for switching, only for measuring.
kind of if the 20 min average is above 500 watts cock the notification trigger, if it goes below 25 watts pull the notification trigger, but only fire when it was cocked beforeā¦
thanks
manne