August Locks

I was given a smartlock pro, keypad, and bridge. Got it all set up but didn't try adding to hubitat yet. Came across this thread, now I'm thinking it's a non-starter?

I know the lock is zwave and can pair directly, but I'm planning on using it in my garage which is too far for zwave range.

To offer my humble opinion, if asked, I suggest, you could add this to your HE. either Z-wave if within range, or with the bridge via WiFi. I did not have success with either method as it would not stay connected or proved unreliable. HOWEVER, there are several here that have had great success. It is difficult to pin down why the different experience. It is worth a trial. Great lock if it's stable with your configuration. My final solution has been with a WiFi lock integrating Alexa and HE.
I am going to try and hope for better results with HomeKit and HE. Looks promising.
Give your system a try, smarter people than I can offer you tips along the way.
Good luck my friend.

1 Like

I have actually had really good luck with my August locks connecting through the August Home app (sorry don’t remember the author of it). I do have it also connected via Z-wave but that is much less reliable. The main issue I have that is causing me to look for a replacement is the one I use the most eats batteries. I end up replacing them every 3-4 weeks.I am sure some of that is how I have it setup and it is the main door we use but still pretty short.

For what it's worth, I dumped my August locks about 6 months ago and got Zigbee ones. Batteries last for a very long time - I'm still on the originals. No cloud, no silly account crap. They just work.

1 Like

Which ones did you go with?

Danalock V3 Zigbee. My requirements were Zigbee, no keypad, unable to tell it's a smart lock from outside, as you still have the keyway.

Hi, I have been having lots of connectivity issues with my August WiFi Lock (non-Pro). I also have a Yale Lock that works with the August [module] App.

I came across this thread [thecloudtaylor] driver that everyone seems to have had great results.

Both locks are pretty close to my wireless access point (~15/20 feet) and I have the August Connect (2x) just about 6 feet from the locks. The locks connect [I think] via BLE to the Connects and the Connects facilitate the WiFi connectivity. I know the August lock can do direct WiFi too but have not tried it without the Connect (yet).

What I want to ask is: I found the [thecloudtaylor] github repo and downloaded the files but for the life of me. I have not been able to find any guide to configure the driver and locks to work with my new Hubitat C-8 Pro.

Can someone point me in the right direction?

Thanks,

xt

Greetings. This may or may not help you. This was my solution. HE runs most of my house. It works well with Alexa. Alexa works well with Wifi devices. I have a virtual switch in HE that triggers an Alexa routine to control wifi august and Schlage locks.

By the way, Welcome!

The simplest method is to install the App/Driver via Hubitat Package Manager (HPM).

https://hubitatpackagemanager.hubitatcommunity.com/installing.html

I am trying the app and the drivers but I have an issue.
When I authenticate with login and pass , I receive the verification code. Then I enter it.
It is the correct code but I get this response on logs:

app:10382024-09-07 15:42:07.084errorconnectToAugust failed -- status code: 409, reason phrase: Conflict: [code:InvalidArgument, message:Invalid code]
app:10382024-09-07 15:42:06.737debugsendVerificationCodeResponse-params [uri:https://api-production.august.com/validate/email, headers:[Accept-Version:0.0.1, x-august-api-key:xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx, x-kease-api-key:xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx, Content-Type:application/json, User-Agent:August/2019.12.16.4708 CFNetwork/1121.2.2 Darwin/19.3.0, x-august-access-token:xxxxxxxxxxxxxxxxxxxxxxx.KecEwt_lpG0iVsZyklfBrc_7tq3XFmsWg-3cvHOe6xA], body:[email:xxxxxxxx@gmail.com, code:968780]]
app:10382024-09-07 15:42:06.721debugsendVerificationCodeResponse()
app:10382024-09-07 15:41:49.726debugreHeader: CF-RAY: 8bf6c676dee2d5fe-IST
app:10382024-09-07 15:41:49.723debugreHeader: Server: cloudflare
app:10382024-09-07 15:41:49.719debugreHeader: Set-Cookie: __cf_bm=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; path=/; expires=Sat, 07-Sep-24 13:11:50 GMT; domain=.august.com; HttpOnly; Secure; SameSite=None
app:10382024-09-07 15:41:49.716debugreHeader: CF-Cache-Status: DYNAMIC
app:10382024-09-07 15:41:49.713debugreHeader: x-response-time: 22
app:10382024-09-07 15:41:49.709debugreHeader: x-august-access-token:xxxxxxxxxxxxx

I don't understand why I get "errorconnectToAugust failed -- status code: 409, reason phrase: Conflict: [code:InvalidArgument, message:Invalid code"

Then I hit "discover". Nothing is discovered but I see actually something is discovered in the logs:

app:10382024-09-07 15:46:07.435infoUpdated Locks, Next Update in 10 min.
app:10382024-09-07 15:46:07.429debugrefreshLocks()
app:10382024-09-07 15:46:07.426debugAll child devices:
app:10382024-09-07 15:46:07.423debugLockStatus: null
app:10382024-09-07 15:46:07.420debugreHeader: CF-RAY: 8bf6ccc0dee0d60b-IST
app:10382024-09-07 15:46:07.417debugreHeader: Server: cloudflare
app:10382024-09-07 15:46:07.414debugreHeader: Set-Cookie:xxxxxx; path=/; expires=Sat, 07-Sep-24 13:16:07 GMT; domain=.august.com; HttpOnly; Secure; SameSite=None
app:10382024-09-07 15:46:07.411debugreHeader: CF-Cache-Status: DYNAMIC
app:10382024-09-07 15:46:07.408debugreHeader: x-response-time: 39
app:10382024-09-07 15:46:07.405debugreHeader: x-august-access-token:xxxx
app:10382024-09-07 15:46:07.400debugreHeader: api-version: 0.0.1
app:10382024-09-07 15:46:07.397debugreHeader: x-xss-protection: 0
app:10382024-09-07 15:46:07.395debugreHeader: referrer-policy: no-referrer
app:10382024-09-07 15:46:07.392debugreHeader: x-permitted-cross-domain-policies: none
app:10382024-09-07 15:46:07.389debugreHeader: x-content-type-options: nosniff
app:10382024-09-07 15:46:07.386debugreHeader: x-download-options: noopen
app:10382024-09-07 15:46:07.384debugreHeader: strict-transport-security: max-age=15552000; includeSubDomains
app:10382024-09-07 15:46:07.381debugreHeader: x-frame-options: SAMEORIGIN
app:10382024-09-07 15:46:07.378debugreHeader: expect-ct: max-age=0
app:10382024-09-07 15:46:07.376debugreHeader: x-dns-prefetch-control: off
app:10382024-09-07 15:46:07.373debugreHeader: content-security-policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
app:10382024-09-07 15:46:07.370debugreHeader: vary: origin,access-control-request-method,access-control-request-headers
app:10382024-09-07 15:46:07.367debugreHeader: Connection: keep-alive
app:10382024-09-07 15:46:07.364debugreHeader: Transfer-Encoding: chunked
app:10382024-09-07 15:46:07.362debugreHeader: Content-Type: application/json
app:10382024-09-07 15:46:07.359debugreHeader: Date: Sat, 07 Sep 2024 12:46:07 GMT
app:10382024-09-07 15:46:07.355debugreJson: [Calibrated:false, Created:2015-05-20T14:56:41.693Z, HouseID:xxxxxxxxxxxxx, HouseName:Ilker's xHouse, LockID:xxxxxxxxxxxxxxxx, LockName:Front Door, LockStatus:[status:unknown], OfflineKeys:[created:[[UserID:notsuperuser, created:2016-08-19T20:34:41.308Z, key:xxxxxxxxxxxxxx, slot:254]], deleted:, loaded:[[UserID:xxxxxxxxxxxxx, key:xxxxxxxxxx, slot:1]]], SerialNumber:L1GG00012Q, Type:1, Updated:2015-05-20T15:36:54.784Z, accessSchedulesAllowed:false, battery:-1, cameras:, currentFirmwareVersion:788113bb-undefined-0.4.2, geofenceLimits:[ios:[debounceInterval:90, gpsAccuracyMultiplier:2.5, maximumGeofence:5000, minGPSAccuracyRequired:80, minimumGeofence:100]], homeKitEnabled:false, isGalileo:false, macAddress:xxxxx, parametersToSet:[:], pubsubChannel:de318910-fe85-43fe-85c6-62ca9e651221, remoteOperateSecret:xxxxxxxxxxxxxxxxxxxxxx, ruleHash:[:], skuNumber:AUG-SL01-M01-G01, supportsEntryCodes:false, users:[xxxxxx:[FirstName:Ilker, LastName:Aktuna, UserType:superuser, identifiers:[email:xxxxxxxxxxxx@gmail.com, phone:+xxxxxxxx], imageInfo:[original:[format:webp, height:1000, secure_url:https://, url:https://, width:750], thumbnail:[format:webp, height:128, secure_url:https://, url:https://, width:128]]]], zWaveEnabled:false]
app:10382024-09-07 15:46:07.263debugreCode: 200
app:10382024-09-07 15:46:07.029debuggetLock-params [uri:https://api-production.august.com/locks/xxxxx, headers:[Accept-Version:0.0.1, x-august-api-key:xxxxx, x-kease-api-key:xxxx, Content-Type:application/json, User-Agent:August/2019.12.16.4708 CFNetwork/1121.2.2 Darwin/19.3.0, x-august-access-token:xxxx]]
app:10382024-09-07 15:46:07.024debuggetLock(deviceID=xxxxx)
app:10382024-09-07 15:46:07.021debugHouseName: Ilker's House
app:10382024-09-07 15:46:07.018debugHouseID: xxx
app:10382024-09-07 15:46:07.015debugmacAddress: xxxx
app:10382024-09-07 15:46:07.013debugLockName: Front Door
app:10382024-09-07 15:46:07.010debugLockID: xxxxx
app:10382024-09-07 15:46:07.007debugreHeader: CF-RAY: 8bf6ccbe48ca51a8-IST
app:10382024-09-07 15:46:07.004debugreHeader: Server: cloudflare
app:10382024-09-07 15:46:07.001debugreHeader: Set-Cookie: __cf_bm=; path=/; expires=Sat, 07-Sep-24 13:16:07 GMT; domain=.august.com; HttpOnly; Secure; SameSite=None
app:10382024-09-07 15:46:06.998debugreHeader: CF-Cache-Status: DYNAMIC
app:10382024-09-07 15:46:06.995debugreHeader: x-response-time: 15
app:10382024-09-07 15:46:06.992debugreHeader: x-august-access-token: xxxxx
app:10382024-09-07 15:46:06.988debugreHeader: api-version: 0.0.1
app:10382024-09-07 15:46:06.985debugreHeader: x-xss-protection: 0
app:10382024-09-07 15:46:06.982debugreHeader: referrer-policy: no-referrer
app:10382024-09-07 15:46:06.979debugreHeader: x-permitted-cross-domain-policies: none
app:10382024-09-07 15:46:06.976debugreHeader: x-content-type-options: nosniff
app:10382024-09-07 15:46:06.974debugreHeader: x-download-options: noopen
app:10382024-09-07 15:46:06.971debugreHeader: strict-transport-security: max-age=15552000; includeSubDomains
app:10382024-09-07 15:46:06.968debugreHeader: x-frame-options: SAMEORIGIN
app:10382024-09-07 15:46:06.965debugreHeader: expect-ct: max-age=0
app:10382024-09-07 15:46:06.963debugreHeader: x-dns-prefetch-control: off
app:10382024-09-07 15:46:06.960debugreHeader: content-security-policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
app:10382024-09-07 15:46:06.957debugreHeader: vary: origin,access-control-request-method,access-control-request-headers
app:10382024-09-07 15:46:06.954debugreHeader: Connection: keep-alive
app:10382024-09-07 15:46:06.951debugreHeader: Transfer-Encoding: chunked
app:10382024-09-07 15:46:06.949debugreHeader: Content-Type: application/json
app:10382024-09-07 15:46:06.946debugreHeader: Date: Sat, 07 Sep 2024 12:46:07 GMT
app:10382024-09-07 15:46:06.940debugreJson: [xxxx:[HouseID:xxxxx, HouseName:Ilker's House, LockName:Front Door, UserType:superuser, macAddress:6C:EC:EB:55:43:F4]]
app:10382024-09-07 15:46:06.936debugreCode: 200
app:10382024-09-07 15:46:06.588debuggetLocks-params [uri:https://api-production.august.com/users/locks/mine, headers:[Accept-Version:0.0.1, x-august-api-key:xxxxx, x-kease-api-key:xxxxx, Content-Type:application/json, User-Agent:August/2019.12.16.4708 CFNetwork/1121.2.2 Darwin/19.3.0, x-august-access-token:xxxxx]]
app:10382024-09-07 15:46:06.526debugdiscoverLocks()
app:10382024-09-07 15:46:06.523debugdiscoverDevices()

As you see it finds a house which is created on 2016 and there is a lock named "front door"

However, this is a very old record from 2016
I no longer have that lock.
Now I have another lock with another name created this year.

My new lock is registered with Yale Home app.
So I suspect that August lock and Yale Home have different api endpoints.
ANd probably if I change the endpoint in your code with the correct API url of Yale Home, it will work.
Any ideas on Yale's API endpoint ?

copying from here:

I changed the api url and api key on code as:

@Field static String global_apiURL = "https://api.aaecosystem.com"
@Field static String global_HeaderApiKey = "d9984f29-07a6-816e-e1c9-44ec9d1be431"
@Field static String global_HeaderUserAgent = "August/2019.12.16.4708 CFNetwork/1121.2.2 Darwin/19.3.0"
@Field static String global_HeaderAcceptVersion = "0.0.1"

Now, I get the verification code from Yale Home, instead of August which is good
but I get

connectToAugust failed -- status code: 409, reason phrase: Conflict: [code:InvalidArgument, message:Invalid code]

when I send verification code.

And with discover button I get:

connectToAugust failed -- status code: 401, reason phrase: Unauthorized: [code:InvalidCredentials, message:unverified access token]

what is wrong now ?

If you are using Yale Home they're blocking the old keys due to API misuse by users (too much pinging). Home Assistant now has a dedicated Yale Home integration. So it looks like you may need to use HA and bring the lock to Hubitat via the HADB

@kelly1
I got it working with Yale Home.
Now the "discover" button results in discovery of my lock.
I see it in the logs but on the app page nothing is displayed under "Discovered devices are listed below:"

app:10382024-09-07 17:10:29.578debuggetLock(deviceID=xxxxxxxxxxxxxxxxxxxxxxxxxx)
app:10382024-09-07 17:10:29.575debugHouseName: Home
app:10382024-09-07 17:10:29.572debugHouseID: xxxxxxx-d180-4ba3-ac9a-xxxxxxxxxxxx
app:10382024-09-07 17:10:29.569debugmacAddress: 98:1B:B5:00:00:00
app:10382024-09-07 17:10:29.566debugLockName: SafeBox
app:10382024-09-07 17:10:29.564debugLockID: xxxxxxxxxxxxxxxxxxxxxxxxxx
app:10382024-09-07 17:10:29.561debugreHeader: CF-RAY: 8bf748550999c9d8-OTP
app:10382024-09-07 17:10:29.558debugreHeader: Server: cloudflare
app:10382024-09-07 17:10:29.555debugreHeader: Set-Cookie: __cf_bm=; path=/; expires=Sat, 07-Sep-24 14:40:29 GMT; domain=.aaecosystem.com; HttpOnly; Secure; SameSite=None
app:10382024-09-07 17:10:29.552debugreHeader: CF-Cache-Status: DYNAMIC
app:10382024-09-07 17:10:29.550debugreHeader: x-response-time: 324

why doesn't the app show the lock and add it ?

any ideas ?
I hope this is not abandoned :frowning:

anyone ?
no ideas ?