Rainbird Integration

Did you ever get any info on this or get it working? I have added Rainbird and have sensor but do not see any switches or way to control sprinklers from home assistant

Mine is working as intended. :slight_smile: See below. Notice how the sensors and switches give no indication they are part of rainbird. That’s why I chose to name them all with Rain Bird as a prefix (in the UI we can use custom display names so it’s easy to remove where I don’t want it).

Same here… have not seen the switches work in a few months. I have been hoping to see if the developer had a chance to look into it. BTW it did work last summer…

Thanks @Kabala. Unfortunately I’m getting the following errors when doing a ‘Configuration validation’ prior to an HA Restart after adding the Rainbird Integration.

Also I have question regarding the naming of the ‘Host name of Rainbird controller *’ the default i.e. rainbird.home does not appear to be correct. It is unclear if the default is what is used or something else, please advise.

Hi,
I think you have to open a ticket on the github page… Then let’s see what the developer is up to.

I don’t use this integration. I discovered this by accident and thought it worked.
The integration has potential, so open a ticket on github.
I use the following integrations and it is currently running very well.

the normal rainbird itegration, rainbird2 and GitHub - rgc99/irrigation_unlimited: ♒Irrigation controller for Home Assistant



######################################################## Rain Bird

rainbird:  ################## Cata & Petra
  - host: xxxxxxxxx
    password: xxxxxxxx
    trigger_time: 0:50
    zones:
      1:
        friendly_name: Terasse ##### Terasse
      2:
        friendly_name: Mauer #### Mauer  
      3:
        friendly_name: Grieche #### Grieche
      4:
        friendly_name: Garage #### Garage
      5:
        friendly_name: Hecke #### Hecke
      6:
        friendly_name: zone_10 #### nicht belegt    

rainbird2: ################## Schwiegereltern 
  - host: xxxxxxx
    password: xxxxxxx
    trigger_time: 0:50
    zones:
      1:
        friendly_name: Einfahrt #### Einfahrt
      2:
        friendly_name: Eingang #### Eingang
      3:
        friendly_name: Streifen Hauswand #### Streifen Hauswand
      4:
        friendly_name: Streifen Nachbar #### Streifen Nachbar
        
        
##################################################### irrigation_unlimited
      
irrigation_unlimited:
  granularity: 10
  refresh_interval: 30
  controllers:
    - name: "Schwiegereltern"
      zones:
        - name: "Einfahrt"
          entity_id: "switch.einfahrt"
          show:
            timeline: true
        - name: "Eingang"
          entity_id: "switch.eingang"
          show:
            timeline: true
        - name: "Hauswand"
          entity_id: "switch.streifen_hauswand"
          show:
            timeline: true
        - name: "Nachbar"
          entity_id: "switch.streifen_nachbar"
          show:
            timeline: true
#      sequences:
#        - name: 'eco mode'
#          duration: '00:05'
#          delay: '00:02'
#          repeat: 3
#          schedules:
#            - time: '05:00'
#          zones:
#            - zone_id: 1
#            - zone_id: 2
#            - zone_id: 3
#            - zone_id: 4
    - name: "Petra & Cata"
      zones:
        - name: "Terasse"
          entity_id: "switch.terasse"
          show:
            timeline: true
        - name: "Mauer"
          entity_id: "switch.mauer"
          show:
            timeline: true
        - name: "Grieche"
          entity_id: "switch.grieche"
          show:
            timeline: true
        - name: "Garage"
          entity_id: "switch.garage"
          show:
            timeline: true
        - name: "Hecke"
          entity_id: "switch.hecke"
          show:
            timeline: true
1 Like

Hello,
I am new to home assistant so am trying to figure things out. I have the Rain Bird system with wifi and been trying to set it up with home assistance with no luck. I been looking at this forum and trying to follow along but don’t seem to understand what I am doing wrong. I updated the Yaml file like it was said in the instructions but I am getting an error every time I run check configuration and I don’t see the switches to control the sprinklers any help will be truly appreciated. Bellow is how I set it up in the Yaml file as well as the error I get.

the - before host in your yaml is not correct.

start with:

rainbird:
host: …
password: …
trigger_time:

@josh.walls could you please show what values does your sensor.rainsensor display?

Maybe you also know if it’s possible to control the “Master Valve” terminal (which could be used for e.g. the pump)?:

Can anyone tell me if this integration works with version 2 of the Rain Bird LNK controller (SKU F55005)?

Either way, thanks very much to the author for this integration!

It wont, I got myself a LNK2 because it should be a better version of the first one.

And yes its a better version, it connects faster and has less time-outs when connecting.

But you cant use it in HA, the reason is the only allow ONE connection at the time. So if you connect with the app, HA cant connect anymore. If you decide to stop using the app, and only control by HA then HA will be the main connection.

The thing with HA is that it will keep on trying to connect to find out what the integration is doing. So that doesnt work either.

I contacted Rainbird and spoke to them about the problem, I ended up writing my own C# application to find out how it would work.

hello.
Im very interesting to buy ESP-RZXE4 with the wifi adapter. No problem for me if the app not works, because i will control all by HA.
the integration for rainbird works? works fine?
give all the functionality or have any gap?

thanks a lot!

Hi. Would it be possible to share this dashboard with me. looks amazing

Hi
Are you able to set the times manually?

Hi @DotNet2Web
Can you talk about this some more? For example, if HA is connected to LNK2 and oh say the WiFi drops out for a minute or two and comes back, will HA still be able to reconnect to LNK2?

Mind sharing what you found out with your C# application?

Thanks!

When the WiFi drops or your networks is rebooting or something.
All connections to the LNK2 will be disposed, when everything is up and running again. HA is capable of connecting again.

What do you want to know about the C# application? Had a pretty difficult time reverse engineering the app into a C# application. I managed to do so, till rainbird changed the authorization mechanisme in the app.

@DotNet2Web How can I integrate LNK2 to HA in this case ? Can you describe the steps ?
The LNK2 had to be in Alternating red/green/OFF flashing ? Then I go to HA and use Add Integration, select RainBird, but I have to insert Host/IP adresss and Password.

I’m asking because the password is set only when you connect using the app.

I’am new to Home Assistant :frowning: but I’m trying to learn.

No worries we are here to help :slight_smile:

First of all, forget about HA while setting up the LNK2 WiFi module for rainbird.
The first step in the complete proces is

  1. Make sure you can connect to the controller from the app

So if you can control your rainbird installation from the app then its time to integrated it into HA.

  1. Go to integrations within home assistant
  2. Select Add Integration
  3. Type in Rainbird
  4. Host: local ip adres of the LNK2 WiFi module. You can find it in the network settings in the app
  5. Password: enter your password that you have created while setting up the controller in the app
  6. Save

Thats it, now you have integrated rainbird into HomeAssistant :smiley:

1 Like

Thanks for getting back. I mostly just want to know what the problems you’ve encountered with HA using this setup and what features are missing. I’m trying to decide whether to replace my old Rainbird with a new one using LNK2, or look at something maybe opensource.

Thanks a bunch.

To be honest, I bought the LNK2 just to try out if it would take away the connection issues but it didnt.

The rainbird integration has been recently updated and is working now with the original LNK module. I created an issue on github to ask if they could add support for the LNK2 module in the integration.

I hope they will get it sorted soon.