-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.schema.json
39 lines (39 loc) · 1.6 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
{
"pluginAlias": "SmartLedStrip",
"pluginType": "accessory",
"headerDisplay": "[RPi](https://www.raspberrypi.org) GPIO based LED Strip plugin for [Homebridge](https://github.com/nfarina/homebridge).",
"footerDisplay": "Raise [Issues](https://github.com/manfredipist/homebridge-gpio-rgb-ledstrip/issues) or submit [Pull Requests](https://github.com/manfredipist/homebridge-gpio-rgb-ledstrip/pulls) on [Project Page](https://github.com/manfredipist/homebridge-gpio-rgb-ledstrip).",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "SmartLedStrip",
"description": "A unique name for the accessory. It will be used as the accessory name in HomeKit."
},
"rPin": {
"title": "Red Pin",
"type": "integer",
"required": true,
"placeholder": 22,
"description": "GPIO pin that is used to set red channel."
},
"gPin": {
"title": "Green Pin",
"type": "integer",
"required": true,
"placeholder": 27,
"description": "GPIO pin that is used to set green channel."
},
"bPin": {
"title": "Blue Pin",
"type": "integer",
"required": true,
"placeholder": 17,
"description": "GPIO pin that is used to set blue channel."
}
}
}
}