npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

indigo-client

1.3.0 • Public • Published

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
});

install

npm i indigo-client

Downloadsweekly downloads

7

version

1.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability