-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
93 lines (93 loc) · 2.24 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"ip": "127.0.0.1",
"port": "4025",
"password": "SECRET",
"zones": {
"001": "Front Door",
"002": "Garage Door",
"003": "Back Door",
"004": "Living Room Window",
"005": "Kitchen Window",
"006": "Family Room Window",
"007": "Basement Window",
"008": "Motion Sensor"
},
"partitions": {
"1": "Main"
},
"logging": [
{
"name": "console",
"type": "console",
"level": "DEBUG"
}
],
"heartbeats": [
{
"name": "primary",
"device_id": "1",
"device_uuid": "uuid",
"interval": "60",
"url": "http://localhost:3000/api/devices",
"auth_token": "SECRET"
}
],
"listeners": [
{
"name": "http",
"type": "http",
"settings": {
"port": "5204",
"auth_token": "SECRET"
}
}
],
"storage": [
{
"name": "memory",
"type": "memory",
"settings": {
"maxSize": "100"
}
}
],
"notifiers": [
{
"name": "console",
"type": "console",
"priority": "Low"
},
{
"name": "mimir",
"type": "mimir",
"priority": "Low",
"settings": {
"auth_token": "auth token",
"device_uuid": "uuid",
"url": "http://localhost:3000/api/events"
}
},
{
"name": "sms",
"type": "sms",
"priority": "High",
"settings": {
"sid": "twilio account SID",
"authToken": "twilio auth token",
"sender": "+15555555555",
"recipient": "+15555555555"
}
},
{
"name": "email",
"type": "email",
"priority": "High",
"settings": {
"subject": "EvlDaemon Alert!",
"sender": "sender@example.com",
"recipient": "recipient@example.com",
"apiKey": "sendgrid API key"
}
}
]
}