- create an account at https://open.ttlock.com/reg
- create an application. The application needs to be reviewed. After it is reviewed, all the APIs are available.
- Create config.ini file that contain:
[ttlock_admin_panel]
client_id =
client_secret =
redirect_uri =- Use the package manager pip to install requered packages.
python -m pip install -r requrements.txt- Run following command to start flask
export FLASK_APP=ttlock_admin_panel
export FLASK_DEBUG=1
python -m flask runPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.