forked from codetwice/homebridge-http-securitysystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-config.json
More file actions
31 lines (29 loc) · 1.04 KB
/
sample-config.json
File metadata and controls
31 lines (29 loc) · 1.04 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
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"accessories": [
{
"accessory": "Http-SecuritySystem",
"name": "Home security",
"auth": {
"username": "",
"password": "",
"immediately": false
},
"http_method": "POST",
"urls": {
"stay": { "url": "http://localhost:1880/alarm/arm", "body": "stay" },
"away": { "url": "http://localhost:1880/alarm/arm", "body": "away" },
"night": { "url": "http://localhost:1880/alarm/arm", "body": "night" },
"disarm": { "url": "http://localhost:1880/alarm/disarm", "body": "" },
"readCurrentState": { "url": "http://localhost:1880/alarm/check", "body": "" },
"readTargetState": { "url": "http://localhost:1880/alarm/check", "body": "" }
}
}
]
}