-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVarLibrary.ps1
61 lines (51 loc) · 1.87 KB
/
VarLibrary.ps1
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
#BlackVue Downloader Variables
#No Trailing \ in Path
$script:DCROOT_FOLDER = "C:\PathToBlackVue"
$script:DC_CAR1 = "CAR1-NAME"
$script:DC_IP_1 = "xxx.xxx.xxx.xxx"
$script:IP_1_PATH = "Record"
$script:DC_CAR2 = "CAR2-NAME"
$script:DC_IP_2 = "0"
$script:IP_2_Path = "CAR2-FOLDER"
$script:DC_CAR3 = "CAR3-NAME"
$script:DC_IP_3 = "0"
$script:IP_3_Path = "CAR3-FOLDER"
$script:DC_CAR4 = "CAR4-NAME"
$script:DC_IP_4 = "0"
$script:IP_4_Path = "CAR4-NAME"
$script:DC_CAR5 = "CAR5-NAME"
$script:DC_IP_5 = "0"
$script:IP_5_Path = "CAR5-FOLDER"
#Tesla_DashCam Variables
$Global:hostname = 'teslausb' #PiZero Hostname
#No Trailing \ in Path
$Global:SentryClips = '\\teslausbshare\SentryClips'
$Global:SavedClips = '\\teslausbshare\SavedClips'
$Global:TeslaTrackModeClips = '\\teslausbshare\TeslaTrackMode'
$Global:outputFolder = '\\teslausbshare\Stitched'
#$Global:usbname = 'pi' #No Longer Used, trigger files required
#$Global:usbpw = $null #No Longer Used, trigger files required
#Additional commandline modification available on line 73: StichTeslaCam.ps1
$Global:quality = 'HIGH'
$Global:layout = 'DIAMOND'
$Global:encoding = 'x265'
$Global:speedup = '2'
#Trigger Files
$Global:trigger_file_saved='ARCHIVE_UPLOADED.txt'
$Global:trigger_file_sentry='ARCHIVE_UPLOADED.txt'
#$Global:trigger_file_track='ARCHIVE_UPLOADED.txt' #Placeholder for once it's added
#Cleanup Variables
$Global:retDays = 60 #number of days of files to keep
#File Logging
$Global:file_log_enabled = $true #set to $false to disable all file logging
$Global:VerboseLogging = $true #set to $false to only log verbose entries, ignored if file_log_enabled is $false
$Global:MaxLogSizeInKB = 5120
#Pushover
#Use $false or $true
$Global:pushover_enabled=$false
$Global:pushover_user_key="your user key"
$Global:pushover_app_key="your app key"
#IFTTT
$Global:ifttt_enabled=$false
$Global:ifttt_event="tesla_wrappers"
$Global:ifttt_key="your ifttt key"