šŸ“³ Appliance Notifications & Actions - Washing Machine - Clothes Dryer - Dish Washer - ETC

Thanks so much.

I think I should have explained what Iā€™m trying to do better :slight_smile:

What I would like to do is, while the State is finished, but not emptied, turn on a red LED in another room, and have it turn off once it is emptied, Perhaps a custom action alongside the notification reminders would do it (just as the start watchdog and end custom actions work)?

With my limited HA experience, I think that I would be able to use a ā€œStateā€ for the whole automation, moving from running > stopped > emptied

Where I would do the following during the statesā€¦
Stopped (the machine is done running, but I have been lazy and not emptied it yet):

  • send notifications to devices
  • turn some LEDā€™s on

Finished (I have emptied the washing machine):

  • same as the End custom actionsā€¦
  • turn off the LED from the Stopped state
  • send notifications
    ā€¦etc

Hopefully that makesā€¦a little sense. lol

Cheers,
tbp

@twobigpaws

Hi Andrew,

There are many ways to do this.

One way would be to use the custom end actions with the blueprint notifications.

In the end actionā€¦

  1. First you would add action and use turn on light. This will turn on your led.
  2. Then use building block and select wait for trigger and then add the trigger being you door contact sensor.
  3. Then add action to turn off light. this will turn off your led.
  4. Then add action and use notification then send your notification.

Do it in this sequence and you should get what you are after.

Hope this helps.

Blacky :smiley:

Hello there,

Iā€™m in two days, tried to did works but nothingā€¦

can you help me please?

The code:

alias: Monitoraggio Lavatrice
description: Test Blueprint Lavatrice
use_blueprint:
  path: Blackshome/appliance-notifications.yaml
  input:
    power_sensor: sensor.presa_smart3_power
    start_appliance_power: 5
    start_time_delay: 0.5
    end_appliance_power: 5
    end_time_delay: 0.5
    end_repeat_count: 3
    include_end_notify: enable_end_notify_options
    end_notify_device:
      - 008700965bf5213213e5ff82d1e08ea3
      - 1d126dd37c551441747f17a5bac1932e
    end_message_title: šŸ’§Lavatrice šŸ’§
    end_message: Lavaggio terminato !!
    include_power_tracking: enable_power_tracking_and_cost
    power_consumption_sensor: sensor.lavatrice_energy_meter_daily
    end_message_kwh: "Consumo: "
    end_message_cost: "Costo:"
    cost_per_kwh: input_number.costo_energia_casa
    include_duration_tracking: enable_duration_tracking
    end_message_duration_tracking: "Durata: "
    include_watchdog: enable_watchdog
    watchdog_timeframe:
      hours: 3
      minutes: 0
      seconds: 0
    watchdog_title: āš ļø Monitoraggio Lavatrice
    watchdog_message: Uh-oh! Forse devi controllare la lavatrice.
    include_custom_actions:
      - enable_end_custom_actions
    end_custom_actions:
      - action: notify.alexa_media_echo_dot_soggiorno
        data:
          message: La lavatrice dovrebbe aver terminato il lavaggio!!
          title: Lavaggio
      - action: notify.alexa_media_echo_dot_soppalco
        data:
          message: La lavatrice dovrebbe aver terminato il lavaggio!!
          title: Lavaggio
      - action: notify.alexa_media_echo_pop_di_bruno
        data:
          message: La lavatrice dovrebbe aver terminato il lavaggio!!
          title: Lavaggio
    include_time: time_disabled
    after_time: "06:30:00"
    before_time: "21:00:00"
    running_dead_zone: 2

Thanks

@brunopiras

It is hard for me to help when I have no idea on what your power is doing through the cycle. Is your power settings set up correctly? The FAQ shows you how to set this up.

Maybe you can provide a zoom up screen shot of your power cycle graph so I can see what is happening. Also let me know what is going wrong and maybe use the start notify option to first set it up so you know it has triggered it at the start and then you can eliminate if it is the start trigger or the end trigger is the problem. Once you got it working you can disable it if you donā€™t want the start notification.

One thing I noticed is that you missed entering the 2 number helpers into Power Tracking > Power Tracking - Start Number Helper & Power Tracking - End Number Helper. The FAQ shows you how to set up these number helpers.

Blacky :smiley:

Thanks,

now, the wash-machine finish, Iā€™ve received start notification but nothing to the finish!

Here the code and Screenshot:

alias: Monitoraggio Lavatrice
description: Test Blueprint Lavatrice
use_blueprint:
  path: Blackshome/appliance-notifications.yaml
  input:
    power_sensor: sensor.presa_smart3_power
    start_appliance_power: 5
    start_time_delay: 0.5
    end_appliance_power: 5
    end_time_delay: 0.5
    end_repeat_count: 3
    include_end_notify: enable_end_notify_options
    end_notify_device:
      - 008700965bf5213213e5ff82d1e08ea3
      - 1d126dd37c551441747f17a5bac1932e
    end_message_title: šŸ’§Lavatrice šŸ’§
    end_message: Lavaggio terminato !!
    include_power_tracking: enable_power_tracking_and_cost
    power_consumption_sensor: sensor.presa_smart3_energy
    end_message_kwh: "Consumo: "
    end_message_cost: "Costo:"
    cost_per_kwh: input_number.costo_energia_casa
    include_duration_tracking: enable_duration_tracking
    end_message_duration_tracking: "Durata: "
    include_watchdog: enable_watchdog
    watchdog_timeframe:
      hours: 3
      minutes: 0
      seconds: 0
    watchdog_title: āš ļø Monitoraggio Lavatrice
    watchdog_message: Uh-oh! Forse devi controllare la lavatrice.
    include_custom_actions:
      - enable_end_custom_actions
    end_custom_actions:
      - action: notify.alexa_media_echo_dot_soggiorno
        data:
          message: La lavatrice dovrebbe aver terminato il lavaggio!!
          title: Lavaggio
      - action: notify.alexa_media_echo_dot_soppalco
        data:
          message: La lavatrice dovrebbe aver terminato il lavaggio!!
          title: Lavaggio
      - action: notify.alexa_media_echo_pop_di_bruno
        data:
          message: La lavatrice dovrebbe aver terminato il lavaggio!!
          title: Lavaggio
    include_time: time_disabled
    after_time: "06:30:00"
    before_time: "21:00:00"
    running_dead_zone: 2
    start_power_consumption: input_number.powertrack_start
    end_power_consumption: input_number.powertrack_stop
    include_start_notify: enable_start_notify_options
    start_notify_device:
      - 1d126dd37c551441747f17a5bac1932e

@brunopiras

In your power setting could you try a few things.

  1. Set your Running - Dead Zone to 0
  2. Set your End - Repeat Count to 1

Test it and see if that works. It is still hard to see your graph data.

Blacky :smiley:

1 Like

@Blacky

Ok, I did !

Just to wait the next wifeā€™s laundry time :smiley: I think tomorrow morning.

Thanks

ps:

Better graph power

1 Like

@Blacky

Done!

It works very well, notify start and notify finished with additional informations like duration, cost.

Custom notifications (media player) works too.

Thanks

@brunopiras

Perfectā€¦ nice to know it is working. This is one automation that I love and cant live without now.

Thanks for getting back to us and letting us know.

Enjoy

Blacky :smiley:

Hi all! how you config this if you have 2 or more variable energy cost? Thanks!!

@kilopter

Have you enabled the end notification.

Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā€œ</>ā€ and paste code in there.

Blacky :smiley:

thanksā€¦ already close the last postā€¦ due was an issue when activate the Power Tracking. having some issues with that partā€¦! heheh Thanks blacky

@kilopter

No problem.

You would still create your number helper then have a custom automation to change it for you.

Create a new custom automation > 3 dots top right > edit in YAML and paste the code below then in the Then do expand it out and in each of the action change it to your energy rate and your number entity ID.

NOTE: It takes the number at the end of the cycle so if it crosses over the cost is not accurate.

alias: Energy Cost
description: Energy Cost During The Day
triggers:
  - trigger: time
    at: "08:00:00"
    id: morning
  - trigger: time
    at: "15:00:00"
    id: afternoon
  - trigger: time
    at: "21:00:00"
    id: evening
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: morning
        sequence:
          - data:
              value: 0.2
            action: input_number.set_value
            target:
              entity_id: input_number.electricity_rate
      - conditions:
          - condition: trigger
            id: afternoon
        sequence:
          - data:
              value: 0.35
            action: input_number.set_value
            target:
              entity_id: input_number.electricity_rate
      - conditions:
          - condition: trigger
            id: evening
        sequence:
          - data:
              value: 0.15
            action: input_number.set_value
            target:
              entity_id: input_number.electricity_rate
mode: single

Blacky :smiley:

yes!! more simple imposible:)

another questionā€¦ its possible to export the cost value or the consume to an entity?

If a load of laundry is costing you $11, you are doing it wrong.

@kilopter

Yes you can, but you would have to do it in the custom actions and record it to a number helper but that will only last for 10 days. You can do other things to record the data into HA but it is quite involved and should proceed with caution.

Regards the image of your notification, I not sure if your asking a question or just showing your notification. Because I donā€™t know your currency I am not sure if $11.17 is correctā€¦ it might be :thinking:. For me my electricity rate is 35 cents so my number helper must be 0.35 then it would be 0.09 x 0.35 = $0.03.

Blacky :smiley:

now works perfect!! thanks