-
Notifications
You must be signed in to change notification settings - Fork 0
/
config[TEMPLATE].yaml
30 lines (25 loc) · 1004 Bytes
/
config[TEMPLATE].yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# wired, wireless, any: connection type you want the program to check for internet connectivity
connection type: any
# Provide time in 24hr format
night phase:
start time: 23:20
end time: 23:40
# this timeout will be used as the frequency to check internet connectivity
timeout: 7 # seconds
morning phase:
start time: 8:30
end time: 10:30
# this timeout will be used as the frequency to check internet connectivity
timeout: 300 # seconds
# This timeout will be used to change the default timeout.
timeout: 90
# connectivity function *optional, by default uses v2
connectivity_method: 'v2' # one of 'v2', 'v3', 'v2+v3'
# If this key is present, program's thread would periodically wake up, check phases again and set a backup wake timer
# of this interval (or less).
sleep_interval: 1800 # seconds
logging level: 10 # 10 for DEBUG, 20 for INFO, 30 for WARNING, 40 for ERROR, 50 for CRITICAL logging level
# Optional
telegram:
BOT_TOKEN: YOUR TOKEN HERE
CHAT_ID: YOUR CHAT ID HERE