Hey everyone, I’m diving into the world of smart irrigation and I’m both excited and a bit puzzled. I’ve been trying to set up an automation system using Home Assistant with my Rain Bird sprinklers, but I’m hitting a snag. Let me walk you through my setup and where I’m getting stuck.
I have three sprinkler zones, each controlled by a separate switch. Individually, they work perfectly when I trigger them through my dashboard. But when I try to automate a sequence where each sprinkler runs for 2 minutes with a 1500ms delay in between, it doesn’t quite go as planned. Here’s my current configuration:
yaml
automation:
- alias: Turn irrigation on
trigger:
platform: state
entity_id: input_boolean.rainbird_switch_demo
to: ‘on’
action:- service: rainbird.start_irrigation
entity_id: switch.sprinkler_1
data:
duration: 2 - delay: ‘1500’
- service: rainbird.start_irrigation
entity_id: switch.sprinkler_2
data:
duration: 2 - delay: ‘1500’
- service: rainbird.start_irrigation
entity_id: switch.sprinkler_3
data:
duration: 2
- service: rainbird.start_irrigation
The issue is that enabling the automation doesn’t seem to trigger the sequence. I’ve checked the dashboard and the sprinklers work fine when clicked manually, so the setup isn’t the problem. I’m wondering if there’s something missing in my automation configuration or if there’s a better way to structure this sequence, especially since I’d like to create multiple programs for different weather conditions, like extended durations during hot weather.
I’ve also been exploring the documentation and examples provided by Home Assistant and Rain Bird, but I’m still not entirely sure how to troubleshoot this effectively. Maybe I need to adjust the delay timing or check if the automation service is properly registered. Any insights or tips from the community would be greatly appreciated!
On a lighter note, I love how my garden responds to these automated watering schedules. It’s amazing to see technology integrate so seamlessly with nature. I can’t wait to get this automation up and running smoothly!
Cheers,
[Your Name]