October 10, 201510 yr Can someone roll together a Docker app for Homebridge? https://github.com/nfarina/homebridge I've got some Limitless LED bulbs that I'd love to be able to control via Siri ------------------------- Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It includes a set of "shims" that provide a basic bridge from HomeKit to various 3rd-party APIs provided by manufacturers of "smart home" devices. Since Siri supports devices added through HomeKit, this means that with Homebridge you can ask Siri to control devices that don't have any support for HomeKit at all.
October 12, 201510 yr +1 - I'd like this as well, I'd do it myself but can't find a good tutorial on making a Docker template anywhere.
January 5, 201610 yr Throwing my hat into the ring as well to +1 this! This would be outstanding. FYI, if/when it does happen, from what I have read, the network type will need to be set to host. See https://github.com/nfarina/homebridge/issues/309 Edit: Actually, there are probably more challenges that would need to be overcome, such as the ability to install the various plugins. If they could live outside of the Docker container, then that wouldn't be too difficult, but if not, this could be a hurdle.
January 16, 201610 yr Author I don't see why you couldn't just set a plugin directory in the template* * says the guy who knows nothing about any of this
January 18, 201610 yr Still playing with Homebridge on a Rasp PI but plugins are installed using 'npm' which is an incremental process on the pi (i.e. you add each plugin as you need it) but for a docker I guess a start script could scan a plugin directory and install all the plugins at start up time? Otherwise, there isn't a UI and other than a log file the setup should be easy, though try as I might I have never managed to get a docker working unless some kind sole creates the necessary and adds it into the 'community'.
February 8, 201610 yr I've turned nfarina's home bridge docker image into a more unRAID friendly one if anyone wants to try it out. https://github.com/ckuburlis/docker-templates Just copy the example config files into the volume, edit as necessary and away you go.
February 8, 201610 yr ckuburlis, Great job, thank you for taking this on. A quick question ... which plug-ins if any did you include (i.e., homebridge-isy-js, homebridge-sonos, homebridge-nest, etc? I'm currently running this in an ubuntu VM and I'm wondering if I can just use this docker version. Thanks, hm
February 9, 201610 yr By default no plugins are installed, however you can install whatever plugins you'd like when the container starts up. On start it'll search the config directory for a file called "pluginsInstallList" which should have whichever plugins you'd like installed (take a look at the pluginsInstallList.Example file for an idea of how to format it - just one plugin name per line with one empty line at the end). After starting up and installing all the plugins, the file name will have .done appended to it so the plugins don't install every time the container starts up - leads to really long start up times.
February 21, 201610 yr I can't seem to get this docker to start at all. I click the start button and it says started with the green play button, but I refresh the page and it says its stopped with the red stop button on it. The log on the docker page doesn't show anything, not sure what I am doing wrong here, anyone have any suggestions?
February 21, 201610 yr I have put the config.json file and the pluginsInstallList file into a folder that was named /mnt/cache/appdata/homebridge which is the host path in the docker settings. A folder called persist is created and it changed the one file to pluginsInstallList.done, not sure if that sounds correct, not sure what else to try
February 21, 201610 yr It might be because the default config file has some plugins that aren't installed? Try removing all the platforms and accessories from it & see if that makes the log file put out something
February 21, 201610 yr Ok thank you. Did you just leave the ones you wanted to use in the config file? Like only the ones you're going to list in the plugin install file? And do I need to do anything else but have the config file and the plugin install file, is there a step I'm missing?
February 21, 201610 yr I got the plugins to run it looks like and the plugininstallfile.done is in there now and it showed the following at the end: Installing homebridge-LogitechHarmony Loaded plugin: homebridge-philipshue Registering platform 'homebridge-philipshue.PhilipsHue' --- Loaded plugin: homebridge-sonos Registering accessory 'homebridge-sonos.Sonos' --- Loaded plugin: homebridge-wink Registering platform 'homebridge-wink.Wink' But it still won't keep the docker running, when I refresh the page it shows the red stop button.
February 23, 201610 yr Is that everything that's in the log? Some of the plugins (like the hue one) shutdown homebridge if not all of the data is in there (like the api key)
March 8, 201610 yr Have you copied across the config/plugin install files to the config folder? Where are the config files? thanks
March 9, 201610 yr There's some config file templates on the GitHub page (https://github.com/ckuburlis/homebridge-docker?files=1)
March 9, 201610 yr So are those stored in the root of the homebridge folder or in the persist directory?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.