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.