Hey there, i have a challenge and i need your advice on how to do it.
here i go … i have connected the washer machine to a power monitoring switch , from there everything works great , i can see the power consumption in HA and all.
now i would like to be able to alert receive an alert when the washing cycle finishes .From here, it seems simple.
My challenge is the following, i need to check repeatedly to detect when the cycle is really finished as the consumption is versatile. My starting point is 0.1 amps, to 5 , to 0.something … then 0.1 …then …you see the what i mean
so i would like to detect when it start it’s consumption 0.1 amps …to when it’s completely finished by looking in loop if the power is back down for a certain period of time ( let’s say 2 min ) and then send the notification if it’s the case.
here’s the image of what the consumption look like … it shows 3 complete washing cycles
this is what i implemented :slight_smile:
- alias: Lavage terminé
trigger:
platform: numeric_state
entity_id: sensor.zooz_zen15_power_switch_current
# Optional
# value_template: '{{ state.sensor.zooz_zen15_power_switch_current.state }}'
# At least one of the following required
above: 0.11
# If given, will trigger when condition has been for X time.
for:
minutes: 3
action:
service: tts.google_say
entity_id: media_player.maison
data:
message: 'La brasse de lavage est terminé'
language: 'fr'
thanks for the help , it pointed me in the right direction !
I implemented this by setting a boolean when washing begins, then using that as a condition of reporting that it’s ended. Otherwise, I think the solutions presented so far will give you erroneous alerts if you restart HA when your washer is idle.
Seems to work like a charm i’ll will let it run for a few days and come back here if anything . You can take into account that it works
The only addition i would do is that you need to add a logical switch ( boolean sensor ) in your configuration.yaml or external yaml file for it to work
ie :
input_boolean:
washing_state:
name: State of the washing machine
initial: off
icon: mdi:washing-machine