https://github.com/overloadut/node-isy99
Wrapper for accessing ISY99 home automation controller APIs
https://github.com/overloadut/node-isy99
Last synced: 2 months ago
JSON representation
Wrapper for accessing ISY99 home automation controller APIs
- Host: GitHub
- URL: https://github.com/overloadut/node-isy99
- Owner: OverloadUT
- Created: 2015-06-20T02:36:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-27T20:40:50.000Z (almost 10 years ago)
- Last Synced: 2025-03-12T06:34:35.712Z (2 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/OverloadUT/node-isy99)
[](https://coveralls.io/r/OverloadUT/node-isy99)# node-isy99
Node module for accessing ISY99 home automation controller APIs.
## Installation
```bash
$ npm install isy99
```## Usage
```javascript
var isy = require("isy99")({host:'hostname',
user:'username',
pass:'password'
});isy.getDeviceInfo('11 22 33 4', function(err, device) {
console.log(device.address); // '11 22 33 4'
console.log(device.name); // 'Kitchen Lights'
console.log(device.enabled); // true
console.log(device.status); // 255
console.log(device.statusFormatted); // 'On'
});isy.sendDeviceCommand('11 22 33 4', 'DON', function(err, success) {
if(success) {
console.log('The light was turned on!')
}
});isy.sendProgramCommand('1023', 'runIf', function(err, success) {
if(success) {
console.log("The program's 'If' logic was run");
}
});
```