diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2020-05-23 18:08:34 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2020-05-23 18:08:34 +0300 |
commit | 675d5eb06743b4a825609903adb4c657f9c51e0d (patch) | |
tree | 21aab68de7c7a1f44d73b8f2b492f82ad669aa0b /config.py |
initial commit
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.py b/config.py new file mode 100644 index 0000000..6afecd2 --- /dev/null +++ b/config.py @@ -0,0 +1,13 @@ +import logging + +CLIENT_ID = "YOUR_SMART_HOME_NAME" +CLIENT_SECRET = "YOUR_SECRET" +USERS_DIRECTORY = "/home/alice/users" +TOKENS_DIRECTORY = "/home/alice/tokens" +DEVICES_DIRECTORY = "/home/alice/devices" + +# Uncomment to enable logging +#LOG_FILE = "/var/log/alice.log" +#LOG_LEVEL = logging.DEBUG +#LOG_FORMAT = "%(asctime)s %(remote_addr)s %(user)s %(message)s" +#LOG_DATE_FORMAT = "%Y-%m-%d %H:%M:%S" |