Add debug logging, move settings to secrets.py

This commit is contained in:
2023-03-15 20:04:38 +00:00
parent c4998709a9
commit 60825fda94
3 changed files with 28 additions and 14 deletions

View File

@@ -1,3 +1,11 @@
# Door cards API key
# should be equal to the auth token value set in Spaceport
DOOR_API_KEY = ''
# Door API routes
API_STATS = 'https://api.my.protospace.ca/stats/'
API_DOOR = 'https://api.my.protospace.ca/door/'
API_SEEN = lambda x: 'https://api.my.protospace.ca/door/{}/seen/'.format(x)
# Card reader settings
BAUD_RATE = 2400