rainlake / homebridge-platform-myq

19 stars 6 forks source link

Login Errors #15

Open ur7x opened 5 years ago

ur7x commented 5 years ago

This plugin works great and perfectly links MyQ to Smarthings and HomeKit.
Then yesterday it started generating login errors every minute

with the comment "{ Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:162:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }"

I'm guessing that the LiftMaster Company has changed their security protocols or something. The system still works... for now.

ahnyerkeester commented 5 years ago

Chamberlain did some work on their API. My Myq widget in another application stopped working and needed a tweak. Hoping they can get that fixed here too.

ur7x commented 5 years ago

I think I might have fixed this... I grabbed the API address from a different "MyQ" bridge. branched off a new app and it seems to work.

The API address that is working is JVM/G9Nwih5BwKgNCjLxiFUQxQijAebyyg8QUHr7JOrP+tuPb8iHfRHKwTmDzHOu

rainlake commented 5 years ago

I just setup homebrige and it is still working. what brands are you using? and @ur7x , what do you mean the "API address"? Thanks

ur7x commented 5 years ago

On line 33 of your code you have an APP address... In my branch I replaced that one with the one I posted above (from a different homekit/liftmaster bridge) and my log on errors were solved.

Brands? Chamberlain Door openers with a Chamberlain bridge (an early one that was supposed to be HomeKit compatible but never was).

I like your "bridge" the best of all the one on Github since it not only polls the openers, but also polls the RF light switch too. It is the only bridge that I could find that does both. Nice work!

Update, my "new" APP ID started to throw error codes too... so I unloaded mine, reloaded yours and it is working again... weird.

ahnyerkeester commented 5 years ago

I had a pending update for Hombridge so I stopped the service, did the update and restarted. Myq plugin started working again.

rainlake commented 5 years ago

Just got an email from myq indicating they will retire the old app. do not know if there's any API retirement yet. might be an end for this project. :)

mrand commented 4 years ago

Related discussion and work here: https://github.com/arraylabs/pymyq/issues/22