-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
52 lines (52 loc) · 1.49 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
{
"pluginAlias": "MagicHomeSync",
"pluginType": "accessory",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Magic Home Sync",
"description": "A unique name for the accessory, default is Magic Home Sync"
},
"host_ip": {
"title": "Host IP",
"type": "string",
"required": true,
"description": "The IP address of the host display that is running the sync progam."
},
"host_port": {
"title": "Port",
"type": "integer",
"placeholder": "6006",
"default": 6006,
"required": true,
"description": "The host display port, default is 6006."
},
"light_ip": {
"title": "Light IP",
"type": "string",
"required": true,
"description": "The IP address of the light to be synced with the host."
},
"light_type": {
"title": "Light type",
"type": "string",
"placeholder": "RGBW",
"default": "RGBW",
"required": true,
"description": "The Magic Home device type, being either RGB, RGBW or RGBWW, default is RGBW."
},
"polling_interval": {
"title": "Polling Interval",
"type": "integer",
"placeholder": "1",
"default": 1,
"required": true,
"description": "Interval in seconds that the lights are updated in, default is 1."
}
}
}
}