# Washingmachine & Dryer notification: notification when they're both done

**URL:** <https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [July 19, 2020, 8:57am UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566 "2020-07-19T08:57:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)\
**Post date:** [July 19, 2020, 8:57am UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/1 "2020-07-19T08:57:11Z")

</div>

Both my washing machine and dryer are in the basement. Both have a plug that measures the energy. Setting a variable for both based on power is easy, on and off. Although for the washing machines it is more difficult because it has moments of almost no power consumption during the program.

But now comes the hard part:  
if the washing machine is finished, and the dryer isn’t on: I want a notification.  
If the dryer is finished, and the washing machine isn’t on: I want a notification.  
If the washing machine is finished but the dryer isn’t finished yet, I don’t want anything yet.  
When the washing machine is finished and the dryer has too: I want a notification that they both are finished.  
It doesn’t happen a lot, but I want the same the other way around: if the dryer is finished but the washing machine isn’t: nothing. When the washing machine has also finished: notification.

Yesterday I wasn’t home and I got 100 notification from homey about the washing machine xD Very annoying, but now I try to fix this: I can’t bend my mind around it. I get lost in numerous flows and variables. Even when I try to map all the situations on paper I get lost.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 19, 2020, 4:09pm UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/2 "2020-07-19T16:09:56Z")

</div>

What exactly is your question now? How can we help you?

Regarding the issue of flow confusion. Have you sorted the flows e.g. by rooms? That would be the first thing to do. Then you will also find your washing machine/dryer flows.

You already have flows that do not work properly (multiple notifications). That would be the second point to optimize the flows.

In the forum there are already several instructions how to create “washing machine is ready” flows. Have you read them?  
It would also be helpful if you would post your current flows.

---

<div class="post-metadata">

**Author:** ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)\
**Post date:** [July 19, 2020, 5:31pm UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/3 "2020-07-19T17:31:16Z")

</div>

The question is: how to combine both the washing machine and the dryer if they run together to send one notification of they’re both done. But if the one runs without the other they should send a notification (for them alone).

It’s not about organising flows.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 19, 2020, 7:15pm UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/4 "2020-07-19T19:15:24Z")

</div>

Okay, you don’t want to go down to the basement twice, got it.

Your needs are probably doable with one or two other variables. But you have to make sure that the variable of the washing machine “washing machine on/off” does not change constantly. This is also possible. You have to download the consumption values from Insights or record the values with SimpleLog and analyze them in Ecxel or similar programs. And based on these values, the flow must be optimized.

---

<div class="post-metadata">

**Author:** ![MathiasJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mathiasj/32/9544_2.png) [@MathiasJ](https://community.homey.app/u/MathiasJ)\
**Post date:** [July 20, 2020, 7:02pm UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/5 "2020-07-20T19:02:55Z")

</div>

I haven’t tried it but this might work.

Flow 1:  
WHEN Washer starts  
THEN Calculate variable Laundry {{Laundry + 1}}

Flow 2:  
WHEN Washer stops  
THEN Calculate variable Laundry {{Laundry - 1}}

Flow 3:  
WHEN Dryer starts  
THEN Calculate variable Laundry {{Laundry + 1}}

Flow 4:  
WHEN Dryer stops  
THEN Calculate variable Laundry {{Laundry - 1}}

Flow 5:  
WHEN Variable Laundry changes  
AND Variable Laundry equals 0  
THEN Send notification

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 20, 2020, 7:17pm UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/6 "2020-07-20T19:17:03Z")

</div>

I also think this should work. 👍🏼

---

<div class="post-metadata">

**Author:** ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)\
**Post date:** [July 23, 2020, 11:46am UTC](https://community.homey.app/t/washingmachine-dryer-notification-notification-when-theyre-both-done/32566/7 "2020-07-23T11:46:48Z")

</div>

Yes! That is what I was looking for.

And for future reference. These are now my flows.

**Machine (for each a separate flow) starts**  
WHEN energy changes  
AND energy \> x (80 for washing machine, 400 for dryer)  
AND _is busy_ is no  
THEN _is busy_ to yes  
THEN _laundry_ +1

**Machine (for each a separate flow) stops)**  
WHEN energy changes  
AND energy \< 10  
AND _is busy_ is yes  
THEN _is busy_ is no  
THEN _laundry_ -1

**Notification (just one)**  
WHEN _laundry_ changes  
AND _laundry_ = 0  
THEN notify “laundry is done”

This also skips the parts of the single appliance variable _notify machine_ and count downtimer _machine_

Edit: be sure you watch the energy monitor in Insights. I had lower values for the start Flows, but both my washer and my dryer do something after they are done which uses a lot of energy. You don’t want that to trigger a new start.
