9 Commits

Author SHA1 Message Date
Khaos Tian
63ab1025e9 Update hap-nodejs to allow homebridge work with nodejs v4.x 2016-11-03 12:20:46 -07:00
Khaos Tian
dc43d0b7c4 Update hap-nodejs
This version requires node v5.10.0 or later.
2016-11-01 18:33:59 -07:00
Khaos Tian
7c3543ba61 Merge pull request #839 from rxseger/collision-name
Fix camera name in collision error message
2016-10-09 17:14:29 -07:00
rxseger
5adb5f3282 Fix camera name in collision error message 2016-10-09 23:36:53 +00:00
Khaos Tian
fedd341970 0.4.6 2016-10-01 16:48:05 -07:00
Khaos Tian
c7c9aa0150 Bump hap-nodejs version. 2016-10-01 16:48:01 -07:00
Khaos Tian
e3e08414f6 0.4.5 2016-09-28 17:11:01 -07:00
Khaos Tian
ea9df45d2d Add back the ability to designate the port homebridge is running. 2016-09-28 17:10:52 -07:00
Khaos Tian
7425f8beca 0.4.4 2016-09-28 12:40:35 -07:00
2 changed files with 4 additions and 3 deletions

View File

@@ -110,6 +110,7 @@ Server.prototype._publish = function() {
this._bridge.publish({ this._bridge.publish({
username: bridgeConfig.username || "CC:22:3D:E3:CE:30", username: bridgeConfig.username || "CC:22:3D:E3:CE:30",
port: bridgeConfig.port || 0,
pincode: bridgeConfig.pin || "031-45-154", pincode: bridgeConfig.pin || "031-45-154",
category: Accessory.Categories.BRIDGE category: Accessory.Categories.BRIDGE
}, this._allowInsecureAccess); }, this._allowInsecureAccess);
@@ -472,7 +473,7 @@ Server.prototype._handlePublishCameraAccessories = function(accessories) {
var advertiseAddress = mac.generate(accessory.UUID); var advertiseAddress = mac.generate(accessory.UUID);
if (this._publishedCameras[advertiseAddress]) { if (this._publishedCameras[advertiseAddress]) {
throw new Error("Camera accessory %s experienced an address collision.", accessory.displayName); throw new Error("Camera accessory " + accessory.displayName + " experienced an address collision.");
} else { } else {
this._publishedCameras[advertiseAddress] = accessory; this._publishedCameras[advertiseAddress] = accessory;
} }

View File

@@ -1,7 +1,7 @@
{ {
"name": "homebridge", "name": "homebridge",
"description": "HomeKit support for the impatient", "description": "HomeKit support for the impatient",
"version": "0.4.3", "version": "0.4.8",
"scripts": { "scripts": {
"dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true" "dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true"
}, },
@@ -26,7 +26,7 @@
"dependencies": { "dependencies": {
"chalk": "^1.1.1", "chalk": "^1.1.1",
"commander": "2.8.1", "commander": "2.8.1",
"hap-nodejs": "0.4.8", "hap-nodejs": "0.4.13",
"semver": "5.0.3", "semver": "5.0.3",
"node-persist": "^0.0.8" "node-persist": "^0.0.8"
} }