Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Assurelink 2 #6

Open
catbastet opened this issue Feb 18, 2017 · 7 comments
Open

Issue with Assurelink 2 #6

catbastet opened this issue Feb 18, 2017 · 7 comments

Comments

@catbastet
Copy link

catbastet commented Feb 18, 2017

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

<title>Request Rejected</title>Your 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
Copy link

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
Copy link
Owner

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

@catbastet
Copy link
Author

Just updated and reenabled it, and so far so good

@namannik
Copy link

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

@ssllii
Copy link

ssllii commented Jun 25, 2017

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
Copy link
Author

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
Copy link

ssllii commented Jul 8, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants