An open API service indexing awesome lists of open source software.

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!

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