-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
24 lines (19 loc) · 887 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Set this to True to enable push notifications.
# I built this to send a POST request to a server that would then send a push notification to my phone.
# For that i only need the PUSH_KEY, the rest is not needed.
# You can edit the main.py to directly send the push notification to your phone.
# For that, see the push_notification.py file.
PUSH_NOTIFICATIONS = False
PUSH_ENDPOINT = None
PUSH_P256DH = None
PUSH_AUTH = None
PUSH_VAPID_PRIVATE_KEY = None
PUSH_EMAIL = None
PUSH_KEY = None
# Configure the sleep hours for the application. The sensor will be put to sleep during these hours.
# The format is "HH:MM" (24-hour format). Set to None to disable sleep mode.
SLEEP_HOURS_START = "23:30"
SLEEP_HOURS_END = "06:30"
# Configure the timezone and location for the data visualization.
# The TIMEZONE should be a string from the IANA Time Zone Database.
TIMEZONE = "Europe/Berlin"