I have an outlet that monitors the power on my washer and dryer. The piston on my washer keeps going off about 3 to 4 times a day even though it’s not in use. I don’t know much about variables but would it make sense to do something like
If power moves above X for 10 min then change a variable to 1
If power moves below X for 2 min then change a variable to 2
If the variable changes to 2 then turn on the switch
Wait 1 min
Set variable to 0
This is my piston now
Maybe something like this would be better