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

First of all, congratulations on the blueprint, it’s fantastic!

Regarding the Run Status, I’m confused.

I created the following statuses for a microwave I’m using your blueprint for:

  • Idle - When it’s stopped;
  • Heating - When it’s running (Run Start);
  • Finished - When it finishes (Run End).

The problem is that it only alternates between ā€œHeatingā€ and ā€œFinished,ā€ never leaving ā€œFinishedā€ and never returning to the ā€œIdleā€ status.

If I put ā€œIdleā€ in the End Status, it only alternates between ā€œIdleā€ and ā€œHeating,ā€ and I don’t have the status of exact momento when it’s finished.

How do I switch between the different statuses?

I thought it would have one status when stopped, another when running, and another that would only change to finished and return to idle after a few seconds.

Currently, I’ve created another automation that switches from Finished to Idle as soon as it enters Finished mode, and it’s working as I expected, but I’d like to know if there’s a way to do this natively.

First of all, congratulations on the blueprint, it’s fantastic!

Regarding the Run Status, I’m confused.

I created the following statuses for a microwave I’m using your blueprint for:

  • Idle - When it’s stopped;
  • Heating - When it’s running (Run Start);
  • Finished - When it finishes (Run End).

The problem is that it only alternates between ā€œHeatingā€ and ā€œFinished,ā€ never leaving ā€œFinishedā€ and never returning to the ā€œIdleā€ status.

If I put ā€œIdleā€ in the End Status, it only alternates between ā€œIdleā€ and ā€œHeating,ā€ and I don’t have the status of exact momento when it’s finished.

How do I switch between the different statuses?

I thought it would have one status when stopped, another when running, and another that would only change to finished and return to idle after a few seconds.

Currently, I’ve created another automation that switches from Finished to Idle as soon as it enters Finished mode, and it’s working as I expected, but I’d like to know if there’s a way to do this natively.

Hi again,

I’ve been enjoying this for my washing machine a lot.
I recently got a 3d printer with integration that can show state.

It would be amazing to, if possible track an entity state other than power, as it can be more precise (in my case, start state would be: printing, instead of >17w for more than 0.5m)

Hope it makes sense, would be a great addition, not just for 3d printing, but any device with a state, that doesn’t require guessing based on power.

I just did 2 prints back to back, and never hit the end state, because power tracking didn’t hit it, but state would’ve.

Thank you!

How to update the project: If i reimport it i am forced to recreate the automations? or it is automatic?

What i have seen so far, they updated automatically when you open up again as you selected to override (same name and path fornthe blueprint after all) :slight_smile:

1 Like

@slip.cougan

It is saying that the time should be positive. Have you got a negative.

If you would like me to look at it 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.

So when you get to this point you should be able to end the automation. The repeat count is for haw many times your end settings must be met before it can end.

Blacky :grinning:

@fabianosan

No, you have start and end. If you would like more then you would put a door sensor on the microwave and use the Reminder Notification Options. Then you can have

  • Heating
  • Food is ready (Finished).
  • Idle (when you open the door and it has been attended to thus ready for more).

Blacky :grinning:

1 Like

@dunky13

Yeah what you do is convert the state (printing) to a number value using a template sensor. Then you just use that template sensor as the trigger and in this case 15 watts.

To create a Template sensor, follow these steps:

  1. Navigate to Settings > Device & Services > Helpers tab at the top.
  2. Click the Create helper button.
  3. Select Template and then choose Sensor.

Next, provide a Name, Unit of measurement, Device class and State class of your choice. If applicable, you can link this template to an existing device so it appears under that device’s details.

In the State template field, add the code below, replacing sensor.your_3d_printer_status with your entity ID.

{% if is_state('sensor.your_3d_printer_status', 'printing') %}
  20
{% else %}
  0
{% endif %}

Blacky :grinning:

1 Like

@maurizio53

In this case you just re-import it and all your existing automations will be fine. You just have to be careful that blueprint authors don’t change inputs as that can break them. I normally will notify you in the release notes if this happens. This one is all good.

Blacky :grinning:

Hmmm, i reimported the project, but i was forced to make all settings again as the automation was empty. Maybe i was wrong in something? I just pressed the ā€œreimportā€ option in the project.

Have a look in your Automation tab and not the Blueprints tab. They should all be there.

settings → automations & scenes → automations tab at the top. Look for the automation you saved.

Blacky :grinning:

Thanks for taking the time and trouble to look at this.
I don’t see any time entries in the YAML at all.
Here is the code:

alias: Blueprint.Tumble Dryer
description: ""
use_blueprint:
  path: Blackshome/appliance-notifications.yaml
  input:
    run_status_entity: input_select.helper_tumble_dryer_status
    run_status_start: Drying
    run_status_watchdog: Dryer Error!
    run_status_end: Dryer Finished
    run_status_end_reminder: Unload Dryer
    run_status_end_attended: Dryer Awaiting Load
    power_sensor: sensor.tumble_dryer_power
    running_dead_zone: 1
    end_appliance_power: 15
    include_start_notify: enable_start_notify_options
    start_notify_device:
      - 33d52892679764f90e1aabcb56f60871
    start_title: Tumble Dryer
    start_message: Dryer load is ON
    start_notify_tag: drying
    start_notify_data:
      - channel
      - icon
      - sticky
    start_notify_channel: 113 HA notification channel
    start_notify_icon: mdi:tumble-dryer
    end_notify_device:
      - 33d52892679764f90e1aabcb56f60871
    end_message_title: Tumble Dryer
    end_message: Tumble Dryer finished!
    end_notify_tag: drying
    end_notify_data:
      - channel
      - icon
      - sticky
    end_notify_channel: 113 HA notification channel
    end_notify_icon: mdi:tumble-dryer-off
    include_run_status: run_status_enabled
    include_power_tracking: enable_power_tracking_and_cost
    power_consumption_sensor: sensor.tumble_dryer_energy
    end_reminder_notification: enable_reminder_notification_notify
    end_message_cost: Approx Cost £
    cost_per_kwh: sensor.main_supply_energy_cost
    start_power_consumption: input_number.helper_number_tumble_dryer_energy_start
    end_power_consumption: input_number.helper_number_tumble_dryer_energy_stop
    cycle_counter_helper: counter.helper_counter_tumble_dryer_cycle
    include_service_reminder: enable_service_reminder
    service_reminder_counter_helper: counter.helper_counter_tumble_dryer_cycle
    service_reminder_cycles: 15
    include_custom_actions:
      - enable_start_custom_actions
    start_custom_actions:
      - action: input_boolean.turn_on
        metadata: {}
        target:
          entity_id: input_boolean.helper_tumble_dryer_run_status
        data: {}
    end_custom_actions:
      - action: input_boolean.turn_off
        metadata: {}
        target:
          entity_id: input_boolean.helper_tumble_dryer_run_status
        data: {}
    include_watchdog: enable_watchdog
    watchdog_notify_device:
      - 33d52892679764f90e1aabcb56f60871
    watchdog_title: āš ļø Appliance Watchdog
    watchdog_message: Check Tumble Dryer
    watchdog_notify_tag: drying
    watchdog_notify_data:
      - sticky
      - channel
      - icon
    watchdog_notify_channel: 113 HA notification channel
    watchdog_notify_icon: mdi:tumble-dryer-alert
    end_repeat_count: 2
    include_end_notify: enable_end_notify_options
    include_cycle_counter: enable_cycle_counter
    start_appliance_power: 15
    end_reminder_notification_max_count: 7
    include_runtime_tracking: enable_runtime_tracking_and_notify
    runtime_tracking_helper: input_text.helper_tumble_dryer_runtime_tracking
    include_duration_tracking: enable_duration_tracking
    watchdog_timeframe:
      hours: 0
      minutes: 1
      seconds: 0

Awesome blueprint BTW!

How would I go about adding a reminder state if say the washing machine hasn’t been unloaded? I have a zigbee plug I’m using to trigger the running and end state via the power output on both the washer and the dryer. I have a zigbee contact sensor on the dryer door.

Do I add a custom action before the end action to wait ā€œXā€ time and then select the ā€œreminderā€ state in my dropdown? I’ll also add a TTS reminder before the end state to broadcast it to my Amazon echo devices. Is this the best way, or should I do something else?

Can I change the color of the icon in the dashboard to change based on the state/status of the washer?

@slip.cougan

I had a quick look at your yaml. In End Notify you have enabled a Reminder Notification Option but you will need to input a Reminder Notification Entity. Normally this will be a door contact sensor. If you don’t have a entity for this input (option) then disable this option and test it out.

Blacky :grinning:

@cwyman1

This is already built into it. Look in End Notify and the Reminder Notification Options. Select the option you would like to use and add your zigbee contact sensor on the dryer door to the Reminder Notification Entity. Below that set the following 4 inputs below.

Blacky :grinning:

@Blacky
I tried this and it appears to only work on sending the notification to a phone. Unless I’m missing something.

I’m trying to just change the dropdown status so that it shows up as a reminder on my dashboards and my TTS announcements made over my Echo speakers. It does this now based on the the ā€œend run statusā€ for ā€œrunning, complete, and offā€ but I can’t figure out how to change it to utilize the ā€œend reminder statusā€. I hope that makes sense.

@cwyman1

When you use the run status it must match exactly the same so

Empty me can’t be Empty Me and Off cant be off, please see the FAQ click here

Blacky :grinning:

@Blacky
I’m having a issue where I’m getting alerts broadcast to my Echo devices based on my custom actions when they’re outside of the Notify Time Restrictions. This morning at 9am it broadcast to my Echo devices even though it’s outside of the time restrictions and woke up my daughter. Do I need to add something in my custom actions to restrict the time?