This is a module for the MagicMirror². It pulls data (lock and door status) from August Locks connected to the configured account using august-connect.
# Navigate to MagicMirror's "modules" folder
cd modules
# Clone repo
git clone https://github.com/relm923/MMM-August-Lock.git
# Navigate into new folder
cd MMM-August-Lock
# Install Module Dependencies
npm install
npm run auth
This only needs to be completed once
npm run auth
> MMM-August-Lock@2.0.0 auth
> node auth-helper.js
? What type of ID do you use to access your August account? phone
? Enter your August UserId (ex: +12345678901)? +12223334444
? Enter the code August just sent you 123455
Successfully Authorized!
To use this module, add the following configuration block to the modules array in the config/config.js
file:
var config = {
modules: [
{
module: "MMM-August-Lock",
position: "top_right",
header: "August", // Optional
config: {
// See below for configurable options
augustID: "+XXXXXXXXXX",
IDType: "phone",
password: "XXXXXXXX"
}
}
]
}
Option | Description |
---|---|
august |
Required Email or phone used to access August account |
IDType |
Required Either phone or email |
password |
Required Password used to access August account |
updateInterval |
Optional How often the content will be fetched. Type: int (milliseconds) Default 60000 (1 minute) |
animationSpeed |
Optional Speed of the update animation. Type: int (milliseconds) Default 2000 milliseconds (2 seconds) |
- august-connect (installed via
npm install
)