In the OpenHAB 1.6.0 release, the binding will sync itself with the OpenSprinkler device at intervals. 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. This binding appears to require you to run openhab as root, otherwise you get the error wiringPiSetup: Must be root. !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 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. Note that by connecting OpenHAB to the interval program, you will be disabling any timers and forcing it into manual mode. Refer to the example below to see what you need to include in your openhab.cfg file: Opensprinkler wiring manual# # gpio: this mode is only applicable when running OpenHAB on a Raspberry Pi, which # The type of OpenSprinkler connection to make. # 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. 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.
0 Comments
Leave a Reply. |