npm.io
1.0.0 • Published 10 years ago

node-hacontrol

Licence
Apache 2.0
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

node-hacontrol

A simple module for checking if a service is active in HAControl.

Build Status

Where can I find the releases?

You can install it using npm. Exampel package.json file:

{
  "dependencies": {
    "node-hacontrol": "1.0.0"
  }
}

Usage:

var HAControl = require('nodejs-hacontrol');
var hacontrol = new HAControl('./localHA', '/srv/globalHA');
hacontrol.initialize();
...

var isActive = hacontrol.isActive();