https://github.com/caseywebdev/my-homebridge
My Homebridge set up with Docker. You can use it too!
https://github.com/caseywebdev/my-homebridge
Last synced: 11 months ago
JSON representation
My Homebridge set up with Docker. You can use it too!
- Host: GitHub
- URL: https://github.com/caseywebdev/my-homebridge
- Owner: caseywebdev
- Created: 2016-09-14T12:52:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T11:38:17.000Z (almost 9 years ago)
- Last Synced: 2025-04-21T02:21:23.803Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# my-homebridge
My [Homebridge] set up with Docker. You can use it too!
## Prerequisites
You'll need `git`, `docker` (and a working Docker host), and `docker-compose` to
get this running.
## Config
First, clone this repo and enter the project directory.
```bash
git clone https://github.com/caseywebdev/my-homebridge.git
cd my-homebridge
```
Then, create your `config.json` file in the `.homebridge` directory. For
example:
**config.json**
```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**
```json
{
"private": true,
"dependencies": {
"homebridge": "0.3.4",
"homebridge-harmonyhub": "0.1.1",
"homebridge-nest": "1.1.2"
}
}
```
## Run
From the project root, simply run:
```bash
bin/run
```
If you make any changes to your `config.json` or `package.json`, simply re-run
the above command to restart Homebridge with the new settings.
[Homebridge]: https://github.com/nfarina/homebridge