node-hacontrol
v1.0.0
Published
Provides a simple service for checking HAControl.
Downloads
3
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();