Here’s a screencap of my dishwasher’s power consumption while running. I’m trying to create a sensor to detect when it’s running. What is represented by the lighter blue region? Mousing-over reads “max”, but I was watching the actual value of the sensor and it wasn’t that high. Is that a historical max over some period? Looks like I should be able to watch for that big area at the end of the cycle - the drop-off of the curve mapped well to when the washer finished drying.
This is the cycle of my dishwasher:
I set input_boolean.dishwasher_run
to on
when power draw goes above 5W for 15s and I receive a notification when the power draw is below 1.9W for 5min, but only if the input_boolean.dishwasher_run
is actually set to on
at the time.
- alias: D/W Set On
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.sonoff_s31_01_power
above: 5
for:
seconds: 15
condition:
- condition: state
entity_id: input_boolean.dishwasher_run
state: 'off'
action:
- service: input_boolean.turn_on
entity_id: input_boolean.dishwasher_run
- alias: D/W Set Off
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.sonoff_s31_01_power
below: 1.9
for:
minutes: 5
condition:
- condition: state
entity_id: input_boolean.dishwasher_run
state: 'on'
action:
- service: input_boolean.turn_off
entity_id: input_boolean.dishwasher_run
Once the notification has been sent the input_boolean.dishwasher_run
is set to off
I don’t really put much enery into interpreting the kind of history chart you’re showing - other than the dark blue line it’s of no use for me
P.S.:
Please not that there might be some legacy terminology in there, I’ve been using this setup for a few years by now
After some searching with different terms, I came across this thread. The blue area is described as a 5 minute max/min, with the blue line being the 5 minute mean. I’m working on recreating that with a statistics sensor.