README
node-hacontrol
A simple module for checking if a service is active in HAControl.
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();