Skip to content

Commit 1e0ff05

Browse files
authored
Merge pull request #514 from Paraphraser/20220312-homebridge-master
20220312 homebridge - master branch - PR 1 of 2
2 parents d6f4cde + 7388a0c commit 1e0ff05

File tree

4 files changed

+48
-323
lines changed

4 files changed

+48
-323
lines changed

.templates/homebridge/build.py

Lines changed: 0 additions & 318 deletions
This file was deleted.

.templates/homebridge/service.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
homebridge:
22
container_name: homebridge
3-
image: oznu/homebridge:no-avahi-arm32v6
3+
image: oznu/homebridge:latest
44
restart: unless-stopped
55
environment:
66
- TZ=Etc/UTC
77
- PGID=1000
88
- PUID=1000
99
- HOMEBRIDGE_CONFIG_UI=1
10-
- HOMEBRIDGE_CONFIG_UI_PORT=%WUIPort%
10+
- HOMEBRIDGE_CONFIG_UI_PORT=8581
1111
volumes:
1212
- ./volumes/homebridge:/homebridge
13-
#ports:
14-
# - "4040:4040"
1513
network_mode: host
1614

docs/Basic_setup/Default-Configs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Do note that the ports listed are not all of the ports containers use. They are
2121
| gitea | *none* | *none* | 7920 | No |
2222
| grafana | *none* | *none* | 3000 | No |
2323
| home_assistant | *none* | *none* | 8123 | No |
24-
| homebridge | *none* | *none* | 4040 | No |
24+
| homebridge | *none* | *none* | 8581 | No |
2525
| influxdb | *none* | *none* | *none* | Yes |
2626
| mariadb | mariadbuser | IOtSt4ckmariaDbPw | *none* | Yes |
2727
| mosquitto | *none* | *none* | *none* | No |

docs/Containers/Homebridge.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Homebridge
2+
3+
## References
4+
5+
* [GitHub home](https://github.com/oznu/docker-homebridge)
6+
* [Configuration Guide](https://github.com/oznu/docker-homebridge/wiki/Homebridge-on-Raspberry-Pi)
7+
* [DockerHub](https://hub.docker.com/r/oznu/homebridge)
8+
9+
## Configuration
10+
11+
Homebridge documentation has a comprehensive [configuration guide](https://github.com/oznu/docker-homebridge/wiki/Homebridge-on-Raspberry-Pi) which you are encouraged to read.
12+
13+
Homebridge is configured using environment variables. In IOTstack:
14+
15+
* If you are running new menu (master branch, the default), environment variables are kept inline in `docker-compose.yml`.
16+
* If you are running old menu (old-menu branch), environment variables are at the path:
17+
18+
```
19+
~/IOTstack/services/homebridge/homebridge.env
20+
```
21+
22+
In either case, you apply changes by editing the relevant file (`docker-compose.yml` or `homebridge.env`) and then:
23+
24+
```console
25+
$ cd ~/IOTstack
26+
$ docker-compose up -d homebridge
27+
```
28+
29+
### About "avahi"
30+
31+
"avahi", "multicast DNS", "Rendezvous", "Bonjour" and "ZeroConf" are synonyms.
32+
33+
Current Homebridge images disable avahi services by default. The Homebridge container runs in "host mode" which means it can participate in multicast traffic flows. If you have a plugin that requires avahi, it can enabled by setting the environment variable:
34+
35+
```yaml
36+
ENABLE_AVAHI=1
37+
```
38+
39+
## Web Interface
40+
41+
The web UI for Homebridge can be found on `"your_ip":8581`. You can change the port by adjusting the environment variable:
42+
43+
```
44+
HOMEBRIDGE_CONFIG_UI_PORT=8581
45+
```

0 commit comments

Comments
 (0)