2.0.0 • Published 2 years ago

indigo-client v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

indigo-client Build License

NPM Version

simple node client for Indigo home automation server

Usage

setup, configure and connect

'use strict';
import { IndigoClient } from 'indigo-client';

let client = new IndigoClient(
  'indigo.myhomedomain.com', // hostname
  'admin', // username
  's3cr3t', // password
  1138 // port (optional), defaults to 80
);

set device property to value

client.setDeviceValue( 'living-room-switch', 'isOn', 1)
  .then((response) => {
    console.log(JSON.stringify(response));
  });
2.0.0

2 years ago

1.4.0

4 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

0.1.2

5 years ago

0.1.0

11 years ago