forked from Woodsnaps/homebridge-reolink-siren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
71 lines (71 loc) · 2.09 KB
/
config.schema.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
{
"pluginAlias": "ReolinkSiren",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Reolink Siren & Light through Nvr",
"type": "string",
"default": "Reolink Siren & Light"
},
"cameras": {
"type": "array",
"items": {
"title": "Camera",
"type": "object",
"description": "WARNING: If you make any changes to a config AFTER you connected your bridge to Homekit, please remove the Childbridge from Homekit and re-add it, otherwise the changes will not take effect",
"properties": {
"name": {
"title": "Name",
"type": "string",
"placeholder": "Enter camera name...",
"required": true
},
"ip": {
"title": "IP",
"type": "string",
"default": "192.168.4.X",
"placeholder": "Enter camera ip...",
"required": true
},
"user": {
"title": "User",
"type": "string",
"default": "admin",
"placeholder": "Enter camera user...",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"placeholder": "Enter camera password...",
"required": true
},
"channel": {
"title": "Channel of the camera",
"type": "number",
"default": 0
},
"time": {
"title": "Siren buzzing time in minutes",
"type": "number",
"default": 1
},
"exposeSirenToHomeKit": {
"title": "Expose Siren to HomeKit",
"type": "boolean",
"default": false
},
"exposeLightToHomeKit": {
"title": "Expose Light to HomeKit",
"type": "boolean",
"default": false
}
}
}
}
}
}
}