node wrapper to facilitate communication with Indigo home automation server
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tests
.gitignore
README.md
index.js
package.json

README.md

indigo-client

simple node client for Indigo home automation server

NPM

Usage

setup, configure and connect

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

var client = new IndigoClient({
	host: 'indigo.myhomedomain.com', // include port if applicable
	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
});