Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1.57 KB

hassio_development.md

File metadata and controls

19 lines (17 loc) · 1.57 KB

Testing Unreleased Versions in Home Assistant Supervisor

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.

  1. 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.
  2. SSH into Home Assistant using the SSH addon
  3. cd to /addons
  4. run git clone https://github.com/TD22057/insteon-mqtt.git You can replace the repository with your own if you like.
  5. cd insteon-mqtt
  6. Use git to checkout the branch you desire.
  7. 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",
  1. You may have to use git stash and git pop when pulling in changes, particularly after a release has occured. This is because both branches will have changed the version line.
  2. Go back into your Home Assistant instance and go to Supervisor->Addon Store
  3. In the menu on the top right click Reload
  4. 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.
  5. In the future to update your local version, you have to edit the config.json to trigger a new release, then run the Reload command in the store to see the new version.