Need help with Washing Machine Notification piston


#1

1) Give a description of the problem
I pulled an example from here, set up a piston that will send a Push Notification if the plug the washing machine is plugged into raises above 50W to set a Boolean to True. If the Boolean is true and the power dips below 5W for 3 minutes then I get a push Notification.

2) What is the expected behavior?
To get a single Notification when the washing machine is done running.

3) What is happening/not happening?
In the hour and a half since the washing machine finished I’ve gotten four notifications. It has not turned back on and the power did not raise above 50W

4) Post a Green Snapshot of the pistonimage


#2

At no point are you setting your “Laundry_running” variable back to false…

So the condition is still being met because the power is still below the value you’ve setup. Thus you’re still getting notified.

Turn the variable back to False before or after you send your Push and you should be all set.


#3

So something like should do it?


#4

Yes. That will stop the notifications when the power drops below your trigger value for 2 minutes.

Here’s the one I use if you want to compare…