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. 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. ![]() Go To Configuration > Integrations > install HACS.Īfter installing from bullet #3, it said HACS was already installed, but at that point it finally showed up in my sidebar, so I’m not sure if it was even necessary to do that step.Clear your browser cache after installing and rebooting.When it says reboot Home Assistant, I had to reboot my raspberry pi, not just the Home Assistant UI.If you go the HACS route, just make sure to generate a Github personal token and add it to your configuration.yaml file like this: 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. No need to set in customizer.In this tutorial, I am going to show you how to integrate your OpenSprinker smart sprinkler system into Home Assistant. The component already set state-card-custom-ui.Require Home Assistant CUSTOM-UI installed. ![]() ![]() ![]() not sure if using scenes to handle all the controller's logic is the right way to do.both controller state cards should be merged into one.dummy input_text used as data transfer between custom ui state card and custom scene component.Im new to HA DEV enviroment and had to do few bad practices to acomplish the desire results. If you use this component, please give me your feedback.Uses HA CUSTOM-UI for display buttons on custom states cards Uses HA CUSTOM-UI for live display of water durations (see screenshots) monitor:Ĭlick on a sensor to show all the correspondent data (see screenshots) My first attempt to create a custom component on Home Assistant. OpenSprinkler component for Home Assistant
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |