From ea9df45d2de8c51c55f3bf63c504c786c8d7fe91 Mon Sep 17 00:00:00 2001 From: Khaos Tian Date: Wed, 28 Sep 2016 17:10:52 -0700 Subject: [PATCH] Add back the ability to designate the port homebridge is running. --- lib/server.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/server.js b/lib/server.js index 5e98e3c..233946d 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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); diff --git a/package.json b/package.json index 71d16d2..3b572c4 100644 --- a/package.json +++ b/package.json @@ -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" }