KraigM / homebridge-harmonyhub

HomeBridge Plugin for Logitech Harmony Hub
182 stars 52 forks source link

Same UUID, even though none of my activities one each hub have the same name? #73

Open miguelmolez opened 7 years ago

miguelmolez commented 7 years ago

I'm getting the below error all of a sudden, I thought that there may of been a clash with an activity on one of my hubs, but I have even deleted all the activities to test it, but to no avail?

11/16/2016, 8:14:42 AM] [Philips Hue] Initializing PhilipsHue platform... [11/16/2016, 8:14:42 AM] [Philips Hue] PhilipsHue Platform Plugin Version 0.0.3 [11/16/2016, 8:14:42 AM] [Philips Hue] Fetching Philips Hue lights... [11/16/2016, 8:14:42 AM] [Harmony Hub] Initializing HarmonyHub platform... [11/16/2016, 8:14:42 AM] [WeMo Platform] Initializing BelkinWeMo platform... [11/16/2016, 8:14:42 AM] Initializing Nest platform... [11/16/2016, 8:14:42 AM] Fetching Nest devices. [11/16/2016, 8:14:42 AM] [SmartThings] Initializing SmartThings platform... [11/16/2016, 8:14:42 AM] [SmartThings] Fetching Smart Things devices. [11/16/2016, 8:14:42 AM] Initializing HomeBridgeControllerLink platform... [11/16/2016, 8:14:42 AM] Loading 1 accessories... [11/16/2016, 8:14:42 AM] [Christmas Music] Initializing SSH accessory... [11/16/2016, 8:14:43 AM] [WeMo Platform] Online: kettle [94103E69B41C] [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'Table lamp'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'Left wall light'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'Right wall light'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'LightStrips 1'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'LightStrips 2'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'LightStrips 3'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'LightStrips 4'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'Office Lamp'... [11/16/2016, 8:14:46 AM] [Philips Hue] Initializing platform accessory 'Front Porch Light'... [11/16/2016, 8:14:47 AM] [Harmony Hub] Fetching Logitech Harmony activities...atches userconfig) [11/16/2016, 8:14:47 AM] [Harmony Hub] Fetching Logitech Harmony activities... [11/16/2016, 8:14:47 AM] [SmartThings] Device Added - Group sensor, Name Michael, ID 3dce9ea7-ca55-48f6-bbec-cfe32c19e2fe [11/16/2016, 8:14:47 AM] [SmartThings] Device Added - Group sensor, Name Nikki, ID f7c7cbbb-c7e3-4a01-b094-9455320e1fcd [11/16/2016, 8:14:47 AM] [SmartThings] Unknown Capabilities: [] [11/16/2016, 8:14:47 AM] [SmartThings] Initializing platform accessory 'Michael'... [11/16/2016, 8:14:47 AM] [SmartThings] Initializing platform accessory 'Nikki'... [11/16/2016, 8:14:47 AM] Started HomeBridgeControllerLink on port 51828mrc. (matches userconfig) Unknown restart style: undefined [11/16/2016, 8:14:48 AM] [Harmony Hub] Found activities: fig: /root/.npmrc. (matches userconfig) PowerOff Unhandled Rejection Detected at: Promise Promise { _bitField: 152305664, _fulfillmentHandler0: [Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 93bc4195-47dd-49fd-ab04-fc023672f8c7], _rejectionHandler0: undefined, _promise0: undefined, _receiver0: undefined } reason: [Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 93bc4195-47dd-49fd-ab04-fc023672f8c7] Restarting homebridge due to an error restarting... shutting down......] \ : verb config Skipping project config: /root/.npmrc. (matches userconfig) shutting down servers... [11/16/2016, 8:14:48 AM] [Harmony Hub] Found activities: PowerOff Unhandled Rejection Detected at: Promise Promise { _bitField: 152305664, _fulfillmentHandler0: [Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 0ac83500-5226-44bc-9a20-995bcc3c0d93], _rejectionHandler0: undefined, _promise0: undefined, _receiver0: undefined } reason: [Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 0ac83500-5226-44bc-9a20-995bcc3c0d93] Restarting homebridge due to an error restarting... shutting down... starting next hub... ["/usr/local/bin/homebridge"] waiting for exit... root@raspberrypi:~#

KradKrad commented 7 years ago

I had this same issue where it would crash my homebridge every few hours. I just went and made the cached accessories file located at /home/username/.homebridge/accessories/cachedAccessories to READ ONLY.

Once it was set to read only, I would get the occassional access denied in homebridge logging, but it no longer crashes and harmonyhub plugin still works.

mrdavidsilva commented 7 years ago

KradKrad, just wondering how the plugin has been working since you set your cachedAccessories to READ ONLY. Does homebridge crash at all anymore?

KradKrad commented 7 years ago

The plugin would just cause a boot loop on my homebridge server. I removed it and have moved on to use Amazon Echo/Alexa. The Alexa platform now has native support and I also use Yonomi for more then one hub control. Good Luck