lprhodes / homebridge-apple-tv

Apple TV 4th & 5th gen plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
105 stars 15 forks source link

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory #15

Open joshbish opened 6 years ago

joshbish commented 6 years ago

I am getting this error when starting up Homebridge ...

(node:24845) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 794d9787-a521-432e-9841-a7a7490ea5d7 (node:24845) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

normen commented 6 years ago

This probably ties in with #14 I guess you also get two messages that your Apple TV has been detected?

MrDrache333 commented 6 years ago

The first Problem is that the Plugin searches for Apple TV‘s for a Period of time...in this Time...an Apple TV can respond so fast that it cant answer the Request two Times....the Secound Problem is that the Plugin does not recognize that the same Device is Discovered twice...so the Plugin is trying to create an Accessory for this Apple TV twice...with obviously the same UUID

joshbish commented 6 years ago

ah, yes. sorry, I should have paid more attention to the other open issues. should I close this or leave it open?