The Home Assistant Supervisor system makes most things pretty simple. Testing development releases or your own code fixes is mildly more difficult. The following instructions should help.
- Uninstall the Insteon-MQTT addon. Your config files are saved in
/config/insteon-mqtt
so you should be okay. But you can back them up ahead of time just in case. - SSH into Home Assistant using the SSH addon
- cd to
/addons
- run
git clone https://github.com/TD22057/insteon-mqtt.git
You can replace the repository with your own if you like. - cd
insteon-mqtt
- Use git to checkout the branch you desire.
- When you are ready to install on Home Assistant you will have to do the following:
- edit
config.json
- remove the entire line that reads:
"image": "td22057/{arch}-insteon-mqtt",
- edit the line that reads:
"version": "0.8.1",
to be something sensible, I use dates so:"version": "2021.03.23.0",
- You may have to use
git stash
andgit pop
when pulling in changes, particularly after a release has occured. This is because both branches will have changed the version line. - Go back into your Home Assistant instance and go to
Supervisor->Addon Store
- In the menu on the top right click
Reload
- You should now see the Insteon-MQTT addon listed as a
Local Add-on
install that, it may take a few minutes to compile locally. - In the future to update your local version, you have to edit the
config.json
to trigger a new release, then run theReload
command in the store to see the new version.