Get a notification when the washingmachine is ready.
We all like to know when the washingmachine (or dryer) is ready. With a few apps and flows we can make that happen.
What to use
- Timer app. In this case i used the Countdown app
- Better logic app. Can also be done with the standard build-in logic.
- Wallplug behind the machine. In this case i used a Fibaro wallplug.
Start making the variable
We click more/apps/Better Logic. Then we click configure app. There we can make a variable.
We type the name of the variable we want to create. In this case i called it “WashingmachineB”
After that we choose a type and we need a boolean for this.
Then we click “Add variable”
Start making the timer
We click more/apps/Countdown. Then we click configure app. Here we make the timer.
Choose a name for your timer. In this case i used “Washingmachine”
Click “Add timer”
Start making the flows
In this case i used 3 flows. Call the flows whatever you like. I called them "Washingmachine 1, …2 and …3.
Flow 1
WHEN part
We take the trigger from the Fibaro plug and we choose “The power changed”
No need in clicking the tag at this point, we need the tag later!
Your WHEN part should now look like this:
AND part
In the AND part we first pick a logic card. This is the normal build-in logic card. There we choose “is greater than”. After that we click the grey tag at the top. Then we pick the top tag “power” under “local tags” . In the empty line we fill in 100.
Then we hit the checkmark on the top right. We hit the “Add card” again. This time we choose Better Logic/is true. We hit the value and we choose the boolean variable we just made. “WashingmachineB” in this case. Then we hit the invert button because we want this to be false. Your AND part of this flow should now look like this:
THEN part
In the last part of this flow we choose the Better Logic card for starters and we choose “Set boolean variable” . There we choose “WashingmachineB” and hit the checkmark. Then we pick another card, this time we choose “Countdown” . Then we choose “Stop countdown timer” , click “name” and choose the timer you just created. In my case this is “Washingmachine” . Hit the checkmark. Your THEN part should now look like this:
For the overview of your first washingmachine flow , here is how it should look by now:
Next flow in next post.