Hello,
i have problems monitoring the laundry dryer and send a notification when drying stops.
this is the power consumption of one drying process:
the problem is here the short (2-3min.) spikes at the end. here the dryer is waiting and slowly turning the laundry to loosen up. but i get a notification at the end of every spike.
hope that you can give me a good tip (e.g. when the power is going down from above 400 watts to ca. 5 and it’is not rising for at least 5 mins to above 400 again or similar)
thank you very much in advance
Stephan
i use the following codes for my washing machine and my dryer:
configuration.yaml:
input_boolean:
washer_switch:
name: Waschmaschine an
initial: off
dryer_switch:
name: Trockner an
initial: off
sensors.yaml:
- platform: template
sensors:
# True when washer power level is below 2.0 Watts, high threshold of resting state Default state is true
washer_pwrdn:
value_template: "{{ states('sensor.steckdosenschalter_1_leistungsmessung_power') | int < 2.0 }}"
# True when Dryer power level is below 2.0 watts, showing dryer is in operation (as opposed to just having the door open)
# Default state is false
dryer_pwrdn:
value_template: "{{ states('sensor.power_2') | int < 2.0 }}"
automations.yaml:
- alias: Trockner Start
hide_entity: true
trigger:
platform: state
entity_id: sensor.dryer_pwrdn
from: 'True'
to: 'False'
action:
service: input_boolean.turn_on
entity_id: input_boolean.dryer_switch
- alias: Trockner Done1
hide_entity: true
trigger:
platform: state
entity_id: sensor.dryer_pwrdn
from: 'False'
to: 'True'
for:
minutes: '1'
condition:
condition: state
entity_id: input_boolean.dryer_switch
state: 'on'
action:
- data:
data:
title: Der Wäschetrockner informiert!
message: Der Trockenvorgang ist beendet!
service: notify.pushover
- alias: Trockner Done2
hide_entity: true
trigger:
platform: state
entity_id: sensor.dryer_pwrdn
from: 'False'
to: 'True'
for:
minutes: '1'
condition:
condition: state
entity_id: input_boolean.dryer_switch
state: 'on'
action:
- service: input_boolean.turn_off
entity_id: input_boolean.dryer_switch