-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
113 lines (112 loc) · 2.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
{
"pluginAlias": "HomebridgeRFXComDevices",
"pluginType": "platform",
"singular": true,
"schema": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Homebridge RFXCom Devices"
}
},
"serialport": {
"title": "Serial Port Path",
"type": "string",
"placeholder": "/dev/tty",
"required": true,
"description": "Set the RFXCOM serial port path, like /dev/tty.usbserial-A129KNRC"
},
"devices": {
"type": "array",
"items": {
"title": "Elements",
"type": "object",
"properties": {
"uniqueid": {
"title": "ID",
"type": "string",
"placeholder": "0001",
"required": true,
"description": "Set the device ID to allows Homebridge identify device, it must be unique."
},
"rfid": {
"title": "RF ID",
"type": "string",
"required": true,
"description": "Set the device RF id retrieved with RFX COM Manager."
},
"type": {
"title": "Type",
"type": "string",
"required": true,
"description": "Set the device type, like : button, ..."
},
"name": {
"title": "Name",
"type": "string",
"required": true,
"description": "Set the device ID to allows Homebridge identify device."
},
"manufacturer": {
"name": "Manufacturer",
"type": "string",
"placeholder": "Homebridge",
"default": "Homebridge",
"required": true,
"description": "Set the manufacturer name for display in the Home app."
},
"model": {
"name": "Model",
"type": "string",
"placeholder": "Button",
"default": "RF Button",
"required": true,
"description": "Set the model for display in the Home app."
},
"serialnumber": {
"name": "Serial Number",
"type": "string",
"required": true,
"default": "01020304X",
"placeholder": "SerialNumber",
"description": "Set the serial number for display in the Home app."
},
"firmwarerevision": {
"name": "Firmware Revision",
"type": "string",
"description": "Set the firmware revision for display in the Home app."
},
"entriesid": {
"name": "Entries ID",
"type": "string",
"default": "unitCode",
"description": "Set the entries field ID of button."
},
"entries": {
"title": "Entries",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"placeholder": "Name of entry",
"required": true
},
"buttons": {
"title": "States",
"type": "array",
"uniqueItems": true,
"placeholder": "Values received",
"required": true,
"items": {
"title": "State",
"type": "string"
}
}
}
}
}
}
}
}