Watch the video at
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


The Main Module is '' has the functions that control the lock itself via the relays.

You can use to encrypt commands into JWT (Make sure the secret variable matches with the one in
JWTs expire after 10 seconds because they're supposed to be sent between machines. But you can change that by changing the 'seconds=10' to whatever you desire.
If you want to remove the expiration altogether, remove the following text from that line: 
'exp': datetime.datetime.utcnow() + datetime.timedelta(seconds=10)},

Additional Dependencies Installed:
pyjwt (just enter the next line into Raspberry Pi command line):
pip install pyjwt

If you get an error, because you don't have PIP, try this first:
sudo apt-get install python-pip

To Launch the Python script when the Raspberry Pi boots up you can follow this tutorial: