Companion Component to node-red-contrib-home-assistant-websocket for seamless integration of Node-RED with Home Assistant.
The Node-RED Companion Integration bridges Node-RED and Home Assistant, allowing you to manage Home Assistant entities and automations directly from Node-RED. This integration enhances your smart home automation setup by enabling dynamic interaction between these two powerful tools.
- Entity Management:
- Create and update Home Assistant entities from Node-RED, including:
- Binary Sensors
- Buttons
- Numbers
- Selects
- Sensors
- Switches
- Text fields
- Create and update Home Assistant entities from Node-RED, including:
- Flow Control:
- Enable or disable Node-RED flows directly from the Home Assistant UI.
- Webhooks:
- Create and manage Home Assistant webhooks, with handling in Node-RED.
- Device Automation:
- Utilize device triggers and actions within Node-RED for advanced automation capabilities.
- node-red-contrib-home-assistant-websocket v0.57+
- Home Assistant 2024.5+
To install via HACS:
- Navigate to HACS -> Integrations -> "+ Explore & Download Repos".
- Search for "Node-RED Companion".
- Click on the result and select "Download this Repository with HACS".
- Refresh your browser (due to a known HA bug that may not update the integration list immediately).
- Go to "Settings" in the Home Assistant sidebar, then select "Devices and Services".
- Click the blue [+ Add Integration] button at the bottom right, search for "Node-RED", and install it.
For manual installation:
- Access your Home Assistant configuration directory (
configuration.yaml
location). - If it doesn’t already exist, create a
custom_components
directory. - Within
custom_components
, create a new folder namednodered
. - Download all files from the
custom_components/nodered/
directory in this repository. - Place these files in the newly created
nodered
directory. - Restart Home Assistant.
- Refresh your browser window.
- From "Settings" in the Home Assistant sidebar, select "Devices and Services", click the blue [+ Add Integration] button, search for "Node-RED", and install it.
Once the Node-RED Companion Integration is installed and added via Home Assistant Integrations, all further configuration is managed from within Node-RED.
Contributions are welcome! If you're interested in contributing, please review our Contribution Guidelines before submitting a pull request or issue.
If you find this project helpful and want to support its development, consider buying me a coffee!