barakthecat Posted October 10, 2015 Share Posted October 10, 2015 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. Quote Link to comment
alexp2_ad Posted October 12, 2015 Share Posted October 12, 2015 +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. Quote Link to comment
ryryonline Posted December 13, 2015 Share Posted December 13, 2015 +1 too. Apple takes too long for hardware approval. This would be great! Quote Link to comment
barakthecat Posted December 14, 2015 Author Share Posted December 14, 2015 Glad to hear other people interested in this. 1 Quote Link to comment
PCRx Posted December 21, 2015 Share Posted December 21, 2015 +1 this would be great! 1 Quote Link to comment
spencers Posted December 21, 2015 Share Posted December 21, 2015 Adding some interest as well. 1 Quote Link to comment
lanky8804 Posted December 22, 2015 Share Posted December 22, 2015 +1 from me also 1 Quote Link to comment
rjstott Posted December 23, 2015 Share Posted December 23, 2015 And here is another +1 1 Quote Link to comment
kaiguy Posted January 5, 2016 Share Posted January 5, 2016 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. Quote Link to comment
barakthecat Posted January 16, 2016 Author Share Posted January 16, 2016 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 Quote Link to comment
rjstott Posted January 18, 2016 Share Posted January 18, 2016 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'. Quote Link to comment
ckuburlis Posted February 8, 2016 Share Posted February 8, 2016 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. 4 Quote Link to comment
hmatos Posted February 8, 2016 Share Posted February 8, 2016 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 Quote Link to comment
ckuburlis Posted February 9, 2016 Share Posted February 9, 2016 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. Quote Link to comment
barakthecat Posted February 13, 2016 Author Share Posted February 13, 2016 Thanks, going to try this out today! Quote Link to comment
Chugalug Posted February 21, 2016 Share Posted February 21, 2016 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? Quote Link to comment
ckuburlis Posted February 21, 2016 Share Posted February 21, 2016 Have you copied across the config/plugin install files to the config folder? Quote Link to comment
Chugalug Posted February 21, 2016 Share Posted February 21, 2016 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 Quote Link to comment
ckuburlis Posted February 21, 2016 Share Posted February 21, 2016 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 Quote Link to comment
Chugalug Posted February 21, 2016 Share Posted February 21, 2016 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? Quote Link to comment
Chugalug Posted February 21, 2016 Share Posted February 21, 2016 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. Quote Link to comment
ckuburlis Posted February 23, 2016 Share Posted February 23, 2016 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) Quote Link to comment
darbronnoco Posted March 8, 2016 Share Posted March 8, 2016 Have you copied across the config/plugin install files to the config folder? Where are the config files? thanks Quote Link to comment
ckuburlis Posted March 9, 2016 Share Posted March 9, 2016 There's some config file templates on the GitHub page (https://github.com/ckuburlis/homebridge-docker?files=1) Quote Link to comment
darbronnoco Posted March 9, 2016 Share Posted March 9, 2016 So are those stored in the root of the homebridge folder or in the persist directory? Quote Link to comment
Recommended Posts
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.