May I ask with which device you monitor the dishwasher?
Hi @fastender. yes sure, I use a Gosund SP111 flashed with ESPhome. But I think e.gā¦ a shelly plug s must also be sufficientā¦ basically any plug or device that can near-realtime (~3s what I use) measure power consumption will do.
Can we please have hysteresis down to zero as well? Makes the usage more flexible (add a recommendation not to go lower than 0,25min). In my case, I have a pump in the basement that runs 10s than turns off. Thanks, Stefan.
I must be missing something I think.
I thought I could use this blueprint to alert me when my kettle has finished boiling. Iāve got a flashed Gosund UP111. All added into HA etc.
Iāve set the automation up to use the Gosunds āPowerā sensor (giving W output)
set the starting power threshold to 100W (it is a kettle afterall!)
Starting hysteresis - 0.5m
Finishing power threshold - 2W
Finishing hysteresis - 0.25m ( it draws nothing when the switch has clicked - so sooner the better on notification)
Iāve then set it to notify.notify so I get a message on my phone.
However, when I run the kettle, which has the smart socket set in always on mode, nothing happens.
Anyone got any clue as to why thatād be the case? I canāt see why it wouldnāt work from those criteria.
Have you checked the flashed UP111 to make sure its calibrated? I had similar issue with washing machine but found out my calibration was way out of whack. It was only reporting 7W output on ~500W. My blueprint wouldnāt trigger obviously.
I have checked the calibration. It is correct and reports accordingly.
I have now managed to get some response from the alert. However it takes 5-6 minutes to actually send the alert to let me know the appliance has turned off. There arenāt any other delays on the alerts on the system and the system isnāt under any particular load. I have the blueprint automation set to 0.25 minutesā¦
to work with a Aqara lumi.vibration.aq1
by LUMI vibration sensor using deconz I changed the lines below to device class of vibration.
vibration_sensor:
name: Vibration Sensor
description: 'Vibration sensor entity ( Aqara lumi.vibration.aq1 sensor). Needs to have device_class:
vibration'
selector:
entity:
domain: binary_sensor
device_class: vibration
Hi. Thanks for the blueprint
One wish, is that u can configure the sound to be played if the time is between 8 - 23.
I have this simple configuration
alias: La lavatrice ha finito
description: ''
use_blueprint:
path: >-
sbyx/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
input:
power_sensor: sensor.lavatrice_energy_power
actions:
- service: notify.telegram
data:
message: La lavatrice ha finito
But action donāt trigger even if I press ārun actionsā. Any idea ?
For some reason is anyone else having an issue running TTS I have tried all of them but for some reason under this blue print TTS is not working. It works on other automations and it works as a script but as soon as I put it in this automation it doesnāt work.
I am having the same issue the actions are not working. I thought it was just TTS but itās everything
I absolutely love this blueprint! Even the wife likes this feature.
I sometimes forget to start the dishwasher (waiting for that one glass before starting the dishwasher)
Has anyone made an automation based on this blueprint by if the dishwasher has not finished before 10:00pm you get a message reminding you that you forgot to turn it on?
My actions also donāt trigger. Couldnāt see anything wrong in the code though.
So I use this blueprint for a few months and it always worked great - even when HA has been restarted meanwhile, the automation got triggered and performed the desired actions properly.
BUT for some while (noticed it first about a week ago around March 21st) all automations based on this blueprint donĀ“t work sporadically. Today there even was NO restart of HA, only thing done was working on (other!) automations which reloaded all automations of course.
I have no idea why it doesnĀ“t work stable anymore. Maybe a recent HA Core update changed something fundamental?
@Sbyx what would you need to debug / track down this major issue? Any ideas what to test?
Update:
After doing some tests I suspect that when automations being reloaded (either manually or by simply editing ANY automation - does not need to be one based on this blueprint!) during the appliance currently running, the action will never trigger because the automation doesnāt know (anymore) the appliance is already running. So it seems like this blueprint is not automation reloading bulletproof (anymore).
Can someone confirm this behavior? Itās very strange cause some time ago this automation/blueprint was even HA restart resistant and now it breaks as soon as you touch any automationā¦ annoying and not very reliable!
Any idea how to fix thatā¦?
Iām thinking bout a āfailsafeā workaround: a second automation which checks if the appliance is below XX watts for more than XX minutes and triggers the action of this automation. Really ugly and not that smart.ā to be honest.
Amazing work.
I use this and an imput_select to notify my 2 kids to take turns automaticaly to empty the dishwasher . When they mark it as complete we all get a phone notif, they get $$ and the āturnā goes to the other one.
Care to share this? Have two kids that fight over the dishwasher job.
Great blueprint. Thank you for sharing!
Before I share my automation Iāve one question:
In āEdit in visual editorā I can see āFinishing power thresholdā but switching to āEdit in YAMLā it is nowhere to be seen. As the automation is working properly I donāt think thereās a problem but you might want to look at it.
Okayā¦as the blueprint is working great and my washing machine automations needed an upgrade I configured the following:
- My wife and me get a notification with actionable buttons when the washing machine has finished.
- My buttons are āI will do itā (hanging the washing up) and āCan you pleaseā; hers are the same.
- If I click āI will do itā she get.s a new notification that I will do hang up the washing and her first notification is being deleted. If she clicks the āI will do itā itās convinient the other way round.
- If I click āPlease do itā sheāll be asked in a new notfication to do it because Iām in a meeting in HO. If she clicks her āCan you please?ā I get a new notfication to ask me to do it.
Easy way to notify both of us and share the house work.
Youāll need the base automations and another one for every answer to the second notification.
Sure!
I used this as a great inspiration for the overall setup (points & cash).
For the diswasher specificaly:
- I have a input_select
dishingmachine_turn:
name: Dishing Machine
options:
- MySonName
- MyDoughterName
initial: MySonName
- A input_boolean
dishwasher_is_empty:
name: DishwasherIsEmpty
icon: mdi:dishwasher
- The automation from this template
alias: Dishwasher has finished
description: ''
use_blueprint:
path: >-
sbyx/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
input:
power_sensor: sensor.kitchen_dishwasher_plug_power
actions:
- service: input_boolean.turn_off
data: {}
entity_id: input_boolean.dishwasher_is_empty
- service: notify.mobile_app_my_iphone
data:
message: >-
The dishwasher has finished!
{{states('input_select.dishingmachine_turn')}} has to empty today!
data:
persistent: true
tag: persistent
- service: notify.mobile_app_wife_iphone
data:
message: >-
The dishwasher has finished!
{{states('input_select.dishingmachine_turn')}} has to empty today!
data:
persistent: true
tag: persistent
- service: notify.mobile_app_doughter_iphone
data:
message: >-
The dishwasher has finished!
{{states('input_select.dishingmachine_turn')}} has to empty today!
data:
persistent: true
tag: persistent
- service: notify.mobile_app_son_iphone
data:
message: >-
The dishwasher has finished!
{{states('input_select.dishingmachine_turn')}} has to empty today!
data:
persistent: true
tag: persistent
- data:
volume_level: 0.1
entity_id: media_player.living_echo
service: media_player.volume_set
- service: notify.alexa_media
data:
data:
type: tts
message: >-
The dishwasher has finished!
{{states('input_select.dishingmachine_turn')}} has to emtpy today!
target:
- media_player.living_echo
- service: media_player.volume_set
data:
volume_level: 0.4
entity_id: media_player.living_echo
starting_hysteresis: '5'
starting_threshold: '2'
finishing_threshold: '2'
finishing_hysteresis: '5'
- Each kid has his own dashboard with a conditional card (only show him the button is is his/her turn and if the dishwhasher is not empty) ā¦ here is my sonās ā¦ similar fo rmy doughter
type: conditional
conditions:
- entity: input_select.dishingmachine_turn
state: MySonName
- entity: input_boolean.dishwasher_is_empty
state: 'off'
- entity: sensor.daytime
state: 'True'
card:
type: entities
entities:
- entity: input_boolean.dishwasher_is_empty
name: Empty Dishwasher
- When they ācheckā it on their dahsboard (changing the input boolean to true) I have another automation (for each) that is:
- giving them 10 points (each point is 5 euro cents)
- sned notification to me and my wife
- changing the input select to the other kid
- in this way the button disapeares as well from their dashboard (see conditional card above)
alias: MySon Points Management ADD - Dishwasher
description: ''
trigger:
- platform: state
entity_id: input_boolean.dishwasher_is_empty
to: 'on'
from: 'off'
condition:
- condition: state
entity_id: input_select.dishingmachine_turn
state: MySonName
action:
- service: input_number.set_value
data:
value: '{{ states(''input_number.points_MySonName'') | int + 10 | int }}'
entity_id: input_number.points_david
- service: notify.mobile_app_wife_iphone
data:
message: '{{states(''input_select.dishingmachine_turn'')}} emptied the dishwasher!'
data:
persistent: true
tag: persistent
- service: notify.mobile_app_my_iphone
data:
message: '{{states(''input_select.dishingmachine_turn'')}} emptied the dishwasher!'
data:
persistent: true
tag: persistent
- service: input_select.select_next
data: {}
entity_id: input_select.dishingmachine_turn
- service: input_datetime.set_datetime
data:
datetime: '{{ now().strftime(''%Y-%m-%d %H:%M:%S'') }}'
entity_id: input_datetime.dishwasher_last_empty
mode: single
max: 10
PS:
- I could probably avoid 2 automations on point 5 with 1 script, but I did not have time to make it ā¦ maybe later on
- When HA restarts my son gets the turn ā¦ I need to see if the ārecorderā HA integration makes this persistent
- A script will be as weel great to make sure Alexa does not announce the dishwasher finished during the night ( I could not make a condition into the blueprint for that ā¦)
Iām having the same issue. Anyone solved it yet?