Hello I’m relatively new to home assistant and looking for some direction on how I can automate my sequence.
I have a 6 station system and I can easily automate each station in sequence with a predetermined time delay.
Because I don’t necessarily have to water each station at all times I’d like to have a matrix of selectable station switches that I enable and then hit start automation and it will water only those stations.
Where do I start? is there any other examples that I can modify for this automation?
Yes sorry timers will be better…but I’m looking for selective station i.e. I might wanna water stations 1,4 and 6 today not all six and tomorrow I might wanna water all 6.
I only have three zones. I have a schedule helper for each zone that I adjust seasonally.
Each zone has its own automation.
Schedule on → valve open but only if the soil moisture for that zone is below a certain level and only if there is not significant rain forecast for the next 24 hours.
Thanks Tom, I don’t want to use moisture sensors. I currently use my Tuya app to select my stations that I want to water. I want to be able to do it via home assistant.
I want to use one app rather than a bunch of apps for all my devices.
All good Tom, regardless of whether I want a fully automated system or a fancy remote I live in an area where water restrictions occur quite often without notice so that will be pretty hard to automate. Anyway back to my original question can this be done? Thanks for taking the time to respond
Sure, create an input boolean for each zone that you can use to indicate if you want it watered (on) or not (off).
Use either schedule helpers or time triggers for and an automation for each zone (schedule helpers are easier to change).
Trigger on the time or schedule and use a state condition to check the input boolean to see if the zone should be watered.
For turning the zones off you can trigger on the schedule turning off or create an input number (one for each zone if you want different times per zone). For that you would trigger like this:
# zone one off automation
triggers:
- trigger: state
entity_id: switch.zone_1
from: 'off'
to: 'on'
for:
minutes: "{{ states('input_number.zone_1_run_time') }}"
actions:
- action: switch.turn_off
target:
entity_id:
- switch.zone_1