Node-RED Companion Integration
Companion Component to node-red-contrib-home-assistant-websocket to integrate Node-RED with Home Assistant.
Features
- Create and update entities from Node-RED
- binary sensor
- button
- number
- select
- sensor
- switch
- text
- Disable and enable Node-RED flows from Home Assistant UI
- Create Home Assistant webhooks and handle them in Node-RED
- Use Device triggers and action from Node-RED
Minimum Requirements
- node-red-contrib-home-assistant-websocket v0.20+
- Home Assistant 2023.7.0+
Installation
HACS
Install via HACS (Home Assistant Community Store)
- Go to HACS -> Integrations -> "+ Explore & Download Repos"
- Find "Node-RED Companion".
- Open the search result and click "Download this Repository with HACS".
- Refresh your browser window (bug in HA where it doesn't update the integration list after a reboot)
- In the Home Assistant UI go to "Configuration" -> "Integrations" click "+" and search for "Node-RED"
Manual
- Using your tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder callednodered
. - Download all the files from the
custom_components/nodered/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- Refresh your browser window (bug in HA where it doesn't update the integration list after a reboot)
- In the Home Assistant UI go to "Configuration" -> "Integrations" click "+" and search for "Node-RED"
Configuration
Once installed and added via Home-Assistant Integrations all configuration is done from within Node-RED.
Contributions are welcome!
If you want to contribute please read the Contribution guidelines