-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.ini
29 lines (25 loc) · 1.11 KB
/
config.ini
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
[General]
# How long the script will wait before checking the health of the live view page
# Don't recommend reducing this number too much unless you're troubleshooting
SLEEP_TIME = 300
# How long the script will wait for elements to appear
# This include loading the page, waiting for the cameras to load waiting for buttons before clicking them, etc
# This is the max time before it throws an error.
WAIT_TIME = 30
# Amount of retries the script will attempt of launching chrome, or handling
# different kinds of errors with the cameras not loading correctly.
MAX_RETRIES = 5
[Logging]
# Put False if you don't want a specific kind of logging.
# By default, it will log in the console and a logfile, but you can toggle it off
LOG_FILE = True
LOG_CONSOLE = True
# Default location of logfile is home directory.
# LOG_FILE_PATH = /home/alejandro/Documents
[API]
# The API is something I made for myself. It allows me to remotely monitor
# The status of the webpage, as well as giving me the script and system
# uptime. It's turned off by default.
USE_API = False
# Example of custom directory
# API_FILE_PATH = /home/alejandro/Documents