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

Help with error #38

Closed MsCopernic closed 5 years ago

MsCopernic commented 5 years ago

I was able to install the AppleTV plugin, but after adding the plugin to my Homebridge config file I'm getting the following error, and Homebridge is crashing. I will appreciate your help.

[8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Discovered Apple TV (Estudio Merce) at 192.168.1.53 [8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Added pair switch for Apple TV (Estudio Merce) at 192.168.1.53

[8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Discovered Apple TV (Alcoba) at 192.168.1.57 [8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Added pair switch for Apple TV (Alcoba) at 192.168.1.57 [8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Discovered Apple TV (Alcoba) at 192.168.1.57 [8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Added pair switch for Apple TV (Alcoba) at 192.168.1.57

[8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Discovered Apple TV (Estudio Merce) at 192.168.1.53 [8/27/2018, 7:08:04 PM] [Apple TV] [INFO] Added pair switch for Apple TV (Estudio Merce) at 192.168.1.53

[8/27/2018, 7:08:04 PM] [Apple TV] No accessories have been added to the "Apple TV" platform config.

[8/27/2018, 7:08:04 PM] [Apple TV] Initializing platform accessory 'Pair Estudio Merce'... [8/27/2018, 7:08:04 PM] [Apple TV] Initializing platform accessory 'Pair Alcoba'... [8/27/2018, 7:08:04 PM] [Apple TV] Initializing platform accessory 'Pair Alcoba'...

(node:2664) UnhandledPromiseRejectionWarning: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: a8855172-e897-461c-9256-24a8026b7d84 at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:264:13) at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:398:24) at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19 at AppleTVPlatform.accessories (/usr/local/lib/node_modules/homebridge-apple-tv/node_modules/homebridge-platform-helper/platform.js:42:14)

(node:2664) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:2664) [DEP0018] 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.