Today - almost before beginning of winter - I want to share with you my own Binding.
This was achieved by the help of some virtual friends….but hey…it’s the result that counts!
Source can be found here: GitHub - t09/org.openhab.binding.rainbird
Installation: put the *.jar in your openHAB-addons folder if you have SMB activated or /usr/share/openhab/addons(on Windows you can use eg. WinSCP - needs SSH)
The file was built under OH v5.0.2 but I guess it will work with newer milestones also.
Usage examples with HomeKit:
-
Create Items from Channels for each Zone
-
Add Metadata for HomeKit
- Zone X Active =
value: Valve.ActiveStatus,Valve.InUseStatus - Zone X Duration =
value: Valve.Duration - Zone X Remaining =
value: Valve.RemainingDuration
- Zone X Active =
-
Head to Settings - Items and click “+”
-
Name ex:
RainBird_Zone_5
Lable: <name shown in HomeApp>
Type:Group
Semantic Equipment:Irrigation -
Fill Group Members
-
Add Metadata - IMPORTANT: choose
valvefor HomeKit Accessory/Characteristic and Valve Type will pop-up -
Fill Group HomeKit Characteristics Mapping with your configurated items.
Note: HomeKit has some limitations when it comes to countdown for remaining duration. Also HomeKit knows 5 minute steps while OH “confuses” it when enter 60sec. but it still works.
Result:
ENJOY!






