Rachio Irrigation System platform plugin for Homebridge.
Supporting
The Smart Hose Timer is currently not suppoerted by Webhooks or WebSocket. Updates will rely on polling.
The plugin will only poll when there is a request from Homebridge or Homekit to get an update.
API activity can be viewed in the debug log and there are configurations to tweak this.
Battery support is limited to good and bad which traslated to 100% and 10%.
The bridge is worthless to expose, but my plan is to use that as the device for an irrigation system where the hose timer are the zones.
Hoping Rachio improves the new API
This plugin provides multiple options for use in HomeKit
Both option have additional switches as options for Standby mode and a Run All along with any Rachio Schedules
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.
If you are configuring more than one Homebridge instance, you will want to use a unique accessory name.
Rachio caluclated runtimes based on your zones configuration, these runtimes can be used for the inital runtimes seen in HomeKit.
You can acquire your API key from Rachio io.app documented here.
homebridge-rachio-irrigation
requires webhooks to update HomeKit accessory status in real time such as a defined schedule from the Rachio app.
http://127.0.0.1:27546/
127.0.0.1
with the IP or network name of your Homebridge server.rachio-config
Key
, Secret
, and relay CLI command
somewhere. You'll need them later.homebridge-rachio-irrigation
to use the Webhook Relay
Webhook Relay section
paste the Default Endpoint directly into the Endpoint
field It'll look like somethinglongandrandom.hooks.webhookrelay.com
. You can find it at Request Forwarding > Buckets listed under Default public endpoint in the Webhook Relay dashboard. found here27546
. If you change it, be sure to change the Destination URL in the Webhook Relay bucket settings you configured earlier.relay forward -b rachio-config
rachio-config
should be the name of your bucket.http://somethinglongandrandom.hooks.webhookrelay.com/test
in your browser and a moment later you should see in the Homebridge logs that the test was successful.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.
config.json
and add your account detail.{
"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": "76.76.73.37",
"internal_IP_address": "127.0.0.1",
"external_webhook_port": 12454,
"internal_webhook_port": 27544,
"use_basic_auth": true,
"https": false,
"key": "/somepath/key.pem",
"cert": "/somepath/cert.pem",
"user": "username",
"password": "password",
"delete_webhooks": false,
"showAPIMessages": false,
"showWebhookMessages": false,
"valveType": 0,
"showBridge": false,
"showControllers": true,
"showValves": true,
"liveRefreshTimeout": 2,
"liveRefreshRate": 20,
"_bridge": {
"username": "0E:79:49:DC:71:A9",
"port": 46062
},
"platform": "rachio"
}