

By default this is 8, but for each expansion board # openSprinkler:httpUrl= # openSprinkler:httpPassword=opendoor # If the http mode is used, you need to specify the url of the internal program, # OpenSprinkler Pi, it makes more sense to directly connect via gpio mode. # http: this mode is applicable to both OpenSprinkler and OpenSprinkler Pi, as long as # is directly over the GPIO pins of the Raspberry Pi # is connected directly to an OpenSprinkler Pi. # gpio: this mode is only applicable when running OpenHAB on a Raspberry Pi, which # The type of OpenSprinkler connection to make. Refer to the example below to see what you need to include in your openhab.cfg file:
Opensprinkler wiring manual#
Note that by connecting OpenHAB to the interval program, you will be disabling any timers and forcing it into manual mode. This requires that the openhab.cfg file be edited to specify how many stations are available (by default there are 8, so if you are not using an extension board then you don't need to do this step).Īdditionally, if you are wanting to connect via http to your !OpenSprinkler (most probably because you have the original version), you will need to specify the url and password to access the interval program server. !OpenSprinkler stations are numbered 0 through 7 for the default number of stations, but for some users of the !OpenSprinkler and !OpenSprinkler Pi, they will have extension boards in use. This binding appears to require you to run openhab as root, otherwise you get the error wiringPiSetup: Must be root. This allows state of the stations to be updated if they are manually controlled from the OpenSprinkler web application directly.įor installation of the binding, please see Wiki page Bindings. In the OpenHAB 1.6.0 release, the binding will sync itself with the OpenSprinkler device at intervals. In other words, this binding supports communicating to the !OpenSprinkler and !OpenSprinkler Pi using http (as long as you have the interval program installed), or directly via GPIO when using the !OpenSprinkler Pi.

In the OpenHAB 1.3.0 release, this binding is compatible with with both the OpenSprinkler and OpenSprinkler Pi hardware.
Opensprinkler wiring update#
Please update the wiki if you do come across any out of date information. Be aware that things may have changed since they were written and some examples might not work correctly. Feature overview Installation Setup intro Linux and OS XĪ good source of inspiration and tips from users gathered over the years.
