diff --git a/README.md b/README.md index 566b436..608ff60 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ This is work in progress, so new accessories will be added as needed or requeste You can install this plugin via the Homebridge UI or by typing: ``` -npm install -g homebridge-virtual-accessories +npm install -g homebridge-virtual-accessories@latest ``` ## Configuration diff --git a/package-lock.json b/package-lock.json index 84c1869..c500220 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "homebridge-virtual-accessories", - "version": "1.0.0-beta.5", + "version": "1.0.0-beta.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "homebridge-virtual-accessories", - "version": "1.0.0-beta.5", + "version": "1.0.0-beta.6", "license": "Apache-2.0", "dependencies": { "@js-joda/core": "^5.6.3", diff --git a/package.json b/package.json index 0794d85..169ed1b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "homebridge-virtual-accessories", "displayName": "Virtual Accessories for Homebridge", "type": "module", - "version": "1.0.0-beta.5", + "version": "1.0.0-beta.6", "description": "Virtual accessories for Homebridge.", "author": "justjam2013", "license": "Apache-2.0", diff --git a/src/platform.ts b/src/platform.ts index 34c43f4..ab40166 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -62,12 +62,14 @@ export class VirtualAccessoryPlatform implements DynamicPlatformPlugin { this.log.debug('No configured accessories'); configuredDevices = JSON.parse('[]'); } + this.log.debug(`Found configured accessories: ${configuredDevices}`); // loop over the discovered devices and register each one if it has not already been registered for (const configuredDevice of configuredDevices) { // generate a unique id for the accessory this should be generated from // something globally unique, but constant, for example, the device serial // number or MAC address + this.log.debug(`Configured accessory: ${configuredDevice}`); const uuid = this.api.hap.uuid.generate(configuredDevice.accessoryID); // see if an accessory with the same uuid has already been registered and restored from