-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
75 lines (75 loc) · 1.76 KB
/
config.json
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
{
"ARCHIVAL": {
"AWS": {
"AWS_ACCESS_KEY_ID": "... AWS key with write access to buckets ...",
"AWS_SECRET_ACCESS_KEY": "... AWS secret key with write access buckets ...",
"AWS_S3_BUCKETS": {
"LOGS": "... s3 logs bucket name ...",
"VIDEOS": "... s3 video bucket name ..."
}
}
},
"CAMERA": {
"MOTION": {
"AUTHENTICATION": {
"USERNAME": "username",
"PASSWORD": "password"
},
"CAMERAS": [
{
"DEVICE": "/dev/video0",
"IMAGE": {
"FRAME_RATE": 5,
"WIDTH": 320,
"HEIGHT": 240,
"AUTO_BRIGHTNESS": "off",
"BRIGHTNESS": 0,
"CONTRAST": 0,
"SATURATION": 0,
"HUE": 0
}
}
],
"DETECTION": {
"THRESHOLD": 1500,
"EVENT_GAP": 60
},
"MOVIES": {
"LOCATE_MOTION_MODE": "on"
},
"SNAPSHOTS": {
"QUALITY": 100
}
}
},
"CHAT": {
"SLACK": {
"SLACK_APP_SIGNING_SECRET": "... secret value from slack to validate bot messages ...",
"SLACK_APP_TOKEN": "... token from slack to allow app to use websockets ...",
"SLACK_BOT_TOKEN": "... token from slack...",
"SLACK_CHANNEL": "... proper name of slack channel ...",
"SLACK_CHANNEL_ID": ".. slack's ID for the channel ..."
}
},
"LOGS": {
"LOGZ_IO": {
"LOGZ_IO_TOKEN": "... logz io's logger token ..."
}
},
"SWITCHES": {
"CONTACT_SWITCHES": [
{
"NAME": "... name and pin-out of a GPIO switch...",
"GPIO": 12
}
]
},
"TEMPERATURE_SENSORS": {
"DHT11": [
{
"NAME": "... name and pin-out of a GPIO with a DHT11 connected ...",
"GPIO": 4
}
]
}
}