# isy99

> Wrapper for accessing ISY99 home automation controller APIs

Latest version **0.0.3** (published 2015-06-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install isy99
pnpm add isy99
yarn add isy99
bun add isy99
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-06-27 |
| First published | 2015-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Greg "OverloadUT" Laabs |
| Maintainers | overloadut |
| Keywords | isy99, Universal Devices, Insteon, ISY |

## Links

- npm: https://www.npmjs.com/package/isy99
- Repository: https://github.com/OverloadUT/node-isy99
- Issues: https://github.com/OverloadUT/node-isy99/issues
- npm.io page: https://npm.io/package/isy99

## Dependencies (2)

- [xml2js](https://npm.io/package/xml2js.md) ^0.4.9
- [node-rest-client](https://npm.io/package/node-rest-client.md) ^1.5.1

## Recent versions

- 0.0.3 (latest) — 2015-06-27
- 0.0.2 — 2015-06-26

## README

[![Travis](https://img.shields.io/travis/OverloadUT/node-isy99.svg?style=flat-square)](https://travis-ci.org/OverloadUT/node-isy99)
[![Coveralls](https://img.shields.io/coveralls/OverloadUT/node-isy99.svg?style=flat-square)](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");
  }
});
```

---
_Source: https://npm.io/package/isy99 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
