I want to create a helper which to tell me when my dishwasher last completed. I am monitoring the power (W), but I want to make sure I don’t see the false positives. So when someone turns on the dishwasher and then turns it off, it should not be considered the last run. But what I would like to do it consider it running the power goes above x watts and then stops when it goes below.
My dishwasher has a cycle at the beginning where it uses a lot of power and then it drops down for the rest of it (actually my washing machine also does this) So I would like to say that it turns on when it goes above 200W and then turns off if it goes before 10W
Does anyone have any idea how this could be done.
TIA
Gordon.
I was just going though my data to work out some good figures. I am going to be pushing my luck this time, but I have about 2 minutes in the middle my power figures are below the lower threshold.
Is there a way like automations to say don’t turn off unless the value is below for more that n time.
I do have an idea for using a mean/average sensor to remove this dip if it can’t be confiurged out.
Sorry I think you misunderstood. I know automations has the “for” attribute which allows for exactly what I need on an automation trigger but not on threshold.
In my case I have the dip below the minimum power power level for about 2 minutes and then pops back up.
With the normal use of threshold, it would be marked as turned off, and then only turn back on if it goes above the upper limit.
Unfortunately the threshold sensor does not support a delay_off option like the template binary sensor does. So I suggest you use a triggered binary template sensor instead. There are two ways to do it. I think the first will cause less triggers/template updates but it is not really significant so which you use is up to you: