This repository has been archived by the owner on May 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
/
config.schema.json
46 lines (46 loc) · 2.02 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
{
"pluginAlias": "SmartThings",
"pluginType": "platform",
"singular": true,
"footerDisplay": "For help/issues [issues](https://github.com/tonesto7/homebridge-smartthings/issues).",
"schema": {
"name": {
"title": "Name",
"description": "This should default to SmartThings",
"type": "string",
"default": "SmartThings",
"required": true
},
"app_url": {
"title": "App Url",
"description": "To get this information, open Homebridge (SmartThings) SmartApp in your SmartThings Classic Mobile App, and tap on 'View Configuration Data for Homebridge'",
"type": "string",
"required": true
},
"app_id": {
"title": "App ID",
"description": "To get this information, open Homebridge (SmartThings) SmartApp in your SmartThings Classic Mobile App, and tap on 'View Configuration Data for Homebridge'",
"type": "string",
"required": true
},
"access_token": {
"title": "App Token",
"description": "To get this information, open Homebridge (SmartThings) SmartApp in your SmartThings Classic Mobile App, and tap on 'View Configuration Data for Homebridge'",
"type": "string",
"required": true
},
"direct_ip": {
"title": "Direct IP",
"description": "Most installations won't need this, but if for any reason it can't identify your ip address correctly, use this setting to force the IP presented to SmartThings for the hub to send to.",
"type": "string",
"required": false
},
"direct_port": {
"title": "Direct Port",
"description": "This is the port that the plugin will listen on for traffic from your hub. Make sure your firewall allows incoming traffic on this port from your hub's IP address.",
"type": "integer",
"maximum": 65535,
"required": false
}
}
}