Great, update has worked
Hello @Blacky , juste have found your BP yesterday
I tried to configure it, but it doesnât work
would you mind to have a look ?
thank you very much
_power is in W
_energy is in kWh
alias: Bouilloire BP
description: ""
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
start_notify_device:
- fcb72cf06d70f50cde44e29278540c84
start_notify_data:
- high_priority
power_sensor: sensor.prise_a9_power
running_dead_zone: 0
end_appliance_power: 1
end_time_delay: 1
include_start_notify: enable_start_notify_options
start_message: DĂ©marrage
start_notify_channel: Bouilloire
include_end_notify: enable_end_notify_options
end_notify_device:
- fcb72cf06d70f50cde44e29278540c84
start_title: Bouilloire
end_message_title: Bouilloire
end_message: Fin
end_notify_data: []
end_notify_channel: Bouilloire
include_power_tracking: enable_power_tracking_and_cost
power_consumption_sensor: sensor.prise_a9_energy
end_message_kwh: Consommation
end_message_cost: CoĂ»t âŹ
cost_per_kwh: sensor.tempo_now_price
include_duration_tracking: enable_duration_tracking
end_message_duration_tracking: Durée du cycle
start_appliance_power: 5
start_power_consumption: input_number.puissance_bouilloire_debut
end_power_consumption: input_number.puissance_bouilloire_fin
end_custom_actions:
- action: notify.persistent_notification
metadata: {}
data:
title: "{{end_message_title}}"
message: >
{{end_message}} {% set kwh =
states(input_number.puissance_bouilloire_fin) | float -
states(input_number.puissance_bouilloire_debut) | float %}
{{'\n'}}{{end_message_kwh}} {{kwh | round(2) }} kWh {% set cost =
(states(input_number.puissance_bouilloire_fin) | float -
states(input_number.puissance_bouilloire_debut) | float) *
(states(sensor.tempo_now_price) | float) %}
{{'\n'}}{{end_message_cost}}{{cost | round(2) }}
start_time_delay: 0.25
include_custom_actions:
- enable_end_custom_actions
always 0 W when idle
Looks like you added your entity ID in your custom end notification. Below is the new code.
alias: Bouilloire BP
description: ""
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
start_notify_device:
- fcb72cf06d70f50cde44e29278540c84
start_notify_data:
- high_priority
power_sensor: sensor.prise_a9_power
running_dead_zone: 0
end_appliance_power: 1
end_time_delay: 1
include_start_notify: enable_start_notify_options
start_message: DĂ©marrage
start_notify_channel: Bouilloire
include_end_notify: enable_end_notify_options
end_notify_device:
- fcb72cf06d70f50cde44e29278540c84
start_title: Bouilloire
end_message_title: Bouilloire
end_message: Fin
end_notify_data: []
end_notify_channel: Bouilloire
include_power_tracking: enable_power_tracking_and_cost
power_consumption_sensor: sensor.prise_a9_energy
end_message_kwh: Consommation
end_message_cost: CoĂ»t âŹ
cost_per_kwh: sensor.tempo_now_price
include_duration_tracking: enable_duration_tracking
end_message_duration_tracking: Durée du cycle
start_appliance_power: 5
start_power_consumption: input_number.puissance_bouilloire_debut
end_power_consumption: input_number.puissance_bouilloire_fin
end_custom_actions:
- action: notify.persistent_notification
metadata: {}
data:
title: "{{end_message_title}}"
message: >
{{end_message}} {% set kwh = states(end_power_consumption) | float -
states(start_power_consumption) | float %}
{{'\n'}}{{end_message_kwh}} {{kwh | round(2) }} kWh {% set cost =
(states(end_power_consumption) | float -
states(start_power_consumption) | float) * (states(cost_per_kwh) |
float) %} {{'\n'}}{{end_message_cost}}{{cost | round(2) }}
start_time_delay: 0.25
include_custom_actions:
- enable_end_custom_actions
Blacky
Hi Blacky, I didnât find a âfeature requestâ section, so I try to reach you here:
FEATURE REQUST: Please include a âwater meterâ usage entity and notification, with the same functionality as the power usage entity and message.
I have an entity incrementing total water usage in cubic meters and would like the blueprint to include the used water, when it reports the power usage at the end of the washing cycle.
thx for the great blueprint and your active contribution to our fantastic user experience in home-assistant!
Hi @Blacky I have a suggestion.
In your opinion is is possible to add another number helper to works like a counter of the events that the appliance is used?
Below my idea:
Tumble dryer but also washing machine and dishwasher require maintenance so my idea was to have a counter that when becomes for example 10 ( so when the appliance has been used 10 times, and so the automation notified the end 10 times) will trigger a notification to remind âhey maybe itâs time to look at the filterâ
What do you think?
I havenât really started monitoring water usage as the amount is not much and I not sure how cost effective it is to have water meters on every appliance. I will however put it on the list.
Thanks for your suggestion.
Blacky
Finally it all works fine for all my BP
You can create a helper, (counter) and add that to the global actions (end) part of the automation.
So that when the switch is turned off after a cycle, after a certain amount of time, the counter adds +1. That is how I do it.
After that you can add a step that will inform you when a certain number of steps has been reached.
But of course, Blacky can integrate this far more better in his BPđ!
I have been using this BP for my washing machine and itâs been working great.
Recently we have been running an extra manual spin cycle straight after the main wash cycle.
Would there be an easy way to differentiate these and have the notification adjusted accordingly?
Example:
- Regular Washing Cycle Finished
- Spin Cycle Fnished.
I see there is an option to enable duration. Not sure if that value could be used to determine cycle type? The wash cycle is typically longer than just a spin cycle.
Thanks.
Hello,
Installed and configured triggers to detect start and stop and created 2 different messages to go to my phone telling "started " and âfinishedâ.
Strangely, I get both timess the message âstartedâ, also at the end? I used the configurator UI so did not write code myself. Any obvious mistake you know of?
Kind regards
Welcome to the community.
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
No worries.
My scripting knowledge is limited, so I ended up creating two BPs and a helper & template sensor, then using them in the BP global conditions to determine if it is a âwash cycleâ or âspin cycleâ.
I am using this BP to monitor a number of appliances, till now working great!
But one of them is giving me a slight headache. As of yesterday the notification doesnât work anymore with the message from Spook as a result. I tried to search for this double mentioning of my cell phone but I canât find it. Not in the automation itself, not in the yaml.
The automation itself is working, just the notification is corrupt.
Of course I restarted, CTRL-F5, disabled and re-enabled my phone in the automation, but as soon as I do, the same error.
Where can I look for this?
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
alias: Combi Oven (Blacky 2.7)
description: ""
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
end_power_consumption: input_number.combi_oven_einde_kwh
power_sensor: sensor.combi_oven_power
include_end_notify: enable_end_notify_options
end_message_title: Combi Oven
end_notify_device:
- a529b70b25db87bd10e8ba76bad4879f
end_message: De oven is klaar!
include_power_tracking: enable_power_tracking_and_cost
power_consumption_sensor: sensor.combi_oven_energy
end_message_kwh: Verbruik Oven
end_message_cost: Approx Cost âŹ
cost_per_kwh: input_number.all_in_enkeltarief_stroom
start_power_consumption: input_number.combi_oven_start_kwh
include_duration_tracking: enable_duration_tracking
end_message_duration_tracking: Duur Oven
start_time_delay: 0.1
end_time_delay: 0.1
end_custom_actions:
- action: counter.increment
metadata: {}
data: {}
target:
entity_id:
- counter.combi_oven_uses
- counter.counter_combi_oven_2
include_custom_actions:
- enable_end_custom_actions
Extra info: since Iâm using Watchman in the background I saw that it mentioned a number of ânotify.mobile_app_â missing in both appliance and low battery yamlâs.
So I added for every line, (according to Watchman): sm_g998b in the appliance and battery-yaml under blueprints > automations > Blackshome. But after that the issue with the âcombi ovenâ automation started.
I was checking that first of course, but again, I couldnât see any doublings.
Just so you know.
That is the problem, it not good to edit the blueprint code. Click on the import blueprint again at the top. It should fix the code you edited back to the original. There is a new release for this out now that I am doing anyway.
Blacky
Watts your appliance up to, youâre always in the know from start to finish!
New Features
-
Cycle Counter
Tracks the total number of appliance cycles, with the option to include it in the end notification. -
Service Reminder
Notifies when a service is due based on a specified number of cycles, helping maintain appliance performance.
Maintenance
- Some code cleanup.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky