UPDATE: Skip ahead to @thecem ‘s post (#13) for a more straightforward way to setup homebridge on your Hass.io system.
Thought I would share how to add homebridge to hassio, as it took me a while to figure out. This is adapted from:
https://github.com/oznu/docker-homebridge/wiki/Homebridge-on-Raspberry-Pi
This assumes you have Portainer hassio addon installed.
Homebridge serves a purpose for me, getting camera feeds into apple homekit.
Here’s a few screenshots to hopefully help others:
Start by “add container”, fill in the info circled in red:
Then on the same screen under “Advanced container settings” select the “Network” tab and add the following circled in red:
Next go to the “Volumes” tab and add the following:
Then go to the “Env” tab and add the circled info below, the uncircled will be populated automatically after the container is started, so don’t add those manually.
NOTE: As of February 2020, ffmpeg is now included in this docker image, in most cases it should no longer be added as a package below.
Next go to the “Restart policy” tab and select “Always”
Finally, click the “Deploy the container” button and homebridge should launch. You can configure by web, the address is your local hassio IP address:port 8080