Skip to content
node wrapper to facilitate communication with Indigo home automation server
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests
.editorconfig
.eslintrc.json
.gitignore
.travis.yml
README.md
index.js
package-lock.json
package.json

README.md

indigo-client Build Status

simple node client for Indigo home automation server

NPM

Usage

setup, configure and connect

const IndigoClient = require('indigo-client');

let client = new IndigoClient({
	host: 'indigo.myhomedomain.com',
  port: 1138, // optional, defaults to 80
	user: 'admin',
	pass: 's3cr3t'
});

set device property to value

client.setDeviceValue( 'living-room-switch', 'isOn', 1, function(err, res, body){
	console.log('Living Room Switch isOn set to 1');
	// handle error and/or do stuff
});
You can’t perform that action at this time.