📳 Appliance Notifications & Actions - Washing Machine - Clothes Dryer - Dish Washer - ETC

Agree, I will need to fix this. Stay tuned for the update.

Blacky :smiley:

1 Like

It may have to do with the custom actions. I am going to do an update. Stay tuned for the update.

Blacky :smiley:

Tanks for all your all your suggestions.

Blacky :smiley:

New Update 1.6

Bugs Fixes :bug:

  • Custom Actions - Fixed custom action to run independent from message.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

Thanks a lot for the fix! :tada:
lightspeed as always. :zap:

Hi,
thanks alot for the blueprint :slight_smile:

I have 2 questions.

  1. is it possible to add my own notification service ? i have a notification service called notify.whatsapp_yves to get my HA messages

  2. it would be awesome to get the consumed power and costs within that message. Now i do this with helpers but this doesn’t work that nice and i get many messages that for e.g. the washing machine is ready and starts and again and again. Here is a script example for my Messages

alias: Benachrichtigung Waschmaschine fertig
description: “”
trigger:

  • platform: state
    entity_id:
    • binary_sensor.1_detect_waschmaschine_start
      to: “on”
      id: eingeschaltet
      from: “off”
  • platform: state
    entity_id:
    • binary_sensor.1_detect_waschmaschine_start
      to: “off”
      id: ausgeschaltet
      from: “on”
      condition:
      action:
  • if:
    • condition: trigger
      id:
      • eingeschaltet
        then:
    • service: input_number.set_value
      target:
      entity_id: input_number.waschmaschine_energy_start
      data:
      value: “{{ states(‘sensor.steckdose_waschmaschine_energy’) | float }}”
    • service: input_datetime.set_datetime
      target:
      entity_id: input_datetime.2_waschmaschine_uhrzeit_start
      data:
      time: “{{ now().strftime(‘%H:%M:%S’) }}”
  • if:
    • condition: trigger
      id:

      • ausgeschaltet
        then:
    • service: input_datetime.set_datetime
      target:
      entity_id: input_datetime.2_waschmaschine_uhrzeit_stop
      data:
      time: “{{ now().strftime(‘%H:%M:%S’) }}”

    • delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0

    • service: notify.whatsapp_yves
      data:
      message: >-
      Waschmaschine fertig

      Verbrauch:{% set kwh =
      states('sensor.steckdose_waschmaschine_energy') | float - 
      states('input_number.2_waschmaschine_energy_start') | float  %}  {{
      kwh | round(2) }}  kWh 
      
      Kosten:{% set kosten =
      (states('sensor.steckdose_waschmaschine_energy') | float - 
      states('input_number.2_waschmaschine_energy_start') | float)  *
      states('input_number.aktueller_strompreis_haus') | float(0)
      %}        {{ kosten | round(2) }} €
      
      Dauer:         {{
      (as_timestamp(strptime(states('input_datetime.2_waschmaschine_uhrzeit_stop'),
      '%H:%M:%S')) -
      as_timestamp(strptime(states('input_datetime.2_waschmaschine_uhrzeit_start'),
      '%H:%M:%S'))) | timestamp_custom('%H:%M:%S', false) }}
      

mode: single

Bildschirmfoto 2024-01-20 um 15.35.50

I will PM you

Blacky :smiley:

Great blueprint but I get false positive notifications of washing ends when I set postpone. My washing machine spins the drum few times to calculate correct elapsed time based on weight and then sleeps until postpone time. This triggers automation and sends me end washing notification.
Would it be possible to verify that the washing machine is running for at least 15min?

@dimmuboy

Have a look at this, and let me know if this helps you. Click Here

Blacky :smiley:

Thanks, I already see it :smiley:
I changed Start - Power Time Delay so we will see.

1 Like

You will probably need to look at the “End - Power Time Delay”

Blacky :smiley:

But I don’t want to delay end. I want to get notification immediately but only if washing machine is running longer than 15 minutes to avoid notification after startup weighing

Okay I got it, let me have a look at it tonight.

Blacky :smiley:

@dimmuboy

New update about to be released. Test it out and let us know how you go.

Blacky :smiley:

New Update 1.7

New Feature :new:

  • Running - Dead Zone - Once the appliance starts, you can implement a dead zone to prevent a false end trigger. This is particularly useful when the power briefly dips below the appliance’s end setpoint during the cycle after startup. Setting the running dead zone beyond this point ensures a reliable conclusion by preventing a premature end trigger.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

2 Likes

Pretty cool update. I like it

Another optional feature request: why not calculate the consumption in Wh/kWh (end-start = consumption per washing pass :slight_smile:

1 Like

Love your work, you made the hard things simple and easy, Ima fan of blueprints! lets goooooooo!

@nukleuz80

Nice thanks…

If we look back at this post it is very similar every cycle. Not sue if it would give value. Maybe you ca give me more information on the why.

Blacky :smiley:

@iamwise

Hi Jason

welcome to the community… lets goooooooo! :call_me_hand:

Blacky :smiley:

Hi Blacky,

First of all, thank you for the blueprint. It works wonderfully so far. Just a note: I was a little confused by the slider for “End - Power Time Delay”, as the value can be set to a maximum of 10 minutes. Only later did I understand that I can also enter a value manually and it works. In my case, the washing machine takes a 15-minute break in between (soaking?). Anyway, I got it solved.

To my actual problem:

I use Actions for the notifications because I don’t just send a message to the phone, but also because I use different dependencies on who gets a message when and how. For a better understanding I have posted my config below.

If I set the fields
Start Notify - Devices Notified When Started
End Notify - Devices Notified When Finished
fields are left empty, the entire script does not run.

Is there a way how I can run the script without filling these fields ? Can I use some kind of dummy ? Do you have an idea for me?

alias: Waschmaschine
description: ""
use_blueprint:
  path: Blackshome/appliance-notifications.yaml
  input:
    power_sensor: sensor.waschmaschine_leistung
    start_appliance_power: 30
    end_time_delay: 20
    end_notify_device: []
    include_custom_actions:
      - enable_end_custom_actions
      - enable_start_custom_actions
    end_custom_actions:
      - service: input_boolean.turn_off
        target:
          entity_id:
            - input_boolean.waschmaschine_status
        data: {}
      - service: notify.alexa_media_livingroom_echo
        data:
          message: Die Waschmaschine ist fertig
      - device_id: 6f993e8c1fec399279818fae2619fd6b
        domain: light
        entity_id: cc8d7bc2c9e71a06623505a222fc6658
        type: flash
      - if:
          - condition: zone
            entity_id: device_tracker.dergeraet
            zone: zone.home
        then:
          - service: notify.mobile_app_dergeraet
            metadata: {}
            data:
              message: Die Waschmaschine ist fertig
              title: "Waschmaschine "
      - if:
          - condition: zone
            entity_id: device_tracker.kampfzwerg
            zone: zone.home
        then:
          - service: notify.mobile_app_kampfzwerg
            data:
              message: Die Waschmaschine ist fertig
              title: "Waschmaschine "
      - if:
          - condition: zone
            entity_id: device_tracker.paul
            zone: zone.home
        then:
          - service: notify.mobile_app_paul
            data:
              message: Die Waschmaschine ist fertig
              title: "Waschmaschine "
          - service: notify.alexa_media_children_echo
            data:
              message: Die Waschmaschine ist fertig
          - device_id: 299680ec398e4cce7b782bf630b03116
            domain: light
            entity_id: ab26c0856df64f20b64846b5beef536c
            type: flash
    end_appliance_power: 5
    end_message: Waschmaschine ist fertig
    include_end_notify: enable_end_notify_options
    end_message_title: "Waschmaschine "
    start_notify_device: []
    start_title: Waschmaschine
    start_message: Waschmaschine gestartet
    include_start_notify: enable_start_notify_options
    start_custom_actions:
      - service: input_boolean.turn_on
        metadata: {}
        data: {}
        target:
          entity_id: input_boolean.waschmaschine_status
    start_time_delay: 1