My Homebridge set up with Docker. You can use it too!
You'll need git, docker (and a working Docker host), and docker-compose to
get this running.
First, clone this repo and enter the project directory.
git clone https://github.com/caseywebdev/my-homebridge.git
cd my-homebridgeThen, create your config.json file in the .homebridge directory. For
example:
config.json
{
"bridge": {
"name": "Homebridge",
"username": "AB:CD:EF:12:34:56",
"port": 51826,
"pin": "123-45-678"
},
"accessories": [...],
"platforms": [...]
}Finally, create a package.json in the project root with the homebridge
version you wish to use, as well as any plugin packages. For example:
package.json
{
"private": true,
"dependencies": {
"homebridge": "0.3.4",
"homebridge-harmonyhub": "0.1.1",
"homebridge-nest": "1.1.2"
}
}From the project root, simply run:
bin/runIf you make any changes to your config.json or package.json, simply re-run
the above command to restart Homebridge with the new settings.