Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/google-assistant-smart-home.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-05-23 18:05:37 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-05-23 18:05:37 +0300
commit9670691c4cb6d5dff706d4fad946835cf8209923 (patch)
treebb088bf5c1535e39be0fe6fcea878542de00f4cf /config.py
initial commit
Diffstat (limited to 'config.py')
-rw-r--r--config.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..63b8def
--- /dev/null
+++ b/config.py
@@ -0,0 +1,14 @@
+import logging
+
+CLIENT_ID = "YOUR_SMART_HOME_NAME"
+CLIENT_SECRET = "YOUR_SECRET"
+API_KEY = "YOUR_API_KEY"
+USERS_DIRECTORY = "/home/google_home/users"
+TOKENS_DIRECTORY = "/home/google_home/tokens"
+DEVICES_DIRECTORY = "/home/google_home/devices"
+
+# Uncomment to enable logging
+#LOG_FILE = "/var/log/google-home.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"