[Automation combination] Household chores

Inspired by @Sbyx easy yet absolutely useful Blueprint I wanted to share how I use it:

Like many of you I work my full week in home office and wife is at home with our two kids and does the bulk of the household chores but I wanted to support her on an easy yet smart way.

What hardware do I you use:

  • none smart Bauknecht washing machine
  • none smart Bauknecht tumble dryer
  • 2 Gosund smart sockets with energy meter
  • a Pixel 6 Pro for my notifications
  • a Pixel 3 for her notifcations
  • a Galaxy Watch 4 for my convinience
  • pretty smart(ass) wife

Okay, based on Sbyx blueprint I wrote the following automation.

Automations 1:

alias: washing_machine
description: Notify me and wife that the washing machine has finished
use_blueprint:
  path: >-
    sbyx/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
  input:
    finishing_hysteresis: 3
    power_sensor: sensor.washing_machine_helper
    starting_hysteresis: 0.25
    actions:
      - device_id: [my smartphone]
        domain: mobile_app
        type: notify
        title: Washing machine has finished
        message: Please hang out the laundry or it will begin to stink!
        data:
          tag: washing_machine
          icon_url: /local/Icons/washing_machine.png
          actions:
            - action: wife_should
              title: Please, do it, wife!
            - action: me_does
              title: I will do it!
      - device_id: [wife's smartphone]
        domain: mobile_app
        type: notify
        title: Washing machine has finished!
        message: Please hang out the laundry or it will begin to stink!
        data:
          tag: washing_machine
          icon_url: /local/Icons/washing_machine.png
          actions:
            - action: wife_does
              title: Ich will do it!
            - action: me_could
              title: Could you please?
            - action: dryer_60
              title: 60°C laundry


As you can see this sends two slighty different notifications to my and my wife’s smartphone.

Now for the actionable notifications used to answer these first notifications:

My wife clicks on “I will do it” - best that could happen - the following automation is triggered so I get informend and she will be reminded and the very first message I got will automatically be deleted and I only get the the new notification.

Automation 2:

alias: 'washing machine: wife does'
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: wife_does
condition: []
action:
  - device_id: [my smartphone]
    domain: mobile_app
    type: notify
    title: Washing machine has finished
    message: The wife will do it!
    data:
      tag: wasching_machine
      icon_url: /local/Icons/thumb_up.png
  - device_id: [wife's smartphone]
    domain: mobile_app
    type: notify
    title: Reminder washing machine
    message: You said you will do it!
    data:
      icon_url: /local/Icons/reminder.png
mode: single

My wife is busy cooking or out of the house to entertin the kids she will probably hit the “Could you please?” which triggers the following automations and also deletes the very first message I received.

Automation 3:

alias: 'Washing machine: me should'
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: me_could
condition: []
action:
  - device_id: [my smartphone}
    domain: mobile_app
    type: notify
    title: Washing machine has finished
    message: Could you please? I'm totally busy/out of house/wrecked
    data:
      tag: washing_machine
      icon_url: /local/Icons/question_mark.png
      actions:
        - action: me_mom
          title: Yes, gimme a sec.
        - action: me_nope
          title: Under no circumstances!
mode: single

Okay, and here are the automations that get triggered depending on her action.

When I’m also busy right now but the webex meeting come to an end I will hit my “Yes, gimme a sec”.

Automation 4:

alias: 'Washing machine: me mom
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: me_mom
condition: []
action:
  - device_id: [wife's smartphone]
    domain: mobile_app
    type: notify
    title: Washing machine has finished
    message: Yes, but I will take me a moment.
    data:
      tag: washing_machine
      icon_url: /local/Icons/later.png
  - device_id: [my smartphone]
    domain: mobile_app
    type: notify
    title: Reminder washing machine
    message: You said you will do it!
    data:
      icon_url: /local/Icons/reminder.png
mode: single

But if it’s long day and the meeting will go on for more than an hour I will hit “Under no circumstances!” for the next automation.

Automation 5:

alias: 'Washing machine: wife has to'
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: me_nope
condition: []
action:
  - device_id: [wife's smartphone}
    domain: mobile_app
    type: notify
    title: Washing machine has finished
    message: I'm in a meeting for hours, please do it when you get back home/regained consciousness
    data:
      tag: washing_machine
      icon_url: /local/Icons/alarm.png
mode: single

But this was just the first half I will only start the conversation if my wife hit her actions faster than me. If I notice the notification first, thanks to my smartwatch I usually do, the upcoming automations are triggered from the actions in the first message I received.

Automation 6:

alias: 'Washing machine: me will do
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: me_does
condition: []
action:
  - device_id: [wife's smartphone]
    domain: mobile_app
    type: notify
    title: Washing machine has finshed
    message: Your loving husband will do it!
    data:
      tag: washing_machine
      icon_url: /local/Icons/thumb_up.png
  - device_id: [my smartphone]
    domain: mobile_app
    type: notify
    title: Reminder washing machine
    message: You said you will do it!
    data:
      icon_url: /local/Icons/reminder.png
mode: single

But I got the chance to see the notification at first and I know I won’t have time to do it I just hit the “Please, do it, wife!” so she knows there’s no need for further negotiations. :wink:

Automation 7:

alias: 'Washing machine: wife should!'
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: wife_should
condition: []
action:
  - device_id: [wife's smartphone]
    domain: mobile_app
    type: notify
    title: Washing machine has finished
    message: Please hang up the laundry, your husband is busy!
    data:
      tag: washing_machine
      icon_url: /local/Icons/thumb_down.png
mode: single

But before I forget there’s one more left. Because usually she starts the laundry day with a 60°C machine her very first notification include the action “60°C laundry” which finally informs me when hit that the laundry doesn’t have to be hung cause it goes right in the tumble dryer.

Automation 8:

alias: 'Washing machine: 60°'
description: ''
trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: dryer_60
condition: []
action:
  - device_id: [my smartphone]
    domain: mobile_app
    type: notify
    title: Washing machine has finished
    message: It's a load for the dryer, wife will do it!
    data:
      tag: washing_machine
      icon_url: /local/Icons/thumb_up.png
  - device_id: [wife's smartphone
    domain: mobile_app
    type: notify
    title: Reminder washing machine
    message: Please put the 60° load into the dryer
    data:
      icon_url: /local/Icons/reminder.png
mode: single

Speaking of the tumble dryer there’s also a automation but this time only one because if the laundry is dry the laundry is dry and could get out of the machine whenever some has time to do it. Of course this one is also based on the blueprint.

Automation 9:

alias: dryer
description: ''
use_blueprint:
  path: >-
    sbyx/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
  input:
    power_sensor: sensor.dryer_helper
    finishing_hysteresis: 5
    actions:
      - service: notify.[group of our smartphones]
        data:
          title: Dryer has finished
          message: >-
            Please unload and don't forget to unload the water tank and the lint filter!. 
          data:
            icon_url: /local/Icons/dryer.png

So there we go with 9 automations that could possible be 2-3 with some fancy templating but it was one my very first projects and it works flawlessly and makes it pretty easy for us so…like you say “never change a running system”.

2 Likes

I feel after reading this I have a real understanding of your relationship

3 Likes

You possibly have but I have to mention that I translated our German words for this and maybe left out some kinky stuff in-between. :wink:

1 Like