forked from MrTomAsh/homebridge-ewelink
-
Notifications
You must be signed in to change notification settings - Fork 46
/
platform.config.schema
48 lines (47 loc) · 1.78 KB
/
platform.config.schema
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
{
"plugin_alias": "EweLink Max",
"schema": {
"type": "object",
"properties": {
"platform": {
"title": "Platform",
"type": "string",
"const": "eWeLink",
"readOnly": true
},
"name": {
"title": "Name",
"type": "string",
"const": "eWeLink",
"readOnly": true
},
"countryCode": {
"title": "The country code of your ewelink account without + prefix, see [list of country codes on Wikipedia](https://en.wikipedia.org/wiki/List_of_country_calling_codes)",
"type": "string"
},
"phoneNumber": {
"title": "The login phone number of your ewelink account, do not include this if you login with email",
"type": "string"
},
"email": {
"title": "The login email of your ewelink account, do not include this if you login with phone number",
"type": "string"
},
"password": {
"title": "Your ewelink account login password",
"type": "string"
},
"imei": {
"title": "This can be any valid UUID, get one with an [online generator](https://www.famkruithof.net/uuid/uuidgen?numReq=1&typeReq=4&uppercaseReq=true)",
"type": "string"
},
"groups": {
"title": "You can group channels of multi-switch model to simulate another accessory instead of having each switch separately.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}