tekuonline / Homebridge-Assurelink

Assurelink Plugin for Homebridge (DOES NOT WORK ANYMORE)
0 stars 1 forks source link

Issue with Assurelink 2 #6

Open catbastet opened 7 years ago

catbastet commented 7 years ago

There is no place that I can find to address issues under the Assurelink 2. I made a comment on a commit over there, but I don't really know where or what I should be doing to inform of the problem. The assurelink2 plugin has not worked for a little over a week. Everything had been working fine since I switched to Assurelink2, but this is what started happening

undefined:1

Request RejectedYour request has been denied.

[5442595389314003337]

^

SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at Request._callback (/usr/local/lib/node_modules/homebridge-assurelink2/index.js:186:21) at Request.self.callback (/usr/local/lib/node_modules/homebridge-assurelink2/node_modules/request/request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request. (/usr/local/lib/node_modules/homebridge-assurelink2/node_modules/request/request.js:1081:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage. (/usr/local/lib/node_modules/homebridge-assurelink2/node_modules/request/request.js:1001:12) at IncomingMessage.g (events.js:292:16)

namannik commented 7 years ago

I've been getting the same error with both the Assurelink and Assurelink2 plugins. It ends up taking down Homebridge with it. Perhaps something has changed with Assurelink's API?

tekuonline commented 7 years ago

Try the V2 just updated to the newer api urls. https://www.npmjs.com/package/homebridge-assurelink2

catbastet commented 7 years ago

Just updated and reenabled it, and so far so good

namannik commented 7 years ago

I've finally gotten around to checking this out. I installed the new version, and everything works great. Thanks!

ssllii commented 7 years ago

I am new to Homebridge and wanted to use the assurelink plug-in. However I am getting this error when starting Homebridge:

[6/25/2017, 8:51:56 AM] Loading 1 platforms... [6/25/2017, 8:51:56 AM] Initializing AssureLink2 platform... Failed to find plugin to handle accessory MyQ Garage Door Opener Failed to find plugin to handle accessory MyQ Garage Door Opener /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:228 throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID); ^

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: eddd50b7-c6ce-4e56-8384-9b8aa9d8864c

Any suggestions?

catbastet commented 7 years ago

I have the same problem, and I would love a permanent solution to this. I am able to work around the problem though by deleting the cached accessories every time before opening homebridge. For me, this allows the program to run correctly one time until I have to close homebridge and open it again.

ssllii commented 7 years ago

It seems like the issue is not unique to the AssureLink2 plugin. Does anyone know a fix to this issue with Homebridge? The workaround seems to destroy the room assignments in HOME app.