

- #OPENSPRINKLER PI SMARTTHINGS HOW TO#
- #OPENSPRINKLER PI SMARTTHINGS INSTALL#
- #OPENSPRINKLER PI SMARTTHINGS UPDATE#
- #OPENSPRINKLER PI SMARTTHINGS CODE#
- #OPENSPRINKLER PI SMARTTHINGS TRIAL#
Clicking it again just restarts the program it’s doesn’t stop. This one doesn’t correctly change states, but it does run the program. Paste in this command, replacing the entity ID with the ID of your run once program. Then, click the Show Editor button in the bottom left corner. On your Lovelace dashboard, click Add Card > Button. If you’d like to create a button in Home Assistant that runs the schedule, you can do that too! In Step 3, you found the entity name for your “Run Once” scheduled program. Instead, use the OpenSprinkler Card from HACS.
#OPENSPRINKLER PI SMARTTHINGS UPDATE#
Update 8/23/21: I no longer recommend creating your own cards if you use OpenSprinkler. Value_template: ""Įntity_id: binary_sensor.zone6_front_yard_trash_station_running This switch below run Zone 1 for 1 minute.

You will need to replaced the 3 bolded binary sensors with your own entity ID’s from step 3.
#OPENSPRINKLER PI SMARTTHINGS CODE#
To configure a switch for a single zone, go to File Editor > Configuration.yaml and add the code below. Step 3: Configure Lovelace Sprinkler Switches Single Switch To find your Run Once program name, search for for your Run Once by program name. To find your zone sensor names, search for binary_sensor.zone. ) The Run Once program is just a schedule to run each zone at a specific time for a certain number of minutes. I recommend copying the binary sensors and names down somewhere for quick reference.įor this example, I am going to create 2 lovelace dashboard cards: One to manually trigger each zone, and one to run my “Run Once” program (which was already configured in OpenSprinkler to run each zone for 7 minutes on specific days. You’ll need to know what these are called for later, so head over to Configuration > Entities > search for “Open” to ensure they show up. Assign it to an area like your garage and click Finish.Īfter installing, you’ll see a ton of different entities created. Next, add your OpenSprinkler IP address, login password, and controller name. Navigate to Configuration > Integrations > Add Integration. Once complete, you will need to restart Home Assistant from Supervisor > System > Reboot Host. Keep the “Show beta versions” turned off.
#OPENSPRINKLER PI SMARTTHINGS INSTALL#
Then, click Install this repository in Hacs. Search for the OpenSprinkler integration for Home Assistant. Navigate to HACS > Explore & Add Repositories. Check back in an hour or so and it should show up. This is because Github limits the amount of API calls within a certain time. Note: If you JUST installed HACS, it may take a bit for all the github repositories to show up. Once HACS is installed or you’ve manually copied the files in, add the OpenSprinkler integration by following these steps. Step 2: Add the OpenSprinkler Integration Since I wanted to start using HACS anyway, I decided to bite the bullet and use this project as a starting point. You can import the OpenSprinkler files manually as well. You don’t necessary HAVE to have HACS installed.

#OPENSPRINKLER PI SMARTTHINGS TRIAL#
I had some trouble installing HACS, so I apologize that I can’t give you a step-by-step guide here, but a lot of the installation was trial and error until I got it working correctly. Once installed, it lets you install custom Github projects with the click of a button, rather than manually editing custom_components.yaml file and importing files. HACS is the Home Assistant Community Store. If you don’t, I recently wrote a an OpenSprinkler installation guide you can reference. This guide assumes that you already have OpenSprinkler installed and working. My Home Assistant instance is configured on a raspberry pi 3B+. By the end of this guide, you will be able to turn on individual stations, run your “Run Once” programs, check last run time, and much more – all from your Lovelace dashboard.įor reference, I am using the preassembled OpenSprinkler unit.
#OPENSPRINKLER PI SMARTTHINGS HOW TO#
In this tutorial, I am going to show you how to integrate your OpenSprinker smart sprinkler system into Home Assistant.
