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 for the repository installed addon are saved in
/config/
(which can be found at '/addon_configs/83fc19e1_insteon-mqtt/' within VSCode or SSH Addon). If you install the addon locally, as described below, the configs for the locally installed addon will be at:/addons_configs/local_insteon-mqtt/
within VSCode or SSH Addon). - 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. - You will have to copy your InsteonMQTT
config.yaml
file to the local config directory (which can be found at '/addons_configs/local_insteon-mqtt/' within VSCode or SSH Addon) - 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.