-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.schema.json
215 lines (215 loc) · 6.27 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"pluginAlias": "DeebotEcovacs",
"pluginType": "platform",
"singular": false,
"headerDisplay": "This plugin is provided by [nicoduj](https://github.com/nicoduj/)",
"footerDisplay": "Support via [paypal](https://www.paypal.me/nicoduj/).",
"schema": {
"type": "object",
"required": ["email", "password", "countryCode"],
"properties": {
"email": {
"title": "EcoVacs account user name",
"type": "string"
},
"password": {
"title": "EcoVacs account password",
"type": "string"
},
"countryCode": {
"title": "Select your country code where you are located. This is based off of your public IP address.",
"type": "string",
"oneOf": [
{
"title": "China (CN)",
"enum": ["CN"]
},
{
"title": "Taiwan (TW)",
"enum": ["TW"]
},
{
"title": "Malaysia (MY)",
"enum": ["MY"]
},
{
"title": "Japan (JP)",
"enum": ["JP"]
},
{
"title": "Singapore (SG)",
"enum": ["SG"]
},
{
"title": "Thailand (TH)",
"enum": ["TH"]
},
{
"title": "Hong Kong (HK)",
"enum": ["HK"]
},
{
"title": "India (IN)",
"enum": ["IN"]
},
{
"title": "South Korea (KR)",
"enum": ["KR"]
},
{
"title": "United States (US)",
"enum": ["US"]
},
{
"title": "France (FR)",
"enum": ["FR"]
},
{
"title": "Spain (ES)",
"enum": ["ES"]
},
{
"title": "United Kingdom (UK)",
"enum": ["UK"]
},
{
"title": "Norway (NO)",
"enum": ["NO"]
},
{
"title": "Switzerland (CH)",
"enum": ["CH"]
},
{
"title": "Mexico (MX)",
"enum": ["MX"]
},
{
"title": "Germany (DE)",
"enum": ["DE"]
},
{
"title": "Portugal (PT)",
"enum": ["PT"]
},
{
"title": "Australia (AU)",
"enum": ["AU"]
},
{
"title": "Italy (IT)",
"enum": ["IT"]
},
{
"title": "Netherlands (NL)",
"enum": ["NL"]
},
{
"title": "Sweden (SE)",
"enum": ["SE"]
},
{
"title": "Belgium (BE)",
"enum": ["BE"]
},
{
"title": "Denmark (DK)",
"enum": ["DK"]
},
{
"title": "OTHER",
"enum": ["OTHER"]
}
]
},
"deebotNames": {
"title": "Name of the deebot to publish",
"type": "array",
"items": {
"title": "NickName of the deebot you want to add. ",
"type": "string"
}
},
"refreshTimer": {
"title": "Refresh timer",
"type": "integer",
"default": 0,
"minimum": 30,
"maximum": 600,
"description": "Enables refresh of Deebot's state every X number of seconds. This may be useful for automation purposes if you'd like another HomeKit event to occur based on a state change of a Deebot. Be aware that setting this too often might make your Deebot 'smoke' since the plugin will ask its status very often. :)"
},
"publishBipSwitch": {
"title": "Publish Sound Switch",
"type": "boolean",
"default": true,
"description": "Turn your Deebot notification sounds on or off."
},
"publishSwitch": {
"title": "Publish On/Off Switch",
"type": "boolean",
"default": true,
"description": "Turn your Deebot on or off."
},
"publishFan": {
"title": "Publish Fan Switch",
"type": "boolean",
"default": true,
"description": "Sets the suction power of your Deebot. 0 to 50% = Normal, 51% to 100% = Maximum"
},
"publishMotionDetector": {
"title": "Publish Motion detector",
"type": "boolean",
"default": true,
"description": "Provides trouble notifications for your Deebot as a motion alert."
},
"publishAutoSwitch": {
"title": "Publish Auto Cleaning Switch",
"type": "boolean",
"default": true,
"description": "Start cleaning in auto mode"
},
"publishEdgeSwitch": {
"title": "Publish Edge Cleaning Switch",
"type": "boolean",
"default": true,
"description": "Start cleaning in edge mode"
},
"publishSpotSwitch": {
"title": "Publish Spot Cleaning Switch",
"type": "boolean",
"default": true,
"description": "Start cleaning in spot mode"
},
"publishSpotAreaSwitches": {
"title": "Publish SpotArea Cleaning Switchs",
"type": "array",
"items": {
"title": "SpotArea numbers (comma separated. 1 or 1,2 or deebotName|1 or deebotName2|1,2 if you have multiple deebots). Use /Kitchen for exemple if you want to give it a name.",
"type": "string"
}
},
"publishCustomAreaSwitches": {
"title": "Publish CustomArea Cleaning Switchs",
"type": "array",
"items": {
"title": "CustomArea coordinates (comma separated. Must be something like x1,y1,x2,y2 or deebotName|x1,y1,x2,y2 if you have multiple deebots). Use /Kitchen for exemple if you want to give it a name.",
"type": "string"
}
},
"publishAreaSwitchesAsSeparateDevices": {
"title": "Publish Area Switches as separate devices",
"type": "boolean",
"default": false,
"description": "Publish Custom / Spot switches as indiviual accessories so that you can move them in other rooms"
},
"showInfoLogs": {
"title": "Show info logs",
"type": "boolean",
"default": false,
"description": "Log info for maps, custom areas and so on"
}
}
},
"form": null,
"display": null
}