nfarina / homebridge-dummy

Dummy switches for Homebridge: https://github.com/nfarina/homebridge
262 stars 82 forks source link

Error after Update: same UUID #59

Open havenonick opened 1 year ago

havenonick commented 1 year ago

After upgrading the core and the plugin Hoobs will not start with the following message:

[06.08.22, 19:25] Loading 6 accessories... [06.08.22, 19:25] [Schlafen Dummy] Initializing DummySwitch accessory... [06.08.22, 19:25] [Schlafen Dummy] Setting switch to true [06.08.22, 19:25] Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: undefined at Service.addCharacteristic (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/Service.ts:344:15) at /usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:128:15 at Array.forEach () at parseServiceJSON (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:126:19) at /usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:69:21 at Array.forEach () at Object.parseAccessoryJSON (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:68:17) at Server.createHAPAccessory (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:406:36) at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:314:36 at Array.forEach () at Server._loadAccessories (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:282:33) at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:18) at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16 at processTicksAndRejections (internal/process/task_queues.js:93:5)