timcharper / homebridge-opensprinkler

OpenSprinkler plugin for Homebridge
13 stars 7 forks source link

OpenSprinkler

"Hey Siri, turn off my sprinklers"

Overview

Simple OpenSprinkler / Homebridge integration.

What works:

What doesn't work:

Installation

You must have NodeJS v8.1.4 or later installed as homebridge-opensprinkler depends on JavaScript features introduced at that point. Check your node version:

node --version

You need Homebridge installed and configured. This plugin was developed against Homebridge 0.4.43.

npm install -g homebridge

Install this plug-in:

npm install -g homebridge-opensprinkler

Updating:

npm update -g homebridge-opensprinkler

Add the section below to your homebridge platforms section.

Configuration

Sample configuration:

{
  "platform": "OpenSprinkler",
  "host": "sprinkler.lan",
  "password": {"md5": "a6d82bced638de3def1e9bbb4983225c"},
  "enabledStationIds": [0, 1, 2, 3],
  "defaultDurationSecs": 600,
  "pollIntervalMs": 5000
}