

- #Opensprinkler api install#
- #Opensprinkler api update#
- #Opensprinkler api password#
- #Opensprinkler api mac#
#Opensprinkler api update#
Note: 1.0.0 has major breaking changes, you will need to update any automations, scripts, etc Controller Name - The name of the device that appears in Home Assistant.This is only required for firmware below 2.1.9 (4), otherwise it can be left blank.
#Opensprinkler api mac#
#Opensprinkler api password#
Password - The OpenSprinkler controller password.URL - Should in the form of The default port for OpenSprinkler is 8080.Click on the add integration button at the bottom right and select OpenSprinkler. In the Home Assistant UI, navigate to Configuration then Integrations.
#Opensprinkler api install#
Or install manually by copying custom_components/opensprinkler folder into /custom_components To have a Lovelace card for the UI, opensprinkler-card can be used. Switch to enable/disable OpenSprinkler controller operation.Switches for each program and station to enable/disable program or station.Sensors for water level, last runtime and rain delay stop time.Sensors for each station to show status.Binary sensors for station and programs to show running state.Last tested on OS API 2.1.9 and Home Assistant 0.110.0 Features

Value_template: ""Įntity_id: binary_sensor.OpenSprinkler Integration for Home Assistant If you wish to have a switch for your stations, here is an example using the switch template and input number.Īdd the following to your YAML configuration ( configuration.yaml). service: nĬontinue_running_stations: True # Whether to keep running stations running (optional, defaults to False) service: nĬontinue_running_stations: True # Whether to keep running stations running (optional, defaults to False) Stop Examples Stop Station Example service: opensprinkler.stopĮntity_id: switch.station_name # Switches or sensors for stations Stop All Stations Example service: opensprinkler.stopĮntity_id: ntroller_name # Switches or sensors for controller Creating a Station Switch Specifying the run seconds in index/second pairs. Run_seconds: # Dictionary of station index and run seconds key/value pairs (required)īy default running once program will stop all other stations that are running, you can specifyĬontinue_running_stations to true to allow the stations to continue running. Run_seconds: # List of station index and run seconds pairs (required) Run_seconds: # Seconds to run for each station (required) service: nĮntity_id: ntroller_name # Switches or sensors for controller The following examples are all equivalent. To run an once program, the run seconds can either be a list of seconds per station or a list of index and second pairs. Run_seconds: 60 # Seconds to run (optional, defaults to 60 seconds) Run Once Program Example Run Examples Run Program Example service: nĮntity_id: switch.program_name # Switches or sensors for programs Run Station Example service: nĮntity_id: switch.station_name # Switches or sensors for stations Please use the n service to run programs.Īvailable services are n for programs, stations and controllers (for running once program), and opensprinkler.stop for stations or controller (to stop all stations). Please use n and opensprinkler.stop services to run and stop stations. Station switches now enable/disable instead of run/stop stations.Please use controller switch state for controller operation state. Please use the program switch states for program operation state. Program binary sensors now show running state instead of operation state.Uninstall using HACS or delete the hass_opensprinkler folder in /custom_components.


