1) Give a description of the problem
I am having trouble with the design approach for a piston to let me know when the washing machine has completed it’s cycle. The logic I am trying to implement is as follows:
If
washing machine power goes above 200W (trigger = machine has started)
Then
wait until washing machine power stays 0W for 3 minutes (how?)
send notification
2) What is the expected behavior?
I’d like to get notification when the washing machine finishes it’s cycle. I am defining “finishes it’s cycle” to mean stays at 0 watts for X minutes after first hitting 200 watts.
3) What is happening/not happening?
I haven’t gotten far enough to proceed to an implementation that I think will work. I start with a trigger for “power goes above 200W” but am lost how to approach “and wait until power stays 0 for 3 minutes”.
Thanks for any help,
Todd