Dear All,
I am having some trouble to create a simple automation which sends a notification to my phone when the waschingmachine is finished.
I read the following posts:
and
From the official post and from the community forum I also decided to create a helper to support the automation. Everything is looping around the Watt / Power part of the Sonoff smart plug.
Here is the code from HA:
alias: Dryer
description: some description here?
triggers:
- trigger: state
entity_id:
- binary_sensor.dryer_helper
from:
- "off"
to:
- "on"
conditions:
- condition: numeric_state
entity_id: sensor.miele_dryer_power
below: 2
actions:
- action: notify.mobile_app_bob_iphone
metadata: {}
data:
message: DRYER READY
mode: single
I used entity to make code simpler and understandable as well. In short here is what is happening:
binary_sensor.dryer_helper is a treshlod helper with an only upper limit of 300 Watts. Currently the dryer is not running so the helper is OFF, when the dryer reaches a running state it turns to ON and this should “fire” the automation.
The condition which should be checked is also easy, as soon as the dryer sonoff smart plug sensor reaches a below 2 Watt value, send me a notification to my phone.
The helper works, i tested that, but the automation somehow not, as I do not get the notification.
I tried to debug it somehow to run it manually (that’s why i added the post above) because it drove me crazy that even that the helper was OFF state not changed, the full automation ran
now i know that it is “normal”.
For me what is also interesting (and i hope i understand correctly) the trigger which fires / starts the automation as first step, but after that is done (even if the helper turns later off on off on 1000 times) the automation MUST BE in running state and now waiting for the condition to be met. In this case I should see it somewhere that it is running in HA and waiting for next step. However I cannot see this anywhere. I really do not know that the trigger or the condition is wrong now ![]()
I have a power diagram about the dryer behaviour. It starts from 0W runs up to 900W, keeps it, then there is a 192W cooling time, then back to 0W. There are no jumps it is solid. Unlike a washing machine where the Watt jumps up and down based on if the drum rotates or water is heated etc…
So i am stuck here and I have no clue how to debug further.
Any help or tips would be highly appreciated.
Thank you!