Various nodes to assist in setting up automation using Node-RED communicating with Home Assistant.
Documentation can be found here.
Have Node-RED installed and working, if you need to install Node-RED see here.
- Node.js v14.0.0+
- Node-RED v3.0.0+
- Home Assistant v2021.3.0+
Install via Node-RED Manage Palette
node-red-contrib-home-assistant-websocket
Install via npm
$ cd ~/.node-red
$ npm install node-red-contrib-home-assistant-websocket
# then restart node-red
For Home Assistant add-on users:
The Community add-on ships with this node right out of the box.
Under the server node config just check the checkbox for I use the Home Assistant Add-on
The add-on can be found here: https://github.com/hassio-addons/addon-node-red#readme