Closed dacarson closed 1 year ago
Changing the code to log the entire stack trace, I see this:
FetchError: Status 429 (undefined): undefined
[7/24/2023, 10:48:38 PM] [August] Discover Devices: TypeError: Cannot convert undefined or null to object
[7/24/2023, 10:48:38 PM] [August] TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at August.details (/var/lib/homebridge/node_modules/homebridge-august/node_modules/august-api/src/methods/details.js:9:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at AugustPlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-august/src/platform.ts:220:23)
The FetchError seems to be coming from the August-API library: https://github.com/hufftheweevil/august-api/blob/ffcf2c51f0a8aedb86aa69c4d3a8412525eb1c56/src/index.js#L33
And HTTP status code '429' means that the plugin has hit the rate limit.
Duplicate of https://github.com/hufftheweevil/august-api/issues/3
Describe The Bug
Locks not functioning
To Reproduce
Install 2 August Door locks without Door Sense, make them available of WiFi. Installed this home bridge extension. Setup according to instructions. See issues as reported by https://github.com/donavanbecker/homebridge-august/issues/21, so set configuration for each lock as shown in bug report. Restart Homebridge.
Expected behavior
Extension not report errors, and locks are functional.
Relevant log output
Config for homebridge-august
Screenshots
No response
Device & Model
AUG-SL04-M01-G04
Node.js Version
v18.16.0
NPM Version
9.6.3
Homebridge Version
v1.6.1
Homebridge August Plugin Version
1.2.0-beta.2
Homebridge Config UI X Plugin Version
v4.50.4
Operating System
Debian GNU/Linux Bullseye (11)