Add back the ability to designate the port homebridge is running.

This commit is contained in:
Khaos Tian
2016-09-28 17:10:52 -07:00
parent 7425f8beca
commit ea9df45d2d
2 changed files with 2 additions and 1 deletions

View File

@@ -110,6 +110,7 @@ Server.prototype._publish = function() {
this._bridge.publish({
username: bridgeConfig.username || "CC:22:3D:E3:CE:30",
port: bridgeConfig.port || 0,
pincode: bridgeConfig.pin || "031-45-154",
category: Accessory.Categories.BRIDGE
}, this._allowInsecureAccess);

View File

@@ -26,7 +26,7 @@
"dependencies": {
"chalk": "^1.1.1",
"commander": "2.8.1",
"hap-nodejs": "0.4.9",
"hap-nodejs": "0.4.10",
"semver": "5.0.3",
"node-persist": "^0.0.8"
}