coroiu / node-red-contrib-home-assistant-ws

Node Red integration with Home Assistant through websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node-RED - Home Assistant integration through WebSockets

This Node-RED plugin provides following nodes to communicate with an home assistant server through Home Assistant's WebSocket API.

Event node

Receives events from Home Assistant (Example: status changed, flic click)

Simple Event node

A simplified event node to receive state change events from Home Assistant.

State node

Gets the current state of an antity or multiple entities. (Example: Get status of light.kitchen, get statuses of switch.*)

Service node

Executes a Home Assistant service. (Examples: Turn on a switch, Set Nest thermostat temperature)

Installation

Assuming Node-RED is alrady up and running:

$ cd ~/.node-red
$ npm install node-red-contrib-home-assistant-ws
restart node-red

About

Node Red integration with Home Assistant through websockets

License:Apache License 2.0


Languages

Language:JavaScript 62.4%Language:HTML 37.6%