What's new:
v1.2:
- Added 'stopScanning' command to allow firmware to cancel a scan that didn't find the door.
v1.1:
- Added finer control to bluetooth connection so connection state can be managed better. Call an 'open comms' command to establish connection ready for use eg:
User logs into app or device receives request for challenge
Establish connection:
augustLock.lockAction(ESTABLISH_CONNECTION);
... Wait for user action (user locks August lock)
augustLock.lockCommand(LOCK);
... Wait 2 mins for any other action (nothing happens)
augustLock.closeConnection();
Requires h2zero/NimBLE-Arduino@^1.3.1
This library is an interface library for the August/Yale smartlocks.
Based on work by Marcus Lum https://github.com/Marcus-L/xamarin-august-ble
lock-in-action.mp4
To obtain the required credentials you can use a rooted Android phone and this opensource app (which is also available on PlayStore):
GitHub repo for AugustLockCredentials
This will allow you to copy/paste the constructor for the August library instance directly into your firmware sketch program.