node-hacontrol

Provides a simple service for checking HAControl.

Usage no npm install needed!

<script type="module">
  import nodeHacontrol from 'https://cdn.skypack.dev/node-hacontrol';
</script>

README

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();