-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
89 lines (63 loc) · 2.2 KB
/
config.py
File metadata and controls
89 lines (63 loc) · 2.2 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# This device has 3 primary functions it can be used for:
# - Video Recording
# - Temperature Logging
# - Lighting the Chamber
TIME_BETWEEN_LOOP_ITERATIONS = 885 # Seconds between checks for feature activation (not including the length of the video recording)
##############################
##############################
##### #####
##### VIDEO SETUP #####
##### #####
##############################
##############################
VIDEO_RECORDING_ON = True
FILENAME_PREFIX = "Mars_5" # Do NOT include spaces in the name.
CAMERA_RECORDING_TIME = 15
DIRECTORY_NAME_PREFIX = FILENAME_PREFIX
SAVE_DIRECTORY_PATH = "/home/pidgey/printer_camera/recordings/"
LIGHTING_ON = True
LIGHT_ALWAYS_ON = True
#https://datasheets.raspberrypi.com/camera/picamera2-manual.pdf
##############################
##############################
##### #####
##### Temp #####
##### #####
##############################
##############################
TEMPERATURE_LOGGING_ON = True
TEMP_LOG_TIME = 300
##############################
##############################
##### #####
##### LOGS #####
##### #####
##############################
##############################
LOG_DIRECTORY_PATH = "/home/pidgey/printer_camera/logs"
##############################
##############################
##### #####
##### CAMERA #####
##### #####
##############################
##############################
SINGLE_RECORDING_TIME = 5
LIGHT_PIN_1 = 17
LIGHT_PIN_2 = 26
DISABLE_CAMERA = True
##############################
##############################
##### #####
##### PULL FILES #####
##### #####
##############################
##############################
REMOTE_HOST = "192.168.0.222"
PI_USERNAME = "pidgey"
WIN_USERNAME = "David"
REMOTE_PATH_PHOTO = f"/home/{PI_USERNAME}/printer_camera/logs/"
REMOTE_PATH_VIDEO = None
#REMOTE_PATH_PHOTO = f"/home/{PI_USERNAME}/printer_camera/photos/"
#REMOTE_PATH_VIDEO = f"/home/{PI_USERNAME}/printer_camera/recordings/"
LOCAL_PATH = f"C:/Users/{WIN_USERNAME}/Downloads"