
In the Base URL field enter the and replace YOUR_HOME_ASSISTANT_IP with what?Īnd for the Access Token field you should open your Home Assistant.Ĭlick on your username in the lower left corner of Home Assistant Creating a Long-Lived Access Token for Node-RED Adding Home Assistant events: state node in Node-REDĭouble click on the node and then click on the pencil button next to the “Add new server…” field. Then go back to the Node-RED dashboard and add one Home Assistant node to the canvas.
DOCKER FOR MAC NODE.JS INSTALL
Install node-red-contrib-home-assistant-websocket palette in Node-RED Search for “node-red-contrib-home-assistant-websocket” and install it.Click on the “Manage Palette” menu and then on “Install” tab.Open your Node-RED and click on the hamburger button in the upper right corner.If you either used the Docker or the Node.js method you should execute these steps first: If you used the Node-RED add-on (the third method that I showed here) your Home Assistant integration is already working. Integration of Node-RED with Home Assistant Install Node-RED using DockerĬopy the URL – and paste it in a new Browser or Tab and you should see the Node-RED dashboard. Wait for the command to finish and you should see something similar. Run the container with the above parameters when everything is ready.Expose container port 1880 to your host operating system.

