-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-sample.inc.php
More file actions
59 lines (57 loc) · 1.5 KB
/
Copy pathconfig-sample.inc.php
File metadata and controls
59 lines (57 loc) · 1.5 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
<?php
$config = array(
# notifications email
'email' => 'notify@example.com',
# camera settings
'username' => 'username',
'password' => 'password',
'protocol' => 'http',
'address' => '192.168.0.1',
'port' => 8080,
# name of PTZ preset to return camera to before arming
# you can find predefined presets by running list-presets.php
'preset' => '5',
# number of pings to use when discovering network device
'ping_count' => 1,
'debug' => true,
# devices which when available will trigger disarmed state
# if none of these are found, camera motion detection will be enabled
'triggers' => (object) array(
array(
'ip' => '192.168.0.2',
'mac' => 'aa:bb:cc:dd:ee:ff'
),
array(
'ip' => '192.168.0.3',
'mac' => 'ff:ee:dd:cc:bb:aa'
)
),
# when disabling motion detection, lock state for
'lock_time' => 10 * 60,
'lock_file' => 'lockfile',
'throttle_dir' => 'throttle',
'unlock_code' => '6969',
'motion_config' => (object) array(
'linkage' => 3,
'snapInterval' => 1,
'sensitivity' => 0,
'triggerInterval' => 0,
'schedule0' => 281474976710655,
'schedule1' => 281474976710655,
'schedule2' => 281474976710655,
'schedule3' => 281474976710655,
'schedule4' => 281474976710655,
'schedule5' => 281474976710654,
'schedule6' => 281474976710655,
'area0' => 1023,
'area1' => 1023,
'area2' => 1023,
'area3' => 1023,
'area4' => 1023,
'area5' => 1023,
'area6' => 1023,
'area7' => 1023,
'area8' => 1023,
'area9' => 1023,
)
);