homebridge-alexa 0.5.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,261 @@
1
+ {
2
+ "pluginAlias": "Alexa",
3
+ "pluginType": "platform",
4
+ "singular": true,
5
+ "headerDisplay": "Allow your Alexa to control your homebridge devices. Prior to setting up the plugin you need to create an account on https://www.homebridge.ca/ to link your Amazon Alexa account with the plugin. This account will be used when you enable the skill in the Alexa App, and in the configuration below.",
6
+ "footerDisplay": "See https://github.com/NorthernMan54/homebridge-alexa for more information and instructions.\n\nHomebridge Alex Skill: https://www.amazon.com/Northern-Man-54-Homebridge/dp/B07B9QMTFQ",
7
+ "schema": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "title": "Name",
12
+ "type": "string",
13
+ "required": true,
14
+ "default": "Alexa",
15
+ "description": "Plugin name as displayed in the Homebridge log"
16
+ },
17
+ "username": {
18
+ "title": "Username",
19
+ "type": "string",
20
+ "required": true,
21
+ "description": "Username for https://www.homebridge.ca/"
22
+ },
23
+ "password": {
24
+ "title": "Password",
25
+ "type": "string",
26
+ "required": true,
27
+ "description": "Password for https://www.homebridge.ca/"
28
+ },
29
+ "pin": {
30
+ "title": "Homebridge Pin",
31
+ "type": "string",
32
+ "placeholder": "031-45-154",
33
+ "description": "This needs to match the Homebridge pin set in your config.json file"
34
+ },
35
+ "routines": {
36
+ "title": " Routines - enables passing to Alexa events from Motion and Contact sensors. For use in the Alexa app to create Routines triggered by these sensors.",
37
+ "type": "boolean",
38
+ "default": false
39
+ },
40
+ "blind": {
41
+ "title": "Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false",
42
+ "type": "boolean",
43
+ "default": false
44
+ },
45
+ "door": {
46
+ "title": "Enables natural wording for opening and closing garage doors. Not supported in all countries. Please note that opening a garage door requires setting a voice pin within the Alexa app. Defaults to false",
47
+ "type": "boolean",
48
+ "default": false
49
+ },
50
+ "debug": {
51
+ "title": " Enable Debug Mode",
52
+ "type": "boolean",
53
+ "default": false
54
+ },
55
+ "refresh": {
56
+ "title": "Refresh Interval",
57
+ "type": "integer",
58
+ "placeholder": "900",
59
+ "description": "Frequency of refreshes of the homebridge accessory cache, in seconds. Defaults to 15 minutes."
60
+ },
61
+ "keepalive": {
62
+ "title": "Cloud Server Connection Keepalive",
63
+ "type": "integer",
64
+ "placeholder": "1200",
65
+ "description": "Frequency of keepalive messages to cloud server, in seconds. Defaults to 20 minutes. Do not change from default unless requested as part of problem investigation."
66
+ },
67
+ "filter": {
68
+ "title": "Instance Filter",
69
+ "type": "string",
70
+ "placeholder": "eg. 192.168.1.122:51826",
71
+ "description": "Limits accessories shared with Alexa to a single homebridge instance.",
72
+ "pattern": "^[^{}/ :\\\\]+(?::\\d+)?$"
73
+ },
74
+
75
+ "deviceListHandling": {
76
+ "title": "How to handle devices in the deviceList",
77
+ "type": "string",
78
+ "required": true,
79
+ "default": "allow",
80
+ "oneOf": [
81
+ {
82
+ "title": "Allow devices",
83
+ "enum": [
84
+ "allow"
85
+ ]
86
+ },
87
+ {
88
+ "title": "Ignore devices",
89
+ "enum": [
90
+ "deny"
91
+ ]
92
+ }
93
+ ]
94
+ },
95
+ "deviceList": {
96
+ "title": "Devices to be allowed or denied",
97
+ "type": "array",
98
+ "items": {
99
+ "type": "string"
100
+ }
101
+ },
102
+ "combine": {
103
+ "type": "array",
104
+ "items": {
105
+ "title": "Combine",
106
+ "type": "object",
107
+ "properties": {
108
+ "into": {
109
+ "title": "Into",
110
+ "type": "string"
111
+ },
112
+ "from": {
113
+ "title": "From",
114
+ "type": "array",
115
+ "items": {
116
+ "type": "string"
117
+ }
118
+ }
119
+ }
120
+ }
121
+ },
122
+ "speakers": {
123
+ "title": "Speakers",
124
+ "type": "array",
125
+ "items": {
126
+ "title": "Speaker",
127
+ "type": "object",
128
+ "properties": {
129
+ "manufacturer": {
130
+ "title": "Manufacturer",
131
+ "type": "string"
132
+ },
133
+ "name": {
134
+ "title": "Name",
135
+ "type": "string"
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ },
142
+ "layout": [
143
+ "name",
144
+ {
145
+ "type": "flex",
146
+ "flex-flow": "row wrap",
147
+ "items": [
148
+ "username",
149
+ {
150
+ "key": "password",
151
+ "type": "password"
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "type": "fieldset",
157
+ "title": "Optional Settings",
158
+ "expandable": true,
159
+ "expanded": false,
160
+ "items": [
161
+ "pin",
162
+ "routines",
163
+ "debug",
164
+ "refresh",
165
+ "filter",
166
+ "deviceListHandling",
167
+ {
168
+ "key": "deviceList",
169
+ "type": "array",
170
+ "items": {
171
+ "title": "DeviceName",
172
+ "description": "Name of the device you want to ignore",
173
+ "type": "string"
174
+ }
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "type": "fieldset",
180
+ "title": "Advanced Settings",
181
+ "expandable": true,
182
+ "expanded": false,
183
+ "items": [
184
+ "keepalive"
185
+ ]
186
+ },
187
+ {
188
+ "type": "fieldset",
189
+ "title": "Speakers",
190
+ "description": "Devices to configure as speakers as HomeKit currently does not have a Speaker service.",
191
+ "expandable": true,
192
+ "expanded": false,
193
+ "items": [
194
+ {
195
+ "notitle": true,
196
+ "key": "speakers",
197
+ "type": "array",
198
+ "items": [
199
+ {
200
+ "type": "div",
201
+ "displayFlex": true,
202
+ "flex-direction": "row",
203
+ "items": [
204
+ {
205
+ "key": "speakers[].manufacturer",
206
+ "flex": "1 1 50px",
207
+ "notitle": true,
208
+ "placeholder": "Manufacturer"
209
+ },
210
+ {
211
+ "key": "speakers[].name",
212
+ "flex": "4 4 200px",
213
+ "notitle": true,
214
+ "placeholder": "Name"
215
+ }
216
+ ]
217
+ }
218
+ ]
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "type": "fieldset",
224
+ "title": "Combine Accessories",
225
+ "description": "Combine disparate accessories into one common device.",
226
+ "expandable": true,
227
+ "expanded": false,
228
+ "items": [
229
+ {
230
+ "notitle": true,
231
+ "key": "combine",
232
+ "type": "array",
233
+ "items": [
234
+ {
235
+ "type": "div",
236
+ "items": [
237
+ {
238
+ "key": "combine[].into",
239
+ "title": "Into",
240
+ "placeholder": "Target Accessory Name"
241
+ },
242
+ {
243
+ "key": "combine[].from",
244
+ "notitle": true,
245
+ "items": [
246
+ {
247
+ "title": "From",
248
+ "key": "combine[].from[]",
249
+
250
+ "placeholder": "Source Accessory Name"
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ }
256
+ ]
257
+ }
258
+ ]
259
+ }
260
+ ]
261
+ }