Nimble Package Maestros


    1.2.14 • Public • Published


    Rachio Irrigation System platform plugin for Homebridge.


    NOTE: Option 1 is not working correctly with a bug in IOS 15.4 and 15.5. The bug will cause zone switches to be displayed randomly or not at all.

    This plugin provides 3 options for use in HomeKit
    Both option have additional switches as options for Standby mode and a Run All along with any Rachio Schedules

    1. Irrigation System Accessory with zones that are linked (default in configuration)
    2. Irrigation System Accessory with separate zones shown as a single tile
    3. Irrigation System Accessory with separate zones shown as a separate tiles (option in HomeKit)

    There are plus and minus to each, so why not have options.
    If you have more than one home on your Rachio account you may filter devices for a home based on the street address for the location you want to display in HomeKit.
    Rachio caluclated runtimes based on your zones configuration, these runtimes can be used for the inital runtimes seen in HomeKit.


    API Key

    You can acquire your API key from Rachio documented here.

    Notes on Webhooks

    homebridge-rachio-irrigation requires webhooks to update HomeKit accessory status in real time such as a defined schedule from the Rachio app.

    Setting up webhooks, the easy way (if your router supports it):

    • You must know your external network IP address. You can discover it here to be entered in the config as the "external_Webhook_address"
    • You must enable port fowarding on the router this server is conected to. Follow you routers instructions for this step.
    • The port forwarding should look like external_webhook_port -> internal_port for your servers IP address which can be found on the Homebridge Status page in system information.
    • NOTE: if your IP Address is changed by your ISP, you will need to edit the IP address in the config to match it whenever it changes. You should use a Dynamic IP address DNS service if your IP changes often.

    If you cannot setup port forwarding on your router (or don't want to):

    • You must have an always-on computer available on your network (MacOS, Linux, Windows). If you're running Homebridge, you can use that one.
    • Create an account at Webhook Relay. The free account should be fine.
    • Create a new webhook relay:
      • Create a new "New Basic Forwarding" from the quickstart on the Dashboard.
      • Select Use Default Input Domain. Then Continue.
      • For Destination URL enter:
        • If you'll be installing the relay on a computer different from your Homebridge, replace the with the IP or network name of your Homebridge server.
      • For Output type choose: Internal
      • For Lock destination path disable it so it says: not locked
      • Hit Continue so you're on the review step. Change your Configuration name to something that makes sense for you. I set mine to: rachio-config
      • Save everything by clicking on the Create Configuration button.
        • Copy the Key, Secret, and relay CLI command somewhere. You'll need them later.
    • Now you'll need to install their Relay software on a computer on your network (probably wherever you have Homebridge installed). Install instructions can be found here.
    • Edit Settings for homebridge-rachio-irrigation to use the Webhook Relay
      • When setting up this plugin and you get to the External IP Address or Domain section, enter the default public endpoint that Webhook Relay provides you with. It'll look like (note don't inlude http(s)://). You can find it at Request Forwarding > Buckets listed under Default public endpoint in the Webhook Relay dashboard.
      • Set the External Webhook Port to: 80
      • The Internal Webhook Port can be left to the default 27546. If you change it, be sure to change the Destination URL in the Webhook Relay bucket settings you configured earlier.
      • Save the Config changes, and then restart Homebridge
    • Test it!
      • Make sure you're running the relay service, in Terminal or the command line, it'll look something like this: relay forward -b rachio-config
        • rachio-config should be the name of your bucket.
      • Go to in your browser and a moment later you should see in the Homebridge logs that the test was successful.
    • After you have tested everything works ok, you can make the Webhook Relay software always run by using the instructions here.

    The startup log will show if the configuration is correct and working.

    If you see log messages like Webhook received from an unknown external id, you may set the clear_previous_webhooks flag to true to remove previous webhooks before creating or updating the webhook for this plugin. Note: this will clear all webhooks tied to your Rachio API key, so be careful if you rely on Rachio webhooks apart from this plugin.


    1. Install this plugin using: npm install -g homebridge-rachio-irrigation
    2. Suggest running as a child bridge
    3. Use plugin settings to edit config.json and add your account detail.
    4. Run Homebridge
    5. Pair to HomeKit

    Config.json example with child bridge

    "platforms": [
    		"name": "Rachio-Dev",
    		"api_key": "8e600a4c-0027-4a9a-9bda-abc8d5c90350",
    		"location_address": "123 Main St",
    		"default_runtime": 3,
    		"runtime_source": 2,
    		"use_irrigation_display": true,
    		"show_standby": true,
    		"show_runall": true,
    		"show_schedules": true,
    		"external_IP_address": "",
    		"external_webhook_port": 12453,
    		"internal_webhook_port": 27543,
    		"use_basic_auth": true,
    		"user": "username",
    		"password": "password",
    		"delete_webhooks": false,
    		"_bridge": {
    			"username": "0E:79:49:DC:71:A9",
    			"port": 46062
    		"platform": "rachio"


    npm i homebridge-rachio-irrigation

    DownloadsWeekly Downloads






    Unpacked Size

    35.3 MB

    Total Files


    Last publish


    • jvaliquette