howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

2-Gang Wall Switch not working #87

Closed bartgabriels closed 4 years ago

bartgabriels commented 4 years ago

Hi,

I installed today my first 2-Gang wall switch, and now HomeBridge keeps crashing. Installed version: homebridge-ewelink-max v0.1.21

Here are the logs: [5/11/2020, 16:44:30] [eWeLink] SC SK Zussen CH 1 Configure Accessory [5/11/2020, 16:44:30] [eWeLink] SC SK Zussen CH 2 Configure Accessory [5/11/2020, 16:44:30] [eWeLink] SC SK Zussen CH 1 Configure Accessory [5/11/2020, 16:44:31] Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: dcbb77f8-cd56-4d8f-a6af-c897f3432f1d at Bridge.Accessory._this.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:413:15) at /usr/local/lib/node_modules/homebridge/src/server.ts:309:19 at Array.filter () at Server.restoreCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:269:69) at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:157:10) at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:78:10) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32) [5/11/2020, 16:44:31] Got SIGTERM, shutting down Homebridge...

howanghk commented 4 years ago

Duplicate of #73

bartgabriels commented 4 years ago

Indeed, fixed after removing cache.