-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
117 lines (117 loc) · 3.71 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"pluginAlias": "BlaQHomebridgePlugin",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Homebridge BlaQ",
"placeholder": "Homebridge BlaQ",
"required": true
},
"devices": {
"title": "Manually Configured Garage Doors:",
"description": "Use this section to manually add devices if auto-discovery doesn't work",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"title": "Display Name",
"description": "Display name for this device",
"type": "string",
"default": "Garage Door",
"minLength": 1,
"required": true
},
"host": {
"title": "Host",
"description": "BlaQ Host IP/Name",
"type": "string",
"format": "hostname",
"required": true
},
"port": {
"title": "Port",
"description": "Port number the service is running on",
"type": "number",
"default": 80,
"multipleOf": 1,
"required": true
},
"mac": {
"title": "(Optional) Mac Address",
"description": "Mac address of the device - for use auto reconnecting if the IP changes",
"type": "string",
"required": false,
"pattern": "^([A-F0-9]{2}:){5}[A-F0-9]{2}$",
"placeholder": "00:00:00:00:00:00"
},
"username": {
"title": "(Optional) Username",
"description": "Username to access the Native API",
"type": "string",
"required": false,
"placeholder": "abc123"
},
"password": {
"title": "(Optional) Password",
"description": "Password to access the Native API",
"type": "string",
"required": false,
"placeholder": "xyz456"
}
}
}
},
"enableNativeAPIHeartbeat": {
"title": "Prevent random restarts by performing a heartbeat on the Native API",
"type": "boolean",
"default": true
},
"garageDoorType": {
"title": "Enable publishing a separate \"occupancy\" obstruction sensor for the garage",
"type": "string",
"default": "garage",
"oneOf": [
{ "title": "Garage Door", "enum": ["garage"] },
{ "title": "Window Covering (allows positional control)", "enum": ["cover"] }
],
"required": true
},
"enableSeparateObstructionSensor": {
"title": "Enable publishing a separate \"occupancy\" obstruction sensor for the garage",
"type": "boolean",
"default": true
},
"enableMotionSensor": {
"title": "Enable publishing a motion sensor",
"type": "boolean",
"default": true
},
"enablePreCloseWarning": {
"title": "Publish an \"outlet\" accessory to trigger the ple-close warning",
"type": "boolean",
"default": true
},
"enableLockRemotes": {
"title": "Enable lock control over the remotes",
"type": "boolean",
"default": true
},
"enableLight": {
"title": "Enable controlling the garage light",
"type": "boolean",
"default": true
},
"enableLearnMode": {
"title": "Enable controlling the garage learn/pairing mode",
"type": "boolean",
"default": true
}
}
}
}