mirror of
https://github.com/nikdoof/hapz2m.git
synced 2026-01-30 06:58:14 +00:00
Add config options for ListenAddr & Interfaces
These options are helpful when the bridge is running on a multi-homed device like a wireless router.
This commit is contained in:
19
README.md
19
README.md
@@ -28,6 +28,25 @@ To compile `hap-z2m`, use:
|
||||
|
||||
go build -v -trimpath -ldflags="-s -w" ./cmd/...
|
||||
|
||||
Configuration
|
||||
==============
|
||||
|
||||
The MQTT broker that Zigbee2MQTT connects to is specified using the following:
|
||||
|
||||
- Server
|
||||
- Username
|
||||
- Password
|
||||
|
||||
Additionally, these options control networking aspects for the bridge:
|
||||
|
||||
- `ListenAddr` can be used to bind to a specific port and/or address,
|
||||
useful for selecting a fixed port for firewall rules.
|
||||
|
||||
- `Interfaces` limit which interfaces mDNS broadcasts appear on,
|
||||
and which addresses to use when broadcasting.
|
||||
|
||||
These settings are optional and can be left blank.
|
||||
|
||||
License
|
||||
========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user