indigo-client

simple node client for Indigo home automation server

npm install indigo-client
1 downloads in the last week
4 downloads in the last month

indigo-client

simple node client for Indigo home automation server

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
});
npm loves you