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.
Receives events from Home Assistant (Example: status changed, flic click)
A simplified event node to receive state change events from Home Assistant.
Gets the current state of an antity or multiple entities. (Example: Get status of light.kitchen, get statuses of switch.*)
Executes a Home Assistant service. (Examples: Turn on a switch, Set Nest thermostat temperature)
Assuming Node-RED is alrady up and running:
$ cd ~/.node-red
$ npm install node-red-contrib-home-assistant-ws
restart node-red