The Node-RED add-on allows automations to be configured using graphical flow-based programming, rather than using the YAML based automations in Home Assistant. Since I was familiar with the easy process of Node-RED it seemed sensible to use it in Home Assistant. Particularly as Node-RED can be installed as an add-on within Home Assistant.
Install Node-RED
- Install Node-RED add-on [GitHub]
- Settings -> Add-ons, click Add-on Store
- Search for Node-RED, select and click Install
- In Configuration tab:
- Set credential_secret to [STRONGBOX]
- Uncheck SSL
- Click Save
- Back on Info tab
- Tick Show in sidebar; for easy access to Node-RED GUI
- Press Start
Restore Flows from Another Build
- Restored previously edited Node-RED flows:
- Go to Node-RED in sidebar
- Paste flows code from backup
- Also need to add Username/PW to MQTT Broker in Node-RED