[binding] RainBird (WaterBird)

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:

  1. Create Items from Channels for each Zone

  2. Add Metadata for HomeKit

    • Zone X Active = value: Valve.ActiveStatus,Valve.InUseStatus
    • Zone X Duration = value: Valve.Duration
    • Zone X Remaining = value: Valve.RemainingDuration
  3. Head to Settings - Items and click “+”

  4. Name ex: RainBird_Zone_5
    Lable: <name shown in HomeApp>
    Type: Group
    Semantic Equipment: Irrigation

  5. Fill Group Members

  6. Add Metadata - IMPORTANT: choose valve for HomeKit Accessory/Characteristic and Valve Type will pop-up

  7. 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!