Releases: knuckleheadsmiff/homebridge-garagedoor-ryobi
0.3.7: Bump ws from 7.4.4 to 7.4.6.
Bump ws (web sockets) from 7.4.4 to 7.4.6 to fix a security vulnerability.
Major rework
The codebase has been converted to TypeScript and many major errors have been fixed (and a few new ones created...sorry.) The new code is a much better behaved NPM. Major thanks to @andyedinborough for all his work.
The readme still needs work especially related to multiple doors I believe. We will get to this.
Fix passing in garagedoor_id and add a serial_number
For folks passing in a device_id that broke in 0.2.7. Now fixed. Also, if people are running multiple instances they can/should put in a unique serial_number to prevent HomeKit from person ting a confusing UI for multiple doors.
I have not tested this myself because I only have one door (and don't use either of these two values.)
New communication to server with better NodeJS api
Incorporates contribution from andyedinborough.
This version keeps repeated usage of name/password from the logs and uses cookies to maintain auth rather than always passing in name/password. Also handles encoding of parameters better.
Handle errors more gracefully
If I get server errors when trying to get device info rather then crashing the server (not nice) I just return an error to the status function.
Also in the case your credentials are bad, I give a better error message then what I did before (Parse error) which was not too helpful. Of course if you were in debug mode and had the debug sensitive flag on the root error would have shown. This however is a little nicer for simple password issues.
fixed error when polling
poll code could instantaneously call itself back swamping the server!