Hi All
First time poster here and am looking for help to automate my hot water cylinder in order to reduce electricity consumption. Any guidance or tips are welcome, I am looking to learn how to do more complex automations but am struggling with the conditionals and multiple time triggers.
Sensors availabe:
- Smart Switch controlling the power to the hot water cylinder
- Temperature probe in the middle of the cylinder
- Temperature probe at bottom of cylinder
Cylinder set up:
- Heating coil at the bottom (manual, controlled by internal thermostat)
- Fireplace Wet-back coil that occupies the middle 3rd of the cylinder
Here is how i am trying to go about it:
- 0700 Turn off power to the hot water cylinder (Peak Power Rate)
- 0900 Turn on power (Standard Power Rate)
- 0920 Turn off power (20 minutes is enough to heat the cylinder to 55C at bottom, we normally do not use hot water during the day)
- 1600 Turn on power (1 hour should be enough to bring the cylinder up to temp before peak power)
- 1700 Turn off power (Peak Power)
- 2100 Turn on power (Free Power)
- 2200 Turn off power (Standard Power)
- 2300 Turn on power (Low Power Rate)
That is the simple set up. What I am struggling with is how to set further conditions.
-
Condition 1: from 0000 - 0700, 0900 - 1700, 2100 - 2359 when the middle temperature sensor reaches 50C turn on until the bottom sensor reaches 55C
-
Condition 2 from 0700 - 0900 & 1700 - 2100 when middle sensor reaches 25C Turn on until bottom sensor reaches 40C
This is what I have so far automation wise (made in visual editor, exported as .yaml)
alias: Hot Water cylinder POWER SAVER
description: “”
triggers:
- trigger: time
at: “07:00:00”
conditions:
actions: - action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower - delay:
hours: 1
minutes: 0
seconds: 0
milliseconds: 0 - action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower - delay:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0 - action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower - choose:
- conditions:
- condition: time
after: “09:20:00”
before: “16:00:00”
weekday:- mon
- tue
- wed
- thu
- fri
- sat
- sun
- type: is_temperature
condition: device
device_id: 24033a0f0fbfc31bfdd2b519a8eb66de
entity_id: b23c9e7d45492ffd25e7bbda568e0c7f
domain: sensor
below: 50
sequence: - action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower - if:
- type: is_temperature
condition: device
device_id: 9681e962b629c3e40208342a11d413d5
entity_id: 661ee82a03a7b3090eaf5616ff24bac3
domain: sensor
above: 50
then: - action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower
- type: is_temperature
- condition: time
- conditions:
- choose:
- conditions:
- condition: time
after: “17:00:00”
weekday:- sun
- sat
- fri
- thu
- wed
- tue
- mon
sequence:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower - wait_for_trigger:
- trigger: time
at: “21:00:00”
- trigger: time
- action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.hotwatercylinderpower
mode: single
- condition: time
- conditions: