homebridge-plugins / homebridge-august

The Homebridge August plugin allows you to access your August/Yale Locks from HomeKit with Homebridge.
ISC License
36 stars 9 forks source link

August Lock Plug-in Error #28

Closed Geebs11 closed 1 year ago

Geebs11 commented 1 year ago

Describe Your Problem

Hello, I am trying to an August WiFi lock via Homebridge, and have installed your August Plugin and after trying various Node.js versions (14.18.0 suggested didn't work but the Homebridge Logs stated than I needed 14.20.1 which got me closer. Now I have one remaining Error message:

Relevant log output

[August] Discover Devices: TypeError: Cannot convert undefined or null to object

Config for homebridge-august

{
    "name": "August",
    "credentials": {
        "augustId": "****.***@icloud.com",
        "password": "***@*********",
        "validateCode": "******",
        "notice": "Keep your tokens a secret!"
    },
    "platform": "August"
}

Screenshots

No response

Device & Model

August WiFi Lock

Node.js Version

v14.20.1

NPM Version

V6.14.17

Homebridge Version

v1.5.1

Homebridge August Plugin Version

v1.0.5

Homebridge Config UI X Plugin Version

No response

Operating System

macOS Ventura

evantobin commented 1 year ago

This error occurs when saving the config via the UI. The august-api library is expecting the verification code as a number not a string. Edit the config manually to fix this. I'll send a pull request to fix

donavanbecker commented 1 year ago

Thanks @evantobin! Sorry I have been busy. I will merge into a beta release and then release a new version once tested.

donavanbecker commented 1 year ago

@evantobin @Geebs11, Can you try the latest beta:

npm version

Click here to find out how to install Beta

donavanbecker commented 1 year ago

v1.1.0 has been release which should resolve this.

ctaylora1231 commented 1 year ago

I’m still having this issue