[Release] Alpha version of August Home (wifi door lock)

Interesting I'll see if there is a return code I might not be parsing (its all reverse engineered so trial an error).

thanks for the report!

This was working well for a while but I am seeing this now in my logs:

August - Front Door RefreshCalled

java.lang.IllegalArgumentException: null on line 122 (unlock)

August - Front Door Unlocking Door

java.lang.IllegalArgumentException: null on line 116 (lock)

August - Front Door Locking Door

java.lang.IllegalArgumentException: null on line 110 (refresh)

August - Front Door RefreshCalled

EDIT: It seems like the app deleted itself. I had to delete the device, add the app again, login and verify again. It now detects the lock and things are working again. If the app did not delete itself, I have no idea what happened. I would not have deleted it willingly, but I guess an accidental deletion is the most likely culprit. I'll keep an eye on it.

Weird - do you use Hubitat Package Manager? maybe a quark with that?

I do but I still don't know how it would get deleted. I'll watch it, maybe I had fat fingers.

I still can't get it to update on lock/unlock on anything other than within Hubitat. I've resorted to using HubConnect and linking the lock to smartthings. Then use webcore to refresh the Hubitat version whenever the lock changes. Holding out hope this can be solved so I can remove the dependence on smartthings.

Events work unfortunately since they don't document it and I haven't been able to figure out how to reverse engineer it. :frowning:

I use a separate door/contact sensor for events personally - but yeah ideally there API would be documented/open and we could have nice things like event support.

I had the same issue, here what helped me

I'm interested in this and only have a couple of 3rd party apps on my hubitat. I looked in the readme for instructions but didn't see them. I also have the August Keypad and August Pro lock. It seems to have just stop working properly within Hubitat and I'm over it. WIFI has always worked well. Happy to contribute to any cash app, it'll be worth it to get control of my door back via Hubitat. My main thing is what am I installed first, typically i see drivers, then app then configuration using my app credentials for the wifi. Thanks in advance.

Where does the 2fa code come from? I have logged in with my phone app to validate username/password - but cant go farther becasue i have no 2fa code coming from anywhere.

I figured out, i need to install the 3 drivers and the app so i'm good there now, just trying to figure out where this 2fa code comes from.

The order doesn't matter as long as you get the app (augusthomeapp.groovy) and drivers all added to App Code and Driver Code sections before opening the app. The 2FA comes from August, maybe 2FA wasn't required when you setup your account? You should be able to enable it from August - Login I think.

1 Like

No i have never had a 2fa option and dont see anything in the app or the website. I am getting the code now via email when I click VERIFY and putting it in the app, but still getting:

app:13882021-03-18 02:08:56.401 pm debugrefreshLocks()

app:13882021-03-18 02:08:56.398 pm debugAll child devices: []

app:13882021-03-18 02:08:56.395 pm errorconnectToAugust failed -- Unauthorized: [code:InvalidCredentials, message:access token not associated with a user]

app:13882021-03-18 02:08:55.990 pm debuggetLocks-params [uri:https://api-production.august.com/users/locks/mine, headers:[Accept-Version:0.0.1, x-august-api-key:79fd0eb6-381d-4adf-95a0-47721289d1d9, x-kease-api-key:79fd0eb6-381d-4adf-95a0-47721289d1d9, Content-Type:application/json, User-Agent:August/2019.12.16.4708 CFNetwork/1121.2.2 Darwin/19.3.0, x-august-access-token:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpbnN0YWxsSWQiOiJiMDY2YTk3MC1hODkwLTQyZmYtOTQxZS03ODJlYjdmMWMzY2IiLCJhcHBsaWNhdGlvbklkIjoiIiwidXNlcklkIjoiIiwidkluc3RhbGxJZCI6ZmFsc2UsInZQYXNzd29yZCI6ZmFsc2UsInZFbWFpbCI6ZmFsc2UsInZQaG9uZSI6ZmFsc2UsImhhc0luc3RhbGxJZCI6dHJ1ZSwiaGFzUGFzc3dvcmQiOnRydWUsImhhc0VtYWlsIjp0cnVlLCJoYXNQaG9uZSI6dHJ1ZSwiaXNMb2NrZWRPdXQiOmZhbHNlLCJvYXV0aCI6e30sImhvbWVBY2Nlc3MiOiIiLCJjYXB0Y2hhIjoiIiwiZW1haWwiOlsiZW1haWw6bnVsbCJdLCJwaG9uZSI6W10sImV4cGlyZXNBdCI6IjIwMjEtMDctMTZUMTc6NTU6NDguNTM2WiIsInRlbXBvcmFyeUFjY291bnRDcmVhdGlvblBhc3N3b3JkTGluayI6IiIsImlhdCI6MTYxNjA5MDE0OCwiZXhwIjoxNjI2NDU4MTQ4LCJMYXN0TmFtZSI6IiIsIkZpcnN0TmFtZSI6IiJ9.6S4MSKLo8y64ZhYG8wKhn4JN1T-nsyLg7-oDmjc7DLU]]

app:13882021-03-18 02:08:55.981 pm debugdiscoverLocks()

app:13882021-03-18 02:08:55.978 pm debugdiscoverDevices()

dev:3282021-03-18 02:08:44.010 pm infoOutside Sensor illuminance is 2469 Lux

app:13882021-03-18 02:08:42.183 pm errorconnectToAugust failed -- Conflict: [code:InvalidArgument, message:Verification code not found]

app:13882021-03-18 02:08:41.787 pm debugsendVerificationCodeResponse-params [uri:https://api-production.august.com/validate/email, headers:[Accept-Version:0.0.1, x-august-api-key:79fd0eb6-381d-4adf-95a0-47721289d1d9, x-kease-api-key:79fd0eb6-381d-4adf-95a0-47721289d1d9, Content-Type:application/json, User-Agent:August/2019.12.16.4708 CFNetwork/1121.2.2 Darwin/19.3.0, x-august-access-token:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpbnN0YWxsSWQiOiJiMDY2YTk3MC1hODkwLTQyZmYtOTQxZS03ODJlYjdmMWMzY2IiLCJhcHBsaWNhdGlvbklkIjoiIiwidXNlcklkIjoiIiwidkluc3RhbGxJZCI6ZmFsc2UsInZQYXNzd29yZCI6ZmFsc2UsInZFbWFpbCI6ZmFsc2UsInZQaG9uZSI6ZmFsc2UsImhhc0luc3RhbGxJZCI6dHJ1ZSwiaGFzUGFzc3dvcmQiOnRydWUsImhhc0VtYWlsIjp0cnVlLCJoYXNQaG9uZSI6dHJ1ZSwiaXNMb2NrZWRPdXQiOmZhbHNlLCJvYXV0aCI6e30sImhvbWVBY2Nlc3MiOiIiLCJjYXB0Y2hhIjoiIiwiZW1haWwiOlsiZW1haWw6bnVsbCJdLCJwaG9uZSI6W10sImV4cGlyZXNBdCI6IjIwMjEtMDctMTZUMTc6NTU6NDguNTM2WiIsInRlbXBvcmFyeUFjY291bnRDcmVhdGlvblBhc3N3b3JkTGluayI6IiIsImlhdCI6MTYxNjA5MDE0OCwiZXhwIjoxNjI2NDU4MTQ4LCJMYXN0TmFtZSI6IiIsIkZpcnN0TmFtZSI6IiJ9.6S4MSKLo8y64ZhYG8wKhn4JN1T-nsyLg7-oDmjc7DLU], body:[email:jonasd1@gmail.com, code:null]]

app:13882021-03-18 02:08:41.777 pm debugsendVerificationCodeResponse()

I've had to put the code in a few times before for it to authenticate.

1 Like

ok so i did it 3 times, more ?

ok FINALLY it discovered my LOCK! Yay and YAY! I can once again control my lock from HE. Thanks! So what can i do with the door sense and keypad drivers?

If your lock supports door sense you should be able to see the state of the door in the lock as open or closed. The keypad isn't fully functional yet as @taylor doesn't have one to test with.

1 Like

How did you get this working? I have tried 10 times using email and 10 times using phone. It keeps showing error. [error] connectToAugust failed -- Conflict: [code:InvalidArgument, message:Invalid code]

Hi Taylor, thanks for making the Hubitat community more effective by building this app. Do you know if registration still working? I can't seem get the app to validate my 2FA code.

Nevermind. Today when I tried, it connected in first try. thank you Taylor for the awesome app :slight_smile: :smiley:

Just setting this up and having issues. In the logs I'm getting a message
"connectToAugust failed -- Unauthorized: [code:InvalidCredentials, message:access token not associated with a user]"
I have tried 2FA through both phone and email, uninstalled and re-installed the app, and confirmed my credentials. 2FA seems to be working as I'm not seeing an error with it. All three drivers and the app are installed.

I am having the same issue. I installed my lock a week ago and hubitat connected fine but after 3 days I lost connection and now I am just getting the error msg " [error]connectToAugust failed -- Unauthorized: [code:InvalidCredentials, message:access token not associated with a user]" even after I am able to connect to my account using either email and phone but still not able to discover my lock. Did anything happen in the last week as it was working fine?