How to Update
- Remember or write down your current version, visible on the HA dashboard.
- Review the Release Notes, these often explain which files were changed and what was added.
- Below we assume a lot of files have changed and you need to update nearly everything
Home Assistant
- Download or copy the
home assistant/packages/house_battery_control.yamland replace your current version with this new one.- Go to HA developer tools (“ontwikkelhulpmiddelen” in NL/BE) and check the config → restart → reload yaml
- Some changes, like those to the data recorder, require a full restart of HA. A yaml reload won’t be enough. Release notes often mention this.
- Always update the provided dashboard
- Go to the
HA Home Battery Control dashboardand clickEdit (pencil)→Raw configuration - Paste the new dashboard config from
home assistant/dashboard.yaml - Save
- Go to the
Node-RED
All flows in one go (recommended)
- Go to Node-RED and delete or disable ALL HBC flows
- Go to GitHub and copy the raw code from
node-red/all-flows-in-one-file.jsonto replace all flows in 1 import. Easy! - Back to Node-RED and go to the burger menu and choose
Import- Paste the json
- Choose
Import to→ ‘new flow’
- When done, do a Full Deploy of flows via the red button in the top right. Enjoy your new update!
- If you disabled old flows instead of deleting them. This might be good time to clean them up.
Only specific flow(s)
- Go to any flows that were updated between your version and latest
- Per flow, go to the burger menu and choose
Import - Copy the code from
github/node-red/<<your flow>>.json- Choose
Import to→ ‘current flow’, or if you want to compare old and new versions: choose ‘new flow’ - If you choose new flow, you will have to disable the old flow. Having both flows active causes problems.
- Choose
- Done, do a Full Deploy of flows via the red button in the top right
You can now use the latest update.
Recommendations
- Check release notes or YouTube tutorials for explanations and help on new features
- Check the Node-RED debug window for any strange errors and messages during first operation
- There are reports of Node-RED sometimes having glitches, like partially responding to changes. A restart of Node-RED itself might help. Also check the Node-RED log files to see NR is operating as it should.
- Please note most of us are not HA or NR contributors. We share what we know, but most is learned via tinkering.