From: David Woodhouse Date: Wed, 6 Sep 2023 11:33:19 +0000 (+0100) Subject: Turn pump on/off at 7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8739855ea208689fc608c0373cf263ced5a8851b;p=users%2Fdwmw2%2Fesp32-pool.git Turn pump on/off at 7 --- diff --git a/pool.yaml b/pool.yaml index 1b649ae..75ba9cd 100644 --- a/pool.yaml +++ b/pool.yaml @@ -113,6 +113,8 @@ time: - switch.turn_on: ble_switch - delay: 2min - switch.turn_off: ble_switch + + # Watchdog for 1wire sensors to bounce power when they fail. - seconds: 0 minutes: /1 then: @@ -134,6 +136,19 @@ time: # Turn them off and on again. script.execute: bounce_1w_power + # Turn pool pump on at 7am and off at 7pm + - seconds: 0 + minutes: 0 + hours: 7 + then: + - switch.turn_on: pool_pump + - seconds: 0 + minutes: 0 + hours: 19 + then: + - switch.turn_off: pool_pump + + ethernet: type: LAN8720 mdc_pin: GPIO23