homebridge-alexa 0.5.63 → 0.6.1

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).
4
4
 
5
+ ## 0.6.0 (2023-01-03)
6
+
7
+ ## [Version 0.6.0](https://github.com/northernman54/homebridge-alexa/compare/v0.5.63...v0.6.0)
8
+
9
+ #### Changes
10
+
11
+ - Added additional debug logging to easily determine child bridge address to aid Homebridge Accessory Dumps
12
+ - Updates to hap-node-client to better support usage of ipv6 and removal of request dependancy
13
+ - Update to gh-md-toc ( generates TOC for README )
14
+ - Merge current beta functionality into main code base
15
+ - Enable ability to change cloud transport `CloudTransport`, to provide improved connectivity in some setups. Previously these had been available in the beta.
16
+ - Removed the Alexa contact sensor ( which shows the status of the connection to the cloud servers ) from the list of devices passed to Alexa.
17
+ - Updated and simplified the Homebridge-UI plugin settings menu for homebridge-alexa
18
+
5
19
  ## 0.5.63 (2022-04-27)
6
20
 
7
21
  ## [Version 0.5.63](https://github.com/northernman54/homebridge-alexa/compare/v0.5.61...v0.5.63)
package/Installation.md CHANGED
@@ -2,49 +2,56 @@ Installation and Configuration of Homebridge Alexa
2
2
  ==================================================
3
3
 
4
4
  <!--ts-->
5
- * [Installation and Configuration of Homebridge Alexa](#installation-and-configuration-of-homebridge-alexa)
6
- * [Setup Instructions for users of the Homebridge UI](#setup-instructions-for-users-of-the-homebridge-ui)
7
- * [Create Homebridge-Alexa Cloud Services Account](#create-homebridge-alexa-cloud-services-account)
8
- * [Install and Configure the Plugin](#install-and-configure-the-plugin)
9
- * [Installation in Homebridge UI](#installation-in-homebridge-ui)
10
- * [Configuration in Homebridge UI](#configuration-in-homebridge-ui)
11
- * [Enabling and linking the Homebridge Smart Home Skill](#enabling-and-linking-the-homebridge-smart-home-skill)
12
- * [Viewing Account Status](#viewing-account-status)
13
- * [Legacy Setup Instructions for users not using the Homebridge UI, includes advanced configuration options](#legacy-setup-instructions-for-users-not-using-the-homebridge-ui-includes-advanced-configuration-options)
14
- * [Prepare Homebridge for plugin installation](#prepare-homebridge-for-plugin-installation)
15
- * [Install Plugin](#install-plugin)
16
- * [Create homebridge-alexa account](#create-homebridge-alexa-account)
17
- * [HomeBridge-alexa plugin configuration](#homebridge-alexa-plugin-configuration)
18
- * [Required parameters](#required-parameters)
19
- * [Optional parameters](#optional-parameters)
20
- * [pin](#pin)
21
- * [routines](#routines)
22
- * [blind](#blind)
23
- * [door](#door)
24
- * [debug](#debug)
25
- * [refresh](#refresh)
26
- * [filter](#filter)
27
- * [deviceList &amp; deviceListHandling](#devicelist--devicelisthandling)
28
- * [combine](#combine)
29
- * [speakers](#speakers)
30
- * [Inputs](#inputs)
31
- * [Apple TV](#apple-tv)
32
- * [Yamaha Spotify Controls](#yamaha-spotify-controls)
33
- * [New Parser](#new-parser)
34
- * [Initial Testing and confirming configuration](#initial-testing-and-confirming-configuration)
35
- * [Enable Homebridge smarthome skill and link accounts](#enable-homebridge-smarthome-skill-and-link-accounts)
36
- * [Discover Devices](#discover-devices)
37
-
38
- <!-- Added by: sgracey, at: -->
5
+ * [Installation and Configuration of Homebridge Alexa](#installation-and-configuration-of-homebridge-alexa)
6
+ * [Setup Instructions](#setup-instructions)
7
+ * [Create Homebridge-Alexa Cloud Services Account](#create-homebridge-alexa-cloud-services-account)
8
+ * [Install and Configure the Plugin](#install-and-configure-the-plugin)
9
+ * [Installation in Homebridge UI](#installation-in-homebridge-ui)
10
+ * [Configuration in Homebridge UI](#configuration-in-homebridge-ui)
11
+ * [Enabling and linking the Homebridge Smart Home Skill](#enabling-and-linking-the-homebridge-smart-home-skill)
12
+ * [Viewing Account Status](#viewing-account-status)
13
+ * [Advanced Setup Instructions, including advanced configuration options](#advanced-setup-instructions-including-advanced-configuration-options)
14
+ * [Prepare Homebridge for plugin installation](#prepare-homebridge-for-plugin-installation)
15
+ * [Install Plugin](#install-plugin)
16
+ * [Create homebridge-alexa account](#create-homebridge-alexa-account)
17
+ * [HomeBridge-alexa plugin configuration](#homebridge-alexa-plugin-configuration)
18
+ * [Required Settings](#required-settings)
19
+ * [Optional Settings](#optional-settings)
20
+ * [debug](#debug)
21
+ * [pin](#pin)
22
+ * [routines](#routines)
23
+ * [deviceList &amp; deviceListHandling - Filtering of devices by name, either allow or allow](#devicelist--devicelisthandling---filtering-of-devices-by-name-either-allow-or-allow)
24
+ * [Advanced Settings](#advanced-settings)
25
+ * [CloudTransport - Cloud Server Connection Transport](#cloudtransport---cloud-server-connection-transport)
26
+ * [keepalive - Cloud Server Connection Keepalive](#keepalive---cloud-server-connection-keepalive)
27
+ * [refresh - Accessory Cache Refresh Interval](#refresh---accessory-cache-refresh-interval)
28
+ * [filter - Homebridge Instance Filter](#filter---homebridge-instance-filter)
29
+ * [blind](#blind)
30
+ * [door](#door)
31
+ * [Speaker Settings](#speaker-settings)
32
+ * [speakers](#speakers)
33
+ * [Combine Accessories](#combine-accessories)
34
+ * [combine](#combine)
35
+ * [Inputs](#inputs)
36
+ * [Apple TV](#apple-tv)
37
+ * [Yamaha Spotify Controls](#yamaha-spotify-controls)
38
+ * [Initial Testing and confirming configuration](#initial-testing-and-confirming-configuration)
39
+ * [Enable Homebridge smarthome skill and link accounts](#enable-homebridge-smarthome-skill-and-link-accounts)
40
+ * [Discover Devices](#discover-devices)
41
+
42
+ <!-- Created by https://github.com/ekalinin/github-markdown-toc -->
43
+ <!-- Added by: sgracey, at: Tue 3 Jan 2023 10:42:40 EST -->
39
44
 
40
45
  <!--te-->
41
46
 
42
- # Setup Instructions for users of the Homebridge UI
47
+ # Setup Instructions
43
48
 
44
49
  ## Create Homebridge-Alexa Cloud Services Account
45
50
 
46
51
  This plugin requires the usage of cloud services to link your Amazon Alexa Account to the plugin. Please create an account at https://www.homebridge.ca/. The account details will be needed as part of plugin configuration and for linking the Homebridge smart home skill.
47
52
 
53
+ Please ensure that you validate the email address you entered. And the username and passwords are case sensitive.
54
+
48
55
  ## Install and Configure the Plugin
49
56
 
50
57
  ### Installation in Homebridge UI
@@ -67,7 +74,7 @@ In the Amazon Alexa Application on your smart phone, search for the Homebridge S
67
74
 
68
75
  On the homebridge.ca website you can view your account status, and identify any setup issues.
69
76
 
70
- # Legacy Setup Instructions for users not using the Homebridge UI, includes advanced configuration options
77
+ # Advanced Setup Instructions, including advanced configuration options
71
78
 
72
79
  * If you are looking for a basic setup to get this plugin up and running check out this guide (https://sambrooks.net/controlling-homebridge-using-alexa/). And here is another setup guide (https://www.youtube.com/watch?v=Ylg4yiw8ofM).
73
80
 
@@ -160,12 +167,28 @@ sudo npm install -g homebridge-alexa
160
167
  ],
161
168
  ```
162
169
 
163
- ### Required parameters
170
+ ### Required Settings
164
171
 
172
+ * name - Plugin name as displayed in the Homebridge log
165
173
  * username - Login created for the skill linking website https://www.homebridge.ca/
166
174
  * password - Login created for the skill linking website https://www.homebridge.ca/
167
175
 
168
- ### Optional parameters
176
+ ### Optional Settings
177
+
178
+ #### debug
179
+ - This enables debug logging mode, can be used instead of the command line option ( DEBUG=* homebridge )
180
+
181
+ ```
182
+ "platforms": [
183
+ {
184
+ "platform": "Alexa",
185
+ "name": "Alexa",
186
+ "username": "....",
187
+ "password": "....",
188
+ "debug": true
189
+ }
190
+ ],
191
+ ```
169
192
 
170
193
  #### pin
171
194
  - If you had changed your homebridge pin from the default of "pin": "031-45-154" ie
@@ -183,7 +206,7 @@ sudo npm install -g homebridge-alexa
183
206
  ```
184
207
 
185
208
  #### routines
186
- - Enables passing to Alexa of real time events from Motion and Contact sensors. For use in the Alexa app to create Routines triggered by these sensors. Not required unless you are using Alexa Routines.
209
+ - Enables passing to Alexa of real time events from Motion and Contact sensors. For use in the Alexa app to create Routines triggered by these sensors. Not required unless you are using Alexa Routines triggered by Homebridge devices.
187
210
 
188
211
  ```
189
212
  "platforms": [
@@ -197,23 +220,32 @@ sudo npm install -g homebridge-alexa
197
220
  ],
198
221
  ```
199
222
 
200
- #### blind
201
- - Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false
223
+ #### deviceList & deviceListHandling - Filtering of devices by name, either allow or allow
224
+ - allow or deny devices by name to be exposed to alexa. Values are checked to see if they are contained within the name. ( Under the covers it is using regex, so more complex options are available )
202
225
 
203
226
  ```
204
227
  "platforms": [
205
228
  {
206
- "platform": "Alexa",
207
- "name": "Alexa",
208
- "username": "....",
209
- "password": "....",
210
- "blind": true
229
+ "platform": "Alexa",
230
+ "name": "Alexa",
231
+ "username": "....",
232
+ "password": "....",
233
+ "deviceListHandling": "deny", // or allow
234
+ "deviceList":
235
+ [
236
+ "LightBulb",
237
+ "GarageDoor",
238
+ "SecureDevice"
239
+ ]
211
240
  }
212
241
  ],
213
242
  ```
214
243
 
215
- #### door
216
- - 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
244
+ ### Advanced Settings
245
+
246
+ #### CloudTransport - Cloud Server Connection Transport
247
+
248
+ - Transport options for cloud server connection. MQTTS - this is the recommended setting. MQTT - this is the original/legacy option. WSS - this is the an alternative transport option.
217
249
 
218
250
  ```
219
251
  "platforms": [
@@ -222,13 +254,14 @@ sudo npm install -g homebridge-alexa
222
254
  "name": "Alexa",
223
255
  "username": "....",
224
256
  "password": "....",
225
- "door": true
257
+ "CloudTransport": "mqtts"
226
258
  }
227
259
  ],
228
260
  ```
229
261
 
230
- #### debug
231
- - This enables debug logging mode, can be used instead of the command line option ( DEBUG=* homebridge )
262
+ #### keepalive - Cloud Server Connection Keepalive
263
+
264
+ - Frequency of keepalive messages to cloud server, in minutes. Defaults to 5 minutes. Do not change from default unless requested as part of problem investigation.
232
265
 
233
266
  ```
234
267
  "platforms": [
@@ -237,13 +270,14 @@ sudo npm install -g homebridge-alexa
237
270
  "name": "Alexa",
238
271
  "username": "....",
239
272
  "password": "....",
240
- "debug": true
273
+ "keepalive": 5
241
274
  }
242
275
  ],
243
276
  ```
244
277
 
245
- #### refresh
246
- - Frequency of refreshes of the homebridge accessory cache, in seconds. Defaults to 15 minutes.
278
+ #### refresh - Accessory Cache Refresh Interval
279
+
280
+ - Frequency of refreshes of the homebridge accessory cache, in seconds. Defaults to 900 Seconds ( 15 minutes ). This is the interval before new devices/homebridge instances are discovered. This should never require changing, unless you are frequently changing your homebridge configuration without restarting the plugin.
247
281
 
248
282
  ```
249
283
  "platforms": [
@@ -257,7 +291,7 @@ sudo npm install -g homebridge-alexa
257
291
  ],
258
292
  ```
259
293
 
260
- #### filter
294
+ #### filter - Homebridge Instance Filter
261
295
  - Limits accessories shared with Alexa to a single homebridge instance. ( I'm using this setting with Amazon for skill testing. ). The setting is ip:port of homebridge instance.
262
296
 
263
297
  ```
@@ -272,29 +306,23 @@ sudo npm install -g homebridge-alexa
272
306
  ],
273
307
  ```
274
308
 
275
- #### deviceList & deviceListHandling
276
- - allow or deny devices by name to be exposed to alexa. Values are checked to see if they are contained within the name. ( Under the covers it is using regex, so more complex options are available )
309
+ #### blind
310
+ - Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false
277
311
 
278
312
  ```
279
313
  "platforms": [
280
314
  {
281
- "platform": "Alexa",
282
- "name": "Alexa",
283
- "username": "....",
284
- "password": "....",
285
- "deviceListHandling": "deny", // or allow
286
- "deviceList":
287
- [
288
- "LightBulb",
289
- "GarageDoor",
290
- "SecureDevice"
291
- ]
315
+ "platform": "Alexa",
316
+ "name": "Alexa",
317
+ "username": "....",
318
+ "password": "....",
319
+ "blind": true
292
320
  }
293
321
  ],
294
322
  ```
295
323
 
296
- #### combine
297
- - Combine disparate accessories into one common device. My example here is combining my TV Remote (KODI), which only has ON/OFF and Volume controls into the Apple TV (TV) playback controls. And combining the spotify controls from my Yamaha receiver into the Zone.
324
+ #### door
325
+ - 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
298
326
 
299
327
  ```
300
328
  "platforms": [
@@ -303,25 +331,15 @@ sudo npm install -g homebridge-alexa
303
331
  "name": "Alexa",
304
332
  "username": "....",
305
333
  "password": "....",
306
- "combine": [{
307
- "into": "TV",
308
- "from": ["KODI", "Power (TV)"]
309
- }, {
310
- "into": "Front",
311
- "from": ["Yamaha"]
312
- }, {
313
- "into": "Rear",
314
- "from": ["Yamaha"]
315
- }],
334
+ "door": true
316
335
  }
317
336
  ],
318
337
  ```
319
338
 
320
- * into - Device name to combine into
321
- * from - Device name to combine from, can be a list of multiple devices.
322
-
339
+ ### Speaker Settings
323
340
 
324
341
  #### speakers
342
+
325
343
  - Devices to configure as speakers as HomeKit currently does not have a Speaker service, and enable the alexa phase `Alexa, raise the volume on`.
326
344
 
327
345
  ```
@@ -365,6 +383,39 @@ ie
365
383
  }
366
384
  ```
367
385
 
386
+ ### Combine Accessories
387
+
388
+
389
+ #### combine
390
+ - Combine disparate accessories into one common device. My example here is combining my TV Remote (KODI), which only has ON/OFF and Volume controls into the Apple TV (TV) playback controls. And combining the spotify controls from my Yamaha receiver into the Zone.
391
+
392
+ ```
393
+ "platforms": [
394
+ {
395
+ "platform": "Alexa",
396
+ "name": "Alexa",
397
+ "username": "....",
398
+ "password": "....",
399
+ "combine": [{
400
+ "into": "TV",
401
+ "from": ["KODI", "Power (TV)"]
402
+ }, {
403
+ "into": "Front",
404
+ "from": ["Yamaha"]
405
+ }, {
406
+ "into": "Rear",
407
+ "from": ["Yamaha"]
408
+ }],
409
+ }
410
+ ],
411
+ ```
412
+
413
+ * into - Device name to combine into
414
+ * from - Device name to combine from, can be a list of multiple devices.
415
+
416
+
417
+
418
+
368
419
  #### Inputs
369
420
 
370
421
  - This combines several buttons that control inputs on a TV or Stereo into an Alexa input control and enables the phrase `Alexa, change to input to`. For the names of the inputs, Amazon provided a list ( see alexa name below ) that you can choose from. You can map multiple alexa names to the same button as well.
@@ -500,15 +551,6 @@ Also to enable turning on and off your Apple TV, add this to your homebridge-ale
500
551
 
501
552
  This uses the plugin homebridge-yamaha-home and a Yamaha Receiver which includes Spotify and Spotify Playback Controls.
502
553
 
503
- #### New Parser
504
-
505
- ~~As of April 14, 2019 I changed the Homebridge device parser massively, to add support for Locks and Heater/Cooler devices. To go back to the old device parser, you can set an option oldParser to true. Default is to the new parser.~~
506
-
507
- ```
508
- "oldParser": true
509
- ```
510
-
511
- Support for the oldParser option was **deprecated** with version 0.5.0
512
554
 
513
555
  ## Initial Testing and confirming configuration
514
556
 
package/README.md CHANGED
@@ -16,18 +16,10 @@ The ongoing costs to run and support the cloud services have grown to the point
16
16
 
17
17
  For the subscription model, we have set this up with PayPal to start with, and with a price cheaper than a cup of Starbucks coffee. We thought a coffee a month was a reasonable contribution for the continued delivery of service.
18
18
 
19
- For the migration of users to the new model I’m doing this in two phases, first being new users of the service and the second being existing or legacy users of the service.
20
-
21
19
  ## New Users
22
20
 
23
21
  For new users of the service, they will receive a trial account, with 7 days of service to test out the service and work thru any issues prior to a subscription being required to continue service. During the trial period users can apply for a subscription at any time, and it will be future dated to start on the trial period end date.
24
22
 
25
- ## Existing Users ( Prior to March 26th, 2022 )
26
-
27
- For existing ‘legacy’ users of the service I have initiated the transition into subscriptions for all users, with a subscription being required after a date between May 25th, 2022 and June 25th, 2022. If you login to the homebridge.ca website, you can see your start date. You can signup for subscriptions at any time, and the first payment date will be future dated to the start date.
28
-
29
- If you have any questions or concerns, please let me know.
30
-
31
23
  # Availability
32
24
 
33
25
  Country availability - The plugin is available in these countries, English (AU), German (DE), English (CA), English (US), French (FR), English (UK), Italian (IT), English (IN), Spanish (ES), Japanese (JP), Spanish(US), Portuguese (BR) and Spanish (MX).
@@ -45,53 +37,53 @@ Country availability - The plugin is available in these countries, English (AU),
45
37
 
46
38
  # Table of Contents
47
39
  <!--ts-->
48
- * [Note to users of the service](#note-to-users-of-the-service)
49
- * [New Users](#new-users)
50
- * [Existing Users ( Prior to March 26th, 2022 )](#existing-users--prior-to-march-26th-2022-)
51
- * [Availability](#availability)
52
- * [Features](#features)
53
- * [Table of Contents](#table-of-contents)
54
- * [Supported devices](#supported-devices)
55
- * [HomeKit/Homebridge Devices supported](#homekithomebridge-devices-supported)
56
- * [Native Support](#native-support)
57
- * [Supported as Other Types](#supported-as-other-types)
58
- * [Unsupported device types](#unsupported-device-types)
59
- * [Alexa Voice Commands](#alexa-voice-commands)
60
- * [Setup](#setup)
61
- * [Light bulbs / Switches / Dimmer Switches](#light-bulbs--switches--dimmer-switches)
62
- * [Color lights](#color-lights)
63
- * [Color temperature](#color-temperature)
64
- * [Color Temperatures](#color-temperatures)
65
- * [Garage door, Blinds and Window Coverings](#garage-door-blinds-and-window-coverings)
66
- * [Garage Door With door = false](#garage-door-with-door--false)
67
- * [Window coverings / blinds With blind = false](#window-coverings--blinds-with-blind--false)
68
- * [Garage Door With blind = true ( Not supported in all countries )](#garage-door-with-blind--true--not-supported-in-all-countries-)
69
- * [Window coverings / blinds With blind = true ( Not supported in all countries )](#window-coverings--blinds-with-blind--true--not-supported-in-all-countries-)
70
- * [Thermostat's and Heater / Cooler's](#thermostats-and-heater--coolers)
71
- * [Lock / Unlock Doors](#lock--unlock-doors)
72
- * [Temperature sensors](#temperature-sensors)
73
- * [AppleTV ( homebridge-apple-tv or homebridge-apple-tv-remote )](#appletv--homebridge-apple-tv-or-homebridge-apple-tv-remote-)
74
- * [HomeKit Television](#homekit-television)
75
- * [HomeKit Television - Tested plugins](#homekit-television---tested-plugins)
76
- * [Television Inputs and Channels](#television-inputs-and-channels)
77
- * [Speakers](#speakers)
78
- * [Bose SoundLink - Change preset](#bose-soundlink---change-preset)
79
- * [Yamaha Receiver/Spotify control](#yamaha-receiverspotify-control)
80
- * [Contact and Motion Sensors](#contact-and-motion-sensors)
81
- * [Door bell devices](#door-bell-devices)
82
- * [Installation of homebridge-alexa](#installation-of-homebridge-alexa)
83
- * [Service Availability and Issues](#service-availability-and-issues)
84
- * [Homebridge cloud service monitoring ( homebridge.ca )](#homebridge-cloud-service-monitoring--homebridgeca-)
85
- * [Raising Issues and Troubleshooting](#raising-issues-and-troubleshooting)
86
- * [Troubleshooting](#troubleshooting)
87
- * [Known Issues](#known-issues)
88
- * [Discord Channel](#discord-channel)
89
- * [Debug logs](#debug-logs)
90
- * [Homebridge Accessory Dump](#homebridge-accessory-dump)
91
- * [Roadmap](#roadmap)
92
- * [Credits](#credits)
93
-
94
- <!-- Added by: sgracey, at: -->
40
+ * [Note to users of the service](#note-to-users-of-the-service)
41
+ * [New Users](#new-users)
42
+ * [Availability](#availability)
43
+ * [Features](#features)
44
+ * [Table of Contents](#table-of-contents)
45
+ * [Supported devices](#supported-devices)
46
+ * [HomeKit/Homebridge Devices supported](#homekithomebridge-devices-supported)
47
+ * [Native Support](#native-support)
48
+ * [Supported as Other Types](#supported-as-other-types)
49
+ * [Unsupported device types](#unsupported-device-types)
50
+ * [Alexa Voice Commands](#alexa-voice-commands)
51
+ * [Setup](#setup)
52
+ * [Light bulbs / Switches / Dimmer Switches](#light-bulbs--switches--dimmer-switches)
53
+ * [Color lights](#color-lights)
54
+ * [Color temperature](#color-temperature)
55
+ * [Color Temperatures](#color-temperatures)
56
+ * [Garage door, Blinds and Window Coverings](#garage-door-blinds-and-window-coverings)
57
+ * [Garage Door With door = false](#garage-door-with-door--false)
58
+ * [Window coverings / blinds With blind = false](#window-coverings--blinds-with-blind--false)
59
+ * [Garage Door With blind = true ( Not supported in all countries )](#garage-door-with-blind--true--not-supported-in-all-countries-)
60
+ * [Window coverings / blinds With blind = true ( Not supported in all countries )](#window-coverings--blinds-with-blind--true--not-supported-in-all-countries-)
61
+ * [Thermostat's and Heater / Cooler's](#thermostats-and-heater--coolers)
62
+ * [Lock / Unlock Doors](#lock--unlock-doors)
63
+ * [Temperature sensors](#temperature-sensors)
64
+ * [AppleTV ( homebridge-apple-tv or homebridge-apple-tv-remote )](#appletv--homebridge-apple-tv-or-homebridge-apple-tv-remote-)
65
+ * [HomeKit Television](#homekit-television)
66
+ * [HomeKit Television - Tested plugins](#homekit-television---tested-plugins)
67
+ * [Television Inputs and Channels](#television-inputs-and-channels)
68
+ * [Speakers](#speakers)
69
+ * [Bose SoundLink - Change preset](#bose-soundlink---change-preset)
70
+ * [Yamaha Receiver/Spotify control](#yamaha-receiverspotify-control)
71
+ * [Contact and Motion Sensors](#contact-and-motion-sensors)
72
+ * [Door bell devices](#door-bell-devices)
73
+ * [Installation of homebridge-alexa](#installation-of-homebridge-alexa)
74
+ * [Service Availability and Issues](#service-availability-and-issues)
75
+ * [Homebridge cloud service monitoring ( homebridge.ca )](#homebridge-cloud-service-monitoring--homebridgeca-)
76
+ * [Raising Issues and Troubleshooting](#raising-issues-and-troubleshooting)
77
+ * [Troubleshooting](#troubleshooting)
78
+ * [Known Issues](#known-issues)
79
+ * [Discord Channel](#discord-channel)
80
+ * [Debug logs](#debug-logs)
81
+ * [Homebridge Accessory Dump](#homebridge-accessory-dump)
82
+ * [Roadmap](#roadmap)
83
+ * [Credits](#credits)
84
+
85
+ <!-- Created by https://github.com/ekalinin/github-markdown-toc -->
86
+ <!-- Added by: sgracey, at: Tue 3 Jan 2023 10:42:39 EST -->
95
87
 
96
88
  <!--te-->
97
89
 
@@ -322,7 +314,7 @@ Installation and configuration instructions are [here](Installation.md).
322
314
 
323
315
  * Real time monitoring of the homebridge.ca cloud service is provided by [Uptime Robot](https://stats.uptimerobot.com/2WmEDHyV6).
324
316
 
325
- * Cloud service operational event reporting and alerting is sent to the #homebridge-alexa channel in the Homebridge Discord instance, and the uptime robot reports events there in real time. To access the homebridge discord server, here is an <a href="https://discord.gg/efg9ZESr">Invite</a>.
317
+ * Cloud service operational event reporting and alerting is sent to the #homebridge-alexa channel in the Homebridge Discord instance, and the uptime robot reports events there in real time. To access the homebridge discord server, here is an <a href="https://discord.gg/6WBNPUauvA">Invite</a>.
326
318
 
327
319
  ## Raising Issues and Troubleshooting
328
320
 
@@ -338,14 +330,13 @@ From here you should be able to determine if your plugin is communicating with t
338
330
 
339
331
  * I have started recording troubleshooting tips here based on issues seen by the community [Troubleshooting](Troubleshooting.MD).
340
332
  * All homebridge PIN's in your setup need to be set to the same value.
341
- * Whitelisting/blacklisting of accessories is not supported, but this can be achieved at the plugin level by putting the plugins you don't want exposed to Alexa in their own instance of HomeBridge, and for that instance of Alexa, don't include -I command line option. Discovery will fail for that instance, and the accessories will not be exposed.
342
333
  * An Alexa device or a software based Alexa is required. Using just the App or Website does not work, and device discovery will fail to find devices. The Reverb app is a software based Alexa that is known to work.
343
334
  * The maximum number of supported devices is 300. This is a limitation from the from the Amazon side, and not the plugin.
344
335
  * If your Amazon account is not domiciled in the country where your Alexa is located the skill will not work. This is a limitation on the Amazon side and not with the plugin. ie if you are in the UK and use an Amazon.com account, the skill will not work. You need to use an Amazon account domiciled in the UK
345
336
 
346
337
  ### Discord Channel
347
338
 
348
- I have created a Discord channel on the homebridge discord server to troubleshoot issues not on the troubleshooting page. If you reach out there, I'm usually available. The channel is called #homebridge-alexa
339
+ I have created a Discord channel on the homebridge discord server to troubleshoot issues not on the troubleshooting page. If you reach out there, I'm usually available. The channel is called #homebridge-alexa <a href="https://discord.gg/6WBNPUauvA">Invite</a>
349
340
 
350
341
  ### Debug logs
351
342
 
@@ -363,6 +354,28 @@ Sometimes during troubleshooting I need a dump of your homebridge accessories. P
363
354
  curl -X PUT http://127.0.0.1:51826/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
364
355
  ```
365
356
 
357
+ If needed during plugin startup with the debug option enabled ( this is available with version 0.5.64 ), the plugin will log the unique command for each homebridge instance in your setup, including child bridges.
358
+
359
+ The entries in the log file look like this for each homebridge instance.
360
+
361
+ ```
362
+ alexaActions Homebridge Accessory Information Dump for Hue B509
363
+ alexaActions curl -X PUT http://192.168.1.11:40889/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
364
+ alexaActions
365
+ alexaActions Homebridge Accessory Information Dump for Alexa E33F
366
+ alexaActions curl -X PUT http://192.168.1.11:33019/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
367
+ alexaActions
368
+ alexaActions Homebridge Accessory Information Dump for Tuner 8723
369
+ alexaActions curl -X PUT http://192.168.1.11:45397/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
370
+ alexaActions
371
+ alexaActions Homebridge Accessory Information Dump for Tasmota 5019
372
+ alexaActions curl -X PUT http://192.168.1.11:38859/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
373
+ alexaActions
374
+ alexaActions Homebridge Accessory Information Dump for homebridge-tuya BF07
375
+ alexaActions curl -X PUT http://192.168.1.11:36323/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
376
+ alexaActions
377
+ ```
378
+
366
379
  # Roadmap
367
380
 
368
381
  See [Roadmap](Roadmap.md)
@@ -1,39 +1,40 @@
1
1
  **Troubleshooting Tips**
2
2
 
3
3
  <!--ts-->
4
- * [Initial Setup](#initial-setup)
5
- * [[Alexa] ERROR: ( homebridge-alexa) Login to homebridge.ca failed, please validate your credentials in config.json and restart homebridge.](#alexa-error--homebridge-alexa-login-to-homebridgeca-failed-please-validate-your-credentials-in-configjson-and-restart-homebridge)
6
- * [- Bad login or password in your config.json for <a href="https://www.homebridge.ca" rel="nofollow">https://www.homebridge.ca</a>](#--bad-login-or-password-in-your-configjson-for-httpswwwhomebridgeca)
7
- * [[Alexa] ERROR: ( homebridge-alexa) You have an issue with your installation, please review the README.](#alexa-error--homebridge-alexa-you-have-an-issue-with-your-installation-please-review-the-readme)
8
- * [- Cloud Server DDOS Protection has blocked your IP address](#--cloud-server-ddos-protection-has-blocked-your-ip-address)
9
- * [- Multiple copies of homebridge-alexa on your network](#--multiple-copies-of-homebridge-alexa-on-your-network)
10
- * [- VPN Software interfering with homebridge-alexa to homebridge.ca communications](#--vpn-software-interfering-with-homebridge-alexa-to-homebridgeca-communications)
11
- * [[Alexa] ERROR: ( homebridge-alexa) Stopping Home Skill connection due to excessive reconnects, please review the README.](#alexa-error--homebridge-alexa-stopping-home-skill-connection-due-to-excessive-reconnects-please-review-the-readme)
12
- * [[Alexa] WARNING: Duplicate device name xxxxx](#alexa-warning-duplicate-device-name-xxxxx)
13
- * [Initial Setup Messages from DEBUG mode](#initial-setup-messages-from-debug-mode)
14
- * [alexaHAP HAP Discover failed ... is not running in insecure mode](#alexahap-hap-discover-failed--is-not-running-in-insecure-mode)
15
- * [HAP Discover failed ..... error code 470](#hap-discover-failed--error-code-470)
16
- * [Upgraded from old version and am seeing this error message](#upgraded-from-old-version-and-am-seeing-this-error-message)
17
- * [[Alexa] ERROR: HAP Discovery failed, please review config](#alexa-error-hap-discovery-failed-please-review-config)
18
- * [alexaLocal ERROR: connect ECONNREFUSED 35.169.132.61:1883 -&gt; ECONNREFUSED](#alexalocal-error-connect-econnrefused-35169132611883----econnrefused)
19
- * [alexaLocal error { Error: connect ECONNREFUSED 35.169.132.61:8883](#alexalocal-error--error-connect-econnrefused-35169132618883)
20
- * [Device Discovery](#device-discovery)
21
- * [Device discovery fails and the plugin logs show no issues.](#device-discovery-fails-and-the-plugin-logs-show-no-issues)
22
- * [Device discovery fails, and this message is in the logs ERROR: Empty accessory name, parsing failed.](#device-discovery-fails-and-this-message-is-in-the-logs-error-empty-accessory-name-parsing-failed)
23
- * [Device discovery fails, and this message is in the logs ERROR: Maximum devices/accessories of 300 exceeded.](#device-discovery-fails-and-this-message-is-in-the-logs-error-maximum-devicesaccessories-of-300-exceeded)
24
- * [Device discovery fails, and this message is in the logs ERROR: Parsing failed, duplicate endpointID.](#device-discovery-fails-and-this-message-is-in-the-logs-error-parsing-failed-duplicate-endpointid)
25
- * [After restarting homebridge Alexa can't find devices and needs to discover them again. Or you have duplicate devices in Alexa](#after-restarting-homebridge-alexa-cant-find-devices-and-needs-to-discover-them-again--or-you-have-duplicate-devices-in-alexa)
26
- * [Controlling devices](#controlling-devices)
27
- * [[Alexa] PowerController TurnOff 192.168.1.226 51826 undefined Error: Homebridge auth failed, invalid PIN](#alexa-powercontroller-turnoff-1921681226-51826-undefined-error-homebridge-auth-failed-invalid-pin)
28
- * [Event error messages](#event-error-messages)
29
- * [[Alexa] WARNING: ( homebridge-alexa) Dropped event message, message rate too high.](#alexa-warning--homebridge-alexa-dropped-event-message-message-rate-too-high)
30
- * [ERROR: Error: getAccessToken No data Error: XXXXXXXXXX](#error--error-getaccesstoken-no-data-error-xxxxxxxxxx)
31
- * [ERROR: Error: getAccessToken Token not found](#error--error-getaccesstoken-token-not-found)
32
- * [Unsuccessful event message ( No event gateway token )](#unsuccessful-event-message--no-event-gateway-token-)
33
- * [Successful event message being sent to Alexa](#successful-event-message-being-sent-to-alexa)
34
- * [[Alexa] ERROR: Event gateway token refresh error: 400](#alexa-error--event-gateway-token-refresh-error-400)
35
-
36
- <!-- Added by: sgracey, at: -->
4
+ * [Initial Setup](#initial-setup)
5
+ * [[Alexa] ERROR: ( homebridge-alexa) Login to homebridge.ca failed, please validate your credentials in config.json and restart homebridge.](#alexa-error--homebridge-alexa-login-to-homebridgeca-failed-please-validate-your-credentials-in-configjson-and-restart-homebridge)
6
+ * [- Bad login or password in your config.json for <a href="https://www.homebridge.ca" rel="nofollow">https://www.homebridge.ca</a>](#--bad-login-or-password-in-your-configjson-for-httpswwwhomebridgeca)
7
+ * [[Alexa] ERROR: ( homebridge-alexa) You have an issue with your installation, please review the README.](#alexa-error--homebridge-alexa-you-have-an-issue-with-your-installation-please-review-the-readme)
8
+ * [- Cloud Server DDOS Protection has blocked your IP address](#--cloud-server-ddos-protection-has-blocked-your-ip-address)
9
+ * [- Multiple copies of homebridge-alexa on your network](#--multiple-copies-of-homebridge-alexa-on-your-network)
10
+ * [- VPN Software interfering with homebridge-alexa to homebridge.ca communications](#--vpn-software-interfering-with-homebridge-alexa-to-homebridgeca-communications)
11
+ * [[Alexa] ERROR: ( homebridge-alexa) Stopping Home Skill connection due to excessive reconnects, please review the README.](#alexa-error--homebridge-alexa-stopping-home-skill-connection-due-to-excessive-reconnects-please-review-the-readme)
12
+ * [[Alexa] WARNING: Duplicate device name xxxxx](#alexa-warning-duplicate-device-name-xxxxx)
13
+ * [Initial Setup Messages from DEBUG mode](#initial-setup-messages-from-debug-mode)
14
+ * [alexaHAP HAP Discover failed ... is not running in insecure mode](#alexahap-hap-discover-failed--is-not-running-in-insecure-mode)
15
+ * [HAP Discover failed ..... error code 470](#hap-discover-failed--error-code-470)
16
+ * [Upgraded from old version and am seeing this error message](#upgraded-from-old-version-and-am-seeing-this-error-message)
17
+ * [[Alexa] ERROR: HAP Discovery failed, please review config](#alexa-error-hap-discovery-failed-please-review-config)
18
+ * [alexaLocal ERROR: connect ECONNREFUSED 35.169.132.61:1883 -&gt; ECONNREFUSED](#alexalocal-error-connect-econnrefused-35169132611883----econnrefused)
19
+ * [alexaLocal error { Error: connect ECONNREFUSED 35.169.132.61:8883](#alexalocal-error--error-connect-econnrefused-35169132618883)
20
+ * [Device Discovery](#device-discovery)
21
+ * [Device discovery fails and the plugin logs show no issues.](#device-discovery-fails-and-the-plugin-logs-show-no-issues)
22
+ * [Device discovery fails, and this message is in the logs ERROR: Empty accessory name, parsing failed.](#device-discovery-fails-and-this-message-is-in-the-logs-error-empty-accessory-name-parsing-failed)
23
+ * [Device discovery fails, and this message is in the logs ERROR: Maximum devices/accessories of 300 exceeded.](#device-discovery-fails-and-this-message-is-in-the-logs-error-maximum-devicesaccessories-of-300-exceeded)
24
+ * [Device discovery fails, and this message is in the logs ERROR: Parsing failed, duplicate endpointID.](#device-discovery-fails-and-this-message-is-in-the-logs-error-parsing-failed-duplicate-endpointid)
25
+ * [After restarting homebridge Alexa can't find devices and needs to discover them again. Or you have duplicate devices in Alexa](#after-restarting-homebridge-alexa-cant-find-devices-and-needs-to-discover-them-again--or-you-have-duplicate-devices-in-alexa)
26
+ * [Controlling devices](#controlling-devices)
27
+ * [[Alexa] PowerController TurnOff 192.168.1.226 51826 undefined Error: Homebridge auth failed, invalid PIN](#alexa-powercontroller-turnoff-1921681226-51826-undefined-error-homebridge-auth-failed-invalid-pin)
28
+ * [Event error messages](#event-error-messages)
29
+ * [[Alexa] WARNING: ( homebridge-alexa) Dropped event message, message rate too high.](#alexa-warning--homebridge-alexa-dropped-event-message-message-rate-too-high)
30
+ * [ERROR: Error: getAccessToken No data Error: XXXXXXXXXX](#error--error-getaccesstoken-no-data-error-xxxxxxxxxx)
31
+ * [ERROR: Error: getAccessToken Token not found](#error--error-getaccesstoken-token-not-found)
32
+ * [Unsuccessful event message ( No event gateway token )](#unsuccessful-event-message--no-event-gateway-token-)
33
+ * [Successful event message being sent to Alexa](#successful-event-message-being-sent-to-alexa)
34
+ * [[Alexa] ERROR: Event gateway token refresh error: 400](#alexa-error--event-gateway-token-refresh-error-400)
35
+
36
+ <!-- Created by https://github.com/ekalinin/github-markdown-toc -->
37
+ <!-- Added by: sgracey, at: Tue 3 Jan 2023 10:42:40 EST -->
37
38
 
38
39
  <!--te-->
39
40