Home Assistant Class and API for access to home assistant via websocket
 
Go to file
David Kebler 7c24aa3634 0.0.9 add a per entity watch and unwatch instead of using .on listener allow creating a watch list so only watched ha entity events are processed 2020-07-11 11:28:04 -07:00
examples 0.0.8 fix issue when emitting 'error' by adding a listener (node throws error if not) 2020-06-19 07:29:05 -07:00
src 0.0.9 add a per entity watch and unwatch instead of using .on listener allow creating a watch list so only watched ha entity events are processed 2020-07-11 11:28:04 -07:00
.eslintrc.js 0.0.3 iniital commit - working API with authentifcation, events and service call 2019-11-21 10:07:21 -08:00
.gitignore 0.0.3 iniital commit - working API with authentifcation, events and service call 2019-11-21 10:07:21 -08:00
.npmignore 0.0.3 iniital commit - working API with authentifcation, events and service call 2019-11-21 10:07:21 -08:00
package.json 0.0.9 add a per entity watch and unwatch instead of using .on listener allow creating a watch list so only watched ha entity events are processed 2020-07-11 11:28:04 -07:00
readme.md 0.0.7 refactor ping/disconnect/connect to work better and emit connection event 2020-05-30 18:14:05 -07:00

readme.md

uCOMmandIt (UCI) - A Home Assistant Class and API

What is it

This module allows one to communicate with a Home Assistant instance via their websocket api

What's it good for

Easily replace most of the limited HA yaml script and automation with nodejs code.

Prerequisites

You'll of course need nodejs running and either npm or yarn. UCI tries to keep node as current as possible during development so use the latest version 12.x for best results or at

OS and Node Support

Terminology

The HA Websocket Packet 'Protocol'

Getting Started

Creating an Instance

Extending This Class

Options

API