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.
- package/.github/dependabot.yml +12 -0
- package/CHANGELOG.md +99 -0
- package/README.md +883 -0
- package/Roadmap.md +42 -0
- package/Troubleshooting.md +216 -0
- package/V1_README.md +63 -0
- package/alexaDiscovery.json +3938 -0
- package/config.schema.json +261 -0
- package/lib/alexaActions.js +1004 -0
- package/lib/alexaLocal.js +183 -0
- package/lib/alexaMessages.js +705 -0
- package/lib/alexa_smart_home_message_schema.json +5129 -0
- package/lib/parse/Accessory.js +189 -0
- package/lib/parse/Characteristic.js +324 -0
- package/lib/parse/Homebridge.js +225 -0
- package/lib/parse/Homebridges.js +130 -0
- package/lib/parse/Service.js +290 -0
- package/lib/parse/messages.js +1452 -0
- package/package.json +52 -0
- package/plugin.js +189 -0
package/README.md
ADDED
|
@@ -0,0 +1,883 @@
|
|
|
1
|
+
**homebridge-alexa** Version 2 - Home Skill Based
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.org/package/homebridge-alexa)
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<img src="docs/homebridge.png" height="200">
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
Enable Amazon Alexa to control your homebridge smart home devices and accessories. Full support for all Amazon Alexa devices, including the echo 2nd Generation and software based solutions. Uses an Amazon smart home skill based approach for integration between HomeBridge and Amazon Alexa.
|
|
10
|
+
|
|
11
|
+
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).
|
|
12
|
+
|
|
13
|
+
# Features
|
|
14
|
+
|
|
15
|
+
* Supports multiple homebridge instances running on your network.
|
|
16
|
+
* Auto-discovery of multiple Homebridge's
|
|
17
|
+
* Supports the following HomeKit accessory types Lightbulb, Outlet, Fan, Fan2, Temperature Sensor, Window Coverings, Garage Doors and Switches.
|
|
18
|
+
* Supports passing of sensor updates in real time to Alexa for use in routines.
|
|
19
|
+
* Includes support for brightness and colour.
|
|
20
|
+
* Creates a Contact Sensor that monitors the status of the connect to the Homebridge Alexa Cloud Servers.
|
|
21
|
+
* The plugin does not need to be installed in your 'main' homebridge instance. It can be installed in any 'Homebridge' instance in your setup.
|
|
22
|
+
* Enables control from non-hardware based alexa devices like Invoxia Triby, and AlexaPI.
|
|
23
|
+
|
|
24
|
+
# Table of Contents
|
|
25
|
+
<!--ts-->
|
|
26
|
+
* [Features](#features)
|
|
27
|
+
* [Table of Contents](#table-of-contents)
|
|
28
|
+
* [Supported devices](#supported-devices)
|
|
29
|
+
* [HomeKit/Homebridge Devices supported](#homekithomebridge-devices-supported)
|
|
30
|
+
* [Native Support](#native-support)
|
|
31
|
+
* [Supported as Other Types](#supported-as-other-types)
|
|
32
|
+
* [Unsupported device types](#unsupported-device-types)
|
|
33
|
+
* [Alexa Voice Commands](#alexa-voice-commands)
|
|
34
|
+
* [Setup](#setup)
|
|
35
|
+
* [Light bulbs / Switches / Dimmer Switches](#light-bulbs--switches--dimmer-switches)
|
|
36
|
+
* [Color lights](#color-lights)
|
|
37
|
+
* [Color temperature](#color-temperature)
|
|
38
|
+
* [Color Temperatures](#color-temperatures)
|
|
39
|
+
* [Garage door, Blinds and Window Coverings](#garage-door-blinds-and-window-coverings)
|
|
40
|
+
* [Garage Door With door = false](#garage-door-with-door--false)
|
|
41
|
+
* [Window coverings / blinds With blind = false](#window-coverings--blinds-with-blind--false)
|
|
42
|
+
* [Garage Door With blind = true ( Not supported in all countries )](#garage-door-with-blind--true--not-supported-in-all-countries-)
|
|
43
|
+
* [Window coverings / blinds With blind = true ( Not supported in all countries )](#window-coverings--blinds-with-blind--true--not-supported-in-all-countries-)
|
|
44
|
+
* [Thermostat's and Heater / Cooler's](#thermostats-and-heater--coolers)
|
|
45
|
+
* [Lock / Unlock Doors](#lock--unlock-doors)
|
|
46
|
+
* [Temperature sensors](#temperature-sensors)
|
|
47
|
+
* [AppleTV ( homebridge-apple-tv or homebridge-apple-tv-remote )](#appletv--homebridge-apple-tv-or-homebridge-apple-tv-remote-)
|
|
48
|
+
* [HomeKit Television](#homekit-television)
|
|
49
|
+
* [HomeKit Television - Tested plugins](#homekit-television---tested-plugins)
|
|
50
|
+
* [Television Inputs and Channels](#television-inputs-and-channels)
|
|
51
|
+
* [Speakers](#speakers)
|
|
52
|
+
* [Bose SoundLink - Change preset](#bose-soundlink---change-preset)
|
|
53
|
+
* [Yamaha Receiver/Spotify control](#yamaha-receiverspotify-control)
|
|
54
|
+
* [Contact and Motion Sensors](#contact-and-motion-sensors)
|
|
55
|
+
* [Door bell devices](#door-bell-devices)
|
|
56
|
+
* [Installation of homebridge-alexa](#installation-of-homebridge-alexa)
|
|
57
|
+
* [Prepare Homebridge for plugin installation](#prepare-homebridge-for-plugin-installation)
|
|
58
|
+
* [Install Plugin](#install-plugin)
|
|
59
|
+
* [Create homebridge-alexa account](#create-homebridge-alexa-account)
|
|
60
|
+
* [HomeBridge-alexa plugin configuration](#homebridge-alexa-plugin-configuration)
|
|
61
|
+
* [Required parameters](#required-parameters)
|
|
62
|
+
* [Optional parameters](#optional-parameters)
|
|
63
|
+
* [pin](#pin)
|
|
64
|
+
* [routines](#routines)
|
|
65
|
+
* [blind](#blind)
|
|
66
|
+
* [door](#door)
|
|
67
|
+
* [debug](#debug)
|
|
68
|
+
* [refresh](#refresh)
|
|
69
|
+
* [filter](#filter)
|
|
70
|
+
* [deviceList & deviceListHandling](#devicelist--devicelisthandling)
|
|
71
|
+
* [combine](#combine)
|
|
72
|
+
* [speakers](#speakers-1)
|
|
73
|
+
* [Inputs](#inputs)
|
|
74
|
+
* [Apple TV](#apple-tv)
|
|
75
|
+
* [Yamaha Spotify Controls](#yamaha-spotify-controls)
|
|
76
|
+
* [New Parser](#new-parser)
|
|
77
|
+
* [Initial Testing and confirming configuration](#initial-testing-and-confirming-configuration)
|
|
78
|
+
* [Enable Homebridge smarthome skill and link accounts](#enable-homebridge-smarthome-skill-and-link-accounts)
|
|
79
|
+
* [Discover Devices](#discover-devices)
|
|
80
|
+
* [Service Availability and Issues](#service-availability-and-issues)
|
|
81
|
+
* [Homebridge cloud service monitoring ( homebridge.ca )](#homebridge-cloud-service-monitoring--homebridgeca-)
|
|
82
|
+
* [Raising Issues and Troubleshooting](#raising-issues-and-troubleshooting)
|
|
83
|
+
* [Troubleshooting](#troubleshooting)
|
|
84
|
+
* [Known Issues](#known-issues)
|
|
85
|
+
* [Discord Channel](#discord-channel)
|
|
86
|
+
* [Debug logs](#debug-logs)
|
|
87
|
+
* [Homebridge Accessory Dump](#homebridge-accessory-dump)
|
|
88
|
+
* [Roadmap](#roadmap)
|
|
89
|
+
* [Credits](#credits)
|
|
90
|
+
|
|
91
|
+
<!-- Added by: sgracey, at: -->
|
|
92
|
+
|
|
93
|
+
<!--te-->
|
|
94
|
+
|
|
95
|
+
# Supported devices
|
|
96
|
+
|
|
97
|
+
* Support for Light Bulbs, Switches and outlets
|
|
98
|
+
* Support for Color Light Bulbs and Colour Temperature of white Light bulbs
|
|
99
|
+
* Support for Fans (As Alexa doesn't support Fans coverings I'm using Other)
|
|
100
|
+
* Support for Window coverings/blinds
|
|
101
|
+
* Support for Garage Doors
|
|
102
|
+
* Support for Temperature, Contact and Motion Sensors.
|
|
103
|
+
* Support for Occupancy Sensors as a Contact sensor.
|
|
104
|
+
* Also supports sending real time updates from Contact, Occupancy and Motion sensors to Alexa, for use in routines.
|
|
105
|
+
* Support for Fan2 aka Dyson fans
|
|
106
|
+
* Support for Valves, Sprinklers and Shower Heads (As Alexa doesn't support these, they are Other)
|
|
107
|
+
* Support for more than 100 accessories
|
|
108
|
+
* Support for generation 2 Echo's and other Alexa devices not supported with the original version
|
|
109
|
+
* Support for Speakers ( Tested with homebridge-yamaha-home, homebridge-soundtouch and homebridge-http-irblaster )
|
|
110
|
+
* Support for Apple TV ( Supports homebridge-apple-tv, and homebridge-apple-tv-remote )
|
|
111
|
+
* Support Spotify playback controls on Yamaha Receivers via homebridge-yamaha-home
|
|
112
|
+
* Support for door locks
|
|
113
|
+
* Support for door bells ( Tested with homebridge-camera-ffmpeg )
|
|
114
|
+
|
|
115
|
+
Alexa device names are the same as the homebridge device names.
|
|
116
|
+
|
|
117
|
+
This only supports accessories connected via a homebridge plugin, any 'Homekit' accessories are not supported, and will never be supported.
|
|
118
|
+
|
|
119
|
+
## HomeKit/Homebridge Devices supported
|
|
120
|
+
|
|
121
|
+
### Native Support
|
|
122
|
+
|
|
123
|
+
* Lightbulbs, outlets and switches
|
|
124
|
+
* Dimmable lightbulbs, outlets and switches
|
|
125
|
+
* Colour lightbulbs
|
|
126
|
+
* Speakers
|
|
127
|
+
* Apple TV
|
|
128
|
+
* Temperature Sensors
|
|
129
|
+
* Motion Sensors
|
|
130
|
+
* Contact Sensors
|
|
131
|
+
* Thermostat
|
|
132
|
+
* Heater/Cooler
|
|
133
|
+
* Door locks ( Lock and status only, Alexa does not support unlocking )
|
|
134
|
+
* HomeKit Television ( Initial support only On/Off, Inputs and Volume Control )
|
|
135
|
+
* Garage Doors and Window Coverings/Blinds
|
|
136
|
+
* Door bells
|
|
137
|
+
|
|
138
|
+
### Supported as Other Types
|
|
139
|
+
|
|
140
|
+
* Fans, Humidifier Dehumidifier and Air Purifiers - Supported as a Switch
|
|
141
|
+
* Valves, Sprinklers and Shower Heads - Supported as a light bulb
|
|
142
|
+
* Occupancy Sensors - Supported as a Contact Sensor
|
|
143
|
+
|
|
144
|
+
## Unsupported device types
|
|
145
|
+
|
|
146
|
+
* Camera's ( for use with an Alexa show etc )
|
|
147
|
+
* Eve devices
|
|
148
|
+
* Security Systems
|
|
149
|
+
|
|
150
|
+
# Alexa Voice Commands
|
|
151
|
+
|
|
152
|
+
## Setup
|
|
153
|
+
|
|
154
|
+
* Alexa, discover devices
|
|
155
|
+
|
|
156
|
+
## Light bulbs / Switches / Dimmer Switches
|
|
157
|
+
|
|
158
|
+
* Alexa, turn on *device*
|
|
159
|
+
* Alexa, turn off *device*
|
|
160
|
+
|
|
161
|
+
* Alexa, set *device* to 50
|
|
162
|
+
* Alexa, dim *device*
|
|
163
|
+
* Alexa, brighten *device*
|
|
164
|
+
|
|
165
|
+
## Color lights
|
|
166
|
+
|
|
167
|
+
* Alexa, turn *device* red/green/blue
|
|
168
|
+
|
|
169
|
+
## Color temperature
|
|
170
|
+
|
|
171
|
+
* Alexa, set/make the *device* cooler/whiter ( Color temperature )
|
|
172
|
+
* Alexa, set/make the *device* warmer/softer ( Color temperature )
|
|
173
|
+
* Alexa, make the *device* warm white ( Color temperature )
|
|
174
|
+
|
|
175
|
+
### Color Temperatures ###
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
warm, warm white
|
|
179
|
+
incandescent, soft white
|
|
180
|
+
white
|
|
181
|
+
daylight, daylight white
|
|
182
|
+
cool, cool white
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Garage door, Blinds and Window Coverings
|
|
186
|
+
|
|
187
|
+
### Garage Door With door = false
|
|
188
|
+
|
|
189
|
+
* Alexa, turn on *device* ( Open's a garage door )
|
|
190
|
+
* Alexa, turn off *device* ( Close's a garage door )
|
|
191
|
+
|
|
192
|
+
See [example](https://github.com/NorthernMan54/homebridge-alexa/wiki/Garage-Door) for using a routine to fix the wording
|
|
193
|
+
|
|
194
|
+
### Window coverings / blinds With blind = false
|
|
195
|
+
|
|
196
|
+
* Alexa, turn on *device* ( Open's blinds )
|
|
197
|
+
* Alexa, turn off *device* ( Close's blinds )
|
|
198
|
+
* Alexa, set *device* to 50 ( Moves blinds to 50% )
|
|
199
|
+
|
|
200
|
+
### Garage Door With blind = true ( Not supported in all countries )
|
|
201
|
+
|
|
202
|
+
* Alexa, raise *device* ( Open's a garage door )
|
|
203
|
+
* Alexa, open *device* ( Open's a garage door )
|
|
204
|
+
* Alexa, lower *device* ( Close's a garage door )
|
|
205
|
+
* Alexa, close *device* ( Close's a garage door )
|
|
206
|
+
|
|
207
|
+
* Opening a garage door requires configuring a voice pin in the Alexa App.
|
|
208
|
+
|
|
209
|
+
### Window coverings / blinds With blind = true ( Not supported in all countries )
|
|
210
|
+
|
|
211
|
+
* Alexa, raise *device* ( Open's blinds )
|
|
212
|
+
* Alexa, lower *device* ( Close's blinds )
|
|
213
|
+
* Alexa, set *device* to 50 ( Moves blinds to 50% )
|
|
214
|
+
|
|
215
|
+
## Thermostat's and Heater / Cooler's
|
|
216
|
+
|
|
217
|
+
* Alexa, set thermostat to 20
|
|
218
|
+
* Alexa, set thermostat to heat/cool/automatic/off
|
|
219
|
+
|
|
220
|
+
Adamo Maisano provided a deeper [comparison](https://github.com/NorthernMan54/homebridge-alexa/wiki/Thermostat-Voice-Control-Comparison) of Thermostat Voice Control [here](https://github.com/NorthernMan54/homebridge-alexa/wiki/Thermostat-Voice-Control-Comparison).
|
|
221
|
+
|
|
222
|
+
## Lock / Unlock Doors
|
|
223
|
+
|
|
224
|
+
* Alexa, unlock my *device* ( Amazon is blocking this function )
|
|
225
|
+
* Alexa, lock my *device*
|
|
226
|
+
|
|
227
|
+
## Temperature sensors
|
|
228
|
+
|
|
229
|
+
* Alexa, what is the temperature in the *device* ( Not supported in Japan )
|
|
230
|
+
|
|
231
|
+
## AppleTV ( homebridge-apple-tv or homebridge-apple-tv-remote )
|
|
232
|
+
|
|
233
|
+
* Alexa, pause *device* ( Apple TV )
|
|
234
|
+
* Alexa, resume *device* ( Apple TV )
|
|
235
|
+
* Alexa, play *device* ( Apple TV )
|
|
236
|
+
* Alexa, stop *device* ( Apple TV )
|
|
237
|
+
|
|
238
|
+
## HomeKit Television
|
|
239
|
+
|
|
240
|
+
* Alexa, turn on *device*
|
|
241
|
+
* Alexa, turn off *device*
|
|
242
|
+
|
|
243
|
+
* Alexa, raise the volume on *device*
|
|
244
|
+
* Alexa, lower the volume on *device*
|
|
245
|
+
* Alexa, volume up 20 on *device*
|
|
246
|
+
* Alexa, set the volume of *device* to 50
|
|
247
|
+
|
|
248
|
+
These are the remote buttons
|
|
249
|
+
|
|
250
|
+
* Alexa, pause *device* ( pause/play )
|
|
251
|
+
* Alexa, resume *device* ( pause/play )
|
|
252
|
+
* Alexa, play *device* ( select )
|
|
253
|
+
* Alexa, stop *device* ( back )
|
|
254
|
+
* Alexa, next on *device* ( right arrow )
|
|
255
|
+
* Alexa, rewind on *device* ( left arrow )
|
|
256
|
+
|
|
257
|
+
* Alexa, change input to *input* on the *device*
|
|
258
|
+
|
|
259
|
+
### HomeKit Television - Tested plugins
|
|
260
|
+
|
|
261
|
+
* Panasonic TV: - homebridge-panasonic-viera-tv@4.1.0
|
|
262
|
+
- Alexa can turn on and off and control volume
|
|
263
|
+
|
|
264
|
+
* Sony Bravia TV (Android TV) - homebridge-bravia@1.1.0
|
|
265
|
+
- Alexa can turn on and off and control volume
|
|
266
|
+
|
|
267
|
+
* Sky Q decoder - homebridge-sky-q-experimental@1.0.2
|
|
268
|
+
- Alexa can turn on and off
|
|
269
|
+
|
|
270
|
+
* Samsung Tizen - homebridge-samsung-tizen
|
|
271
|
+
- Alexa can turn on and off and control volume
|
|
272
|
+
|
|
273
|
+
* Yamaha AVR - homebridge-yamaha-zone-tv
|
|
274
|
+
- Alexa can turn on and off and control volume. Also control Spotify/Airplay playback
|
|
275
|
+
|
|
276
|
+
* LG WebOS TV - homebridge-lgwebos-tv
|
|
277
|
+
- Alexa can turn on and off. Volume control has not validated
|
|
278
|
+
|
|
279
|
+
### Television Inputs and Channels
|
|
280
|
+
|
|
281
|
+
* Alexa, change channel to cbc on *device* ( Station name )
|
|
282
|
+
* Alexa, change input to *input* on the *device*
|
|
283
|
+
|
|
284
|
+
## Speakers
|
|
285
|
+
|
|
286
|
+
* Alexa, lower the volume on *device*
|
|
287
|
+
* Alexa, volume up 20 on *device* ( Speakers )
|
|
288
|
+
* Alexa, set the volume of *device* to 50 ( Speakers )
|
|
289
|
+
|
|
290
|
+
### Bose SoundLink - Change preset
|
|
291
|
+
|
|
292
|
+
* Alexa, change channel to 1-6 on *device*
|
|
293
|
+
|
|
294
|
+
## Yamaha Receiver/Spotify control
|
|
295
|
+
|
|
296
|
+
* Alexa, pause Stereo
|
|
297
|
+
* Alexa, resume Stereo
|
|
298
|
+
* Alexa, stop Stereo
|
|
299
|
+
* Alexa, next song on Stereo
|
|
300
|
+
* Alexa, rewind on Stereo
|
|
301
|
+
|
|
302
|
+
## Contact and Motion Sensors
|
|
303
|
+
|
|
304
|
+
* These are only visible to routines, no voice commands are available
|
|
305
|
+
|
|
306
|
+
## Door bell devices
|
|
307
|
+
|
|
308
|
+
* Their is no voice control of door bells, only the ability to have Alexa announce when the door bell is triggered. For a sample here is my [Door Bell](https://youtu.be/PhGbc_TO8pk) being rang.
|
|
309
|
+
|
|
310
|
+
# Installation of homebridge-alexa
|
|
311
|
+
|
|
312
|
+
* 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).
|
|
313
|
+
|
|
314
|
+
## Prepare Homebridge for plugin installation
|
|
315
|
+
|
|
316
|
+
The setup of the plugin is very straight forward, and requires enabling insecure mode of each homebridge instance you want to control from Alexa.
|
|
317
|
+
|
|
318
|
+
1. All homebridge instances that you want to control from Alexa need to run in insecure mode with -I included on the command line. How you make this change will depend on your installation of homebridge, and how you start homebridge. If you start from the command line, it would look like this:
|
|
319
|
+
|
|
320
|
+
```
|
|
321
|
+
homebridge -I
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
* If your using systemd to manage homebridge, the -I is added to the file /etc/default/homebridge in the line, HOMEBRIDGE_OPTS ie.
|
|
325
|
+
|
|
326
|
+
```
|
|
327
|
+
# Defaults / Configuration options for homebridge
|
|
328
|
+
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)
|
|
329
|
+
HOMEBRIDGE_OPTS=-I
|
|
330
|
+
|
|
331
|
+
# If you uncomment the following line, homebridge will log more
|
|
332
|
+
# You can display this via systemd's journalctl: journalctl -f -u homebridge
|
|
333
|
+
#DEBUG=
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
* If your using pm2 to manage the startup of homebridge, you can add the -I option with these steps
|
|
337
|
+
|
|
338
|
+
```
|
|
339
|
+
pm2 delete homebridge
|
|
340
|
+
pm2 cleardump
|
|
341
|
+
pm2 start homebridge -- -I
|
|
342
|
+
pm2 save
|
|
343
|
+
```
|
|
344
|
+
To review your settings, use command below to check if homebridge was sucessfully registered to pm2. After that, you can try to reboot your system and check whether you can control homebridge devices with Alexa app.
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
```
|
|
348
|
+
pm2 show homebridge
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
* If you have multiple homebridge options, the -I should be listed first. ie
|
|
353
|
+
|
|
354
|
+
```
|
|
355
|
+
HOMEBRIDGE_OPTS=-I -U /var/homebridge
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
* If you are running with a docker container ( Oznu's), you can add the -I flag following these instructions:
|
|
359
|
+
|
|
360
|
+
https://github.com/oznu/docker-homebridge/issues/79
|
|
361
|
+
|
|
362
|
+
```
|
|
363
|
+
Variable=HOMEBRIDGE_INSECURE
|
|
364
|
+
Value=1
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
```
|
|
368
|
+
Go to the Docker app
|
|
369
|
+
Stop the Homebridge container
|
|
370
|
+
Edit the container and go to the Environment tab
|
|
371
|
+
Add environment variable
|
|
372
|
+
Save and start container
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
## Install Plugin
|
|
376
|
+
|
|
377
|
+
2. The setup of homebridge-alexa is similar to other plugins, except it doesn't have any devices in the Home app;-) I'm just reusing the runtime and configuration file management. And it only needs to installed once if you have multiple homeridge's installed. It will auto-discover and connect to the other instances.
|
|
378
|
+
|
|
379
|
+
```
|
|
380
|
+
sudo npm install -g homebridge-alexa
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
## Create homebridge-alexa account
|
|
384
|
+
|
|
385
|
+
3. An account to link your Amazon Alexa to HomeBridge needs to created on this website https://www.homebridge.ca/. This account will be used when you enable the home skill in the Alexa App on your mobile, and in the configuration of the plugin in homebridge.
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
## HomeBridge-alexa plugin configuration
|
|
389
|
+
|
|
390
|
+
4. Add the plugin to your config.json. The login and password in the config.json, are the credentials you created earlier for the https://www.homebridge.ca/ website. This only needs to be completed for one instance of homebridge in your environment, it will discover the accessories connected to your other homebridges automatically.
|
|
391
|
+
|
|
392
|
+
```
|
|
393
|
+
"platforms": [
|
|
394
|
+
{
|
|
395
|
+
"platform": "Alexa",
|
|
396
|
+
"name": "Alexa",
|
|
397
|
+
"username": "....",
|
|
398
|
+
"password": "...."
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
### Required parameters
|
|
404
|
+
|
|
405
|
+
* username - Login created for the skill linking website https://www.homebridge.ca/
|
|
406
|
+
* password - Login created for the skill linking website https://www.homebridge.ca/
|
|
407
|
+
|
|
408
|
+
### Optional parameters
|
|
409
|
+
|
|
410
|
+
#### pin
|
|
411
|
+
- If you had changed your homebridge pin from the default of "pin": "031-45-154" ie
|
|
412
|
+
|
|
413
|
+
```
|
|
414
|
+
"platforms": [
|
|
415
|
+
{
|
|
416
|
+
"platform": "Alexa",
|
|
417
|
+
"name": "Alexa",
|
|
418
|
+
"username": "....",
|
|
419
|
+
"password": "....",
|
|
420
|
+
"pin": "031-45-155"
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
#### routines
|
|
426
|
+
- 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.
|
|
427
|
+
|
|
428
|
+
```
|
|
429
|
+
"platforms": [
|
|
430
|
+
{
|
|
431
|
+
"platform": "Alexa",
|
|
432
|
+
"name": "Alexa",
|
|
433
|
+
"username": "....",
|
|
434
|
+
"password": "....",
|
|
435
|
+
"routines": true
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
#### blind
|
|
441
|
+
- Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false
|
|
442
|
+
|
|
443
|
+
```
|
|
444
|
+
"platforms": [
|
|
445
|
+
{
|
|
446
|
+
"platform": "Alexa",
|
|
447
|
+
"name": "Alexa",
|
|
448
|
+
"username": "....",
|
|
449
|
+
"password": "....",
|
|
450
|
+
"blind": true
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
#### door
|
|
456
|
+
- 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
|
|
457
|
+
|
|
458
|
+
```
|
|
459
|
+
"platforms": [
|
|
460
|
+
{
|
|
461
|
+
"platform": "Alexa",
|
|
462
|
+
"name": "Alexa",
|
|
463
|
+
"username": "....",
|
|
464
|
+
"password": "....",
|
|
465
|
+
"door": true
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
#### debug
|
|
471
|
+
- This enables debug logging mode, can be used instead of the command line option ( DEBUG=* homebridge )
|
|
472
|
+
|
|
473
|
+
```
|
|
474
|
+
"platforms": [
|
|
475
|
+
{
|
|
476
|
+
"platform": "Alexa",
|
|
477
|
+
"name": "Alexa",
|
|
478
|
+
"username": "....",
|
|
479
|
+
"password": "....",
|
|
480
|
+
"debug": true
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
#### refresh
|
|
486
|
+
- Frequency of refreshes of the homebridge accessory cache, in seconds. Defaults to 15 minutes.
|
|
487
|
+
|
|
488
|
+
```
|
|
489
|
+
"platforms": [
|
|
490
|
+
{
|
|
491
|
+
"platform": "Alexa",
|
|
492
|
+
"name": "Alexa",
|
|
493
|
+
"username": "....",
|
|
494
|
+
"password": "....",
|
|
495
|
+
"refresh": 900
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
#### filter
|
|
501
|
+
- 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.
|
|
502
|
+
|
|
503
|
+
```
|
|
504
|
+
"platforms": [
|
|
505
|
+
{
|
|
506
|
+
"platform": "Alexa",
|
|
507
|
+
"name": "Alexa",
|
|
508
|
+
"username": "....",
|
|
509
|
+
"password": "....",
|
|
510
|
+
"filter": "192.168.1.122:51826"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
#### deviceList & deviceListHandling
|
|
516
|
+
- 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 )
|
|
517
|
+
|
|
518
|
+
```
|
|
519
|
+
"platforms": [
|
|
520
|
+
{
|
|
521
|
+
"platform": "Alexa",
|
|
522
|
+
"name": "Alexa",
|
|
523
|
+
"username": "....",
|
|
524
|
+
"password": "....",
|
|
525
|
+
"deviceListHandling": "deny", // or allow
|
|
526
|
+
"deviceList":
|
|
527
|
+
[
|
|
528
|
+
"LightBulb",
|
|
529
|
+
"GarageDoor",
|
|
530
|
+
"SecureDevice"
|
|
531
|
+
]
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
#### combine
|
|
537
|
+
- 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.
|
|
538
|
+
|
|
539
|
+
```
|
|
540
|
+
"platforms": [
|
|
541
|
+
{
|
|
542
|
+
"platform": "Alexa",
|
|
543
|
+
"name": "Alexa",
|
|
544
|
+
"username": "....",
|
|
545
|
+
"password": "....",
|
|
546
|
+
"combine": [{
|
|
547
|
+
"into": "TV",
|
|
548
|
+
"from": ["KODI", "Power (TV)"]
|
|
549
|
+
}, {
|
|
550
|
+
"into": "Front",
|
|
551
|
+
"from": ["Yamaha"]
|
|
552
|
+
}, {
|
|
553
|
+
"into": "Rear",
|
|
554
|
+
"from": ["Yamaha"]
|
|
555
|
+
}],
|
|
556
|
+
}
|
|
557
|
+
],
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
* into - Device name to combine into
|
|
561
|
+
* from - Device name to combine from, can be a list of multiple devices.
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
#### speakers
|
|
565
|
+
- Devices to configure as speakers as HomeKit currently does not have a Speaker service, and enable the alexa phase `Alexa, raise the volume on`.
|
|
566
|
+
|
|
567
|
+
```
|
|
568
|
+
"platforms": [
|
|
569
|
+
{
|
|
570
|
+
"platform": "Alexa",
|
|
571
|
+
"name": "Alexa",
|
|
572
|
+
"username": "....",
|
|
573
|
+
"password": "....",
|
|
574
|
+
"speakers": [{
|
|
575
|
+
"manufacturer": "...",
|
|
576
|
+
"name": "..."
|
|
577
|
+
}]
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
* manufacturer - Is the manufacturer of the accessory as shown in the Home App
|
|
583
|
+
* name - Is the name of the accessory as shown in the Home App
|
|
584
|
+
|
|
585
|
+
ie
|
|
586
|
+
```
|
|
587
|
+
{
|
|
588
|
+
"platform": "Alexa",
|
|
589
|
+
"username": "...",
|
|
590
|
+
"password": "...",
|
|
591
|
+
"name": "Alexa",
|
|
592
|
+
"speakers": [{
|
|
593
|
+
"manufacturer": "Yamaha",
|
|
594
|
+
"name": "Front"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"manufacturer": "Yamaha",
|
|
598
|
+
"name": "Rear"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
602
|
+
"name": "Panasonic"
|
|
603
|
+
}
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
#### Inputs
|
|
609
|
+
|
|
610
|
+
- 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.
|
|
611
|
+
|
|
612
|
+
`Alexa, change input to Tuner on the TV`
|
|
613
|
+
|
|
614
|
+
`Alexa, change input to HDMI 1 on the TV`
|
|
615
|
+
|
|
616
|
+
```
|
|
617
|
+
{
|
|
618
|
+
"platform": "Alexa",
|
|
619
|
+
"username": "...",
|
|
620
|
+
"password": "...",
|
|
621
|
+
"name": "Alexa",
|
|
622
|
+
"inputs": [{
|
|
623
|
+
"into": "TV",
|
|
624
|
+
"devices": [{
|
|
625
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
626
|
+
"name": "Tuner",
|
|
627
|
+
"alexaName": "TUNER"
|
|
628
|
+
}, {
|
|
629
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
630
|
+
"name": "Tuner",
|
|
631
|
+
"alexaName": "TV TUNER"
|
|
632
|
+
}, {
|
|
633
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
634
|
+
"name": "Tuner",
|
|
635
|
+
"alexaName": "TV"
|
|
636
|
+
}, {
|
|
637
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
638
|
+
"name": "HDMI1",
|
|
639
|
+
"alexaName": "HDMI 1"
|
|
640
|
+
}, {
|
|
641
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
642
|
+
"name": "HDMI1",
|
|
643
|
+
"alexaName": "TV KODI"
|
|
644
|
+
}, {
|
|
645
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
646
|
+
"name": "HDMI1",
|
|
647
|
+
"alexaName": "MEDIA PLAYER"
|
|
648
|
+
}, {
|
|
649
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
650
|
+
"name": "HDMI2",
|
|
651
|
+
"alexaName": "HDMI 2"
|
|
652
|
+
}, {
|
|
653
|
+
"manufacturer": "HTTP-IRBlaster",
|
|
654
|
+
"name": "HDMI2",
|
|
655
|
+
"alexaName": "TV NETFLIX"
|
|
656
|
+
}]
|
|
657
|
+
}],
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
In my setup I use an OTA Antenna, hence the Tuner option and have a KODI box on HDMI 1, and a Apple TV we use for Netflix on HDMI 2. For the alexaName's "TV KODI", "TV TUNER", and "TV NETFLIX" these were not part of the Amazon documentation and may stop working at any time or may not work in your region.
|
|
661
|
+
|
|
662
|
+
* into - Name of the existing accessory to add the input function to. In my setup this is my Apple TV accessory.
|
|
663
|
+
|
|
664
|
+
* manufacturer - Is the manufacturer of the accessory as shown in the Home App
|
|
665
|
+
|
|
666
|
+
* name - Is the name of the accessory as shown in the Home App
|
|
667
|
+
|
|
668
|
+
* alexaName - This the input your are asking Alexa to change to.
|
|
669
|
+
|
|
670
|
+
```
|
|
671
|
+
AUX 1, AUX 2, AUX 3, AUX 4, AUX 5, AUX 6, AUX 7, BLURAY, CABLE, CD, COAX 1, COAX 2, COMPOSITE 1, DVD, GAME,
|
|
672
|
+
HD RADIO, HDMI 1, HDMI 2, HDMI 3, HDMI 4, HDMI 5, HDMI 6, HDMI 7, HDMI 8, HDMI 9, HDMI 10, HDMI ARC, INPUT 1,
|
|
673
|
+
INPUT 2, INPUT 3, INPUT 4, INPUT 5, INPUT 6, INPUT 7, INPUT 8, INPUT 9, INPUT 10, IPOD, LINE 1, LINE 2, LINE 3,
|
|
674
|
+
LINE 4, LINE 5, LINE 6, LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3,
|
|
675
|
+
PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1, VIDEO 2, VIDEO 3, XBOX
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
#### Apple TV
|
|
679
|
+
|
|
680
|
+
- This is the config from my Apple TV using the homebridge-apple-tv plugin after completing the pairing. Please note, *"showDefaultSwitches": true* and *"defaultSwitchesIncludeATVName": true*, are required parameters. Please note I blanked out the devices/credentials section with my ATV credentials.
|
|
681
|
+
|
|
682
|
+
```
|
|
683
|
+
{
|
|
684
|
+
"platform":"AppleTV",
|
|
685
|
+
"name":"Apple TV",
|
|
686
|
+
"devices": [{
|
|
687
|
+
"id": "Cottage",
|
|
688
|
+
"name": "TV",
|
|
689
|
+
"credentials": "...." }
|
|
690
|
+
],
|
|
691
|
+
"showDefaultSwitches": true,
|
|
692
|
+
"defaultSwitchesIncludeATVName": true,
|
|
693
|
+
"showPairSwitches": false,
|
|
694
|
+
"hideWelcomeMessage": true
|
|
695
|
+
}
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
- This is the config for the homebridge-apple-tv-remote plugin. This allows you to pause/play forward/rewind on device.
|
|
699
|
+
|
|
700
|
+
Please note that the name in brackets ie (TV) will be the Name alexa uses to control your AppleTV
|
|
701
|
+
|
|
702
|
+
```
|
|
703
|
+
{
|
|
704
|
+
"platform": "AppleTvPlatform",
|
|
705
|
+
"devices": [{
|
|
706
|
+
"name": "Family Room (TV)",
|
|
707
|
+
"credentials": "XXXXXXXXXXXX",
|
|
708
|
+
"isOnOffSwitchEnabled": true,
|
|
709
|
+
"onOffSwitchName": "Power (TV)",
|
|
710
|
+
"isPlayPauseSwitchEnabled": true,
|
|
711
|
+
"playPauseSwitchName": "Play (TV)",
|
|
712
|
+
"commandSwitches": [{
|
|
713
|
+
"name": "Right (TV)",
|
|
714
|
+
"commands": [{
|
|
715
|
+
"key": "right",
|
|
716
|
+
"longPress": false
|
|
717
|
+
}]
|
|
718
|
+
}, {
|
|
719
|
+
"name": "Left (TV)",
|
|
720
|
+
"commands": [{
|
|
721
|
+
"key": "left",
|
|
722
|
+
"longPress": false
|
|
723
|
+
}]
|
|
724
|
+
}]
|
|
725
|
+
}],
|
|
726
|
+
"isApiEnabled": false
|
|
727
|
+
}
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
Also to enable turning on and off your Apple TV, add this to your homebridge-alexa configuration.
|
|
731
|
+
|
|
732
|
+
```
|
|
733
|
+
"combine": [{
|
|
734
|
+
"into": "TV",
|
|
735
|
+
"from": ["Power (TV)"]
|
|
736
|
+
}]
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
#### Yamaha Spotify Controls
|
|
740
|
+
|
|
741
|
+
This uses the plugin homebridge-yamaha-home and a Yamaha Receiver which includes Spotify and Spotify Playback Controls.
|
|
742
|
+
|
|
743
|
+
#### New Parser
|
|
744
|
+
|
|
745
|
+
~~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.~~
|
|
746
|
+
|
|
747
|
+
```
|
|
748
|
+
"oldParser": true
|
|
749
|
+
```
|
|
750
|
+
|
|
751
|
+
Support for the oldParser option was **deprecated** with version 0.5.0
|
|
752
|
+
|
|
753
|
+
## Initial Testing and confirming configuration
|
|
754
|
+
|
|
755
|
+
5. Start homebridge in DEBUG mode, to ensure configuration of homebridge-alexa is correct. This will need to be executed with your implementations configuration options and as the same user as you are running homebridge. If you are homebridge with an autostart script ie systemd, you will need to stop the autostart temporarily.
|
|
756
|
+
|
|
757
|
+
ie
|
|
758
|
+
```
|
|
759
|
+
DEBUG=alexa* homebridge -I
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
6. Please ensure that homebridge starts without errors, and output should be similar to this. This is from my setup, and I have several instances of homebridge so you may have a different number of alexaHAP lines.
|
|
763
|
+
|
|
764
|
+
```
|
|
765
|
+
alexaHAP Starting Homebridge instance discovery +0ms
|
|
766
|
+
alexaLocal Connecting to Homebridge Smart Home Skill +1ms
|
|
767
|
+
[2018-3-17 11:23:57] Homebridge is running on port 51826.
|
|
768
|
+
alexaHAP HAP Device discovered Porch Camera [ '192.168.1.226' ] +87ms
|
|
769
|
+
alexaHAP HAP instance address: Porch Camera -> howard.local -> 192.168.1.226 +1ms
|
|
770
|
+
alexaHAP HAP Device discovered Howard [ '192.168.1.226' ] +4ms
|
|
771
|
+
alexaHAP HAP instance address: Howard -> howard.local -> 192.168.1.226 +0ms
|
|
772
|
+
alexaHAP HAP Device discovered Howard-Hue [ '192.168.1.226' ] +0ms
|
|
773
|
+
alexaHAP HAP instance address: Howard-Hue -> howard.local -> 192.168.1.226 +0ms
|
|
774
|
+
alexaHAP HAP Device discovered Spare Camera [ '192.168.1.226' ] +1ms
|
|
775
|
+
alexaHAP HAP instance address: Spare Camera -> howard.local -> 192.168.1.226 +0ms
|
|
776
|
+
alexaLocal offline +5ms
|
|
777
|
+
alexaHAP HAP Device discovered Penny [ 'fe80::ba27:ebff:febf:bbaa', '192.168.1.4', '169.254.185.85' ] +42ms
|
|
778
|
+
alexaHAP HAP instance address: Penny -> penny.local -> 192.168.1.4 +0ms
|
|
779
|
+
alexaHAP Homebridge instance discovered Howard with 12 accessories +7ms
|
|
780
|
+
alexaHAP Homebridge instance discovered Porch Camera with 1 accessories +11ms
|
|
781
|
+
alexaHAP Homebridge instance discovered Howard-Hue with 5 accessories +1ms
|
|
782
|
+
alexaHAP Homebridge instance discovered Spare Camera with 1 accessories +10ms
|
|
783
|
+
alexaHAP Homebridge instance discovered Penny with 26 accessories +101ms
|
|
784
|
+
alexaHAP HAP Device discovered Bart-Dev [ 'fe80::1c05:2c:5ae4:abdc', '192.168.1.231' ] +662ms
|
|
785
|
+
alexaHAP HAP instance address: Bart-Dev -> Bart.local -> 192.168.1.231 +0ms
|
|
786
|
+
alexaHAP Homebridge instance discovered Bart-Dev with 1 accessories +7ms
|
|
787
|
+
alexaLocal reconnect +4s
|
|
788
|
+
alexaLocal connect command/northernMan/# +174ms
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
Please note, that if you have other HomeKit devices on your network, like Philip's hue hub's, they will generate a `HAP Discover failed` message that can be ignored.
|
|
792
|
+
|
|
793
|
+
## Enable Homebridge smarthome skill and link accounts
|
|
794
|
+
|
|
795
|
+
7. In your Amazon Alexa app on your phone, please search for the "Homebridge" skill, and enable the skill. You will need to Enable and link the skill to the account you created earlier on https://www.homebridge.ca/
|
|
796
|
+
|
|
797
|
+
## Discover Devices
|
|
798
|
+
|
|
799
|
+
8. At this point you are ready to have Alexa discover devices. Once you say Alexa, discover devices, the output will get very verbose for a minute. After discovery is complete you should see a line showing the number of devices returned to Alexa.
|
|
800
|
+
|
|
801
|
+
ie
|
|
802
|
+
|
|
803
|
+
```
|
|
804
|
+
.
|
|
805
|
+
.
|
|
806
|
+
.
|
|
807
|
+
alexaTranslator Alexa Controllable Penny 22 +1ms
|
|
808
|
+
alexaTranslator Alexa Controllable Bart-Dev 0 +0ms
|
|
809
|
+
[2018-3-17 11:01:03] [Alexa] alexaDiscovery - returned 36 devices
|
|
810
|
+
```
|
|
811
|
+
|
|
812
|
+
In the event you have errors, or no devices returned please review your config.
|
|
813
|
+
|
|
814
|
+
Please note, as part of the verbose output from discovery devices, all your devices with the Alexa voice commands for each accessory are output in CSV format. You could grab these, format them into something usable and share.
|
|
815
|
+
|
|
816
|
+
9. Installation is now complete, good luck and enjoy.
|
|
817
|
+
|
|
818
|
+
# Service Availability and Issues
|
|
819
|
+
|
|
820
|
+
## Homebridge cloud service monitoring ( homebridge.ca )
|
|
821
|
+
|
|
822
|
+
* Contact Sensor **Alexa** monitors the connection to the cloud service. When the contact sensor is **Closed**, the connection has been **successfully** made to the cloud service, and when the contact sensor is **Open** the connection to the cloud service has **not** been made. To determine why the connection to the cloud service is not working, please check your homebridge log files. During **normal** operation the Contact Sensor should be **Closed**.
|
|
823
|
+
|
|
824
|
+
* Real time monitoring of the homebridge.ca cloud service is provided by [Uptime Robot](https://stats.uptimerobot.com/2WmEDHyV6).
|
|
825
|
+
|
|
826
|
+
* 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.
|
|
827
|
+
|
|
828
|
+
## Raising Issues and Troubleshooting
|
|
829
|
+
|
|
830
|
+
### Troubleshooting ###
|
|
831
|
+
|
|
832
|
+
<img align="right" src="docs/AccountStatus.png" height="200">
|
|
833
|
+
|
|
834
|
+
To assist in troubleshooting setup issues with your account, the hombridge.ca website displays the status of your account.
|
|
835
|
+
|
|
836
|
+
From here you should be able to determine if your plugin is communicating with the service and if your Amazon Alexa account has enabled the Homebridge-Alexa skill.
|
|
837
|
+
|
|
838
|
+
### Known Issues
|
|
839
|
+
|
|
840
|
+
* I have started recording troubleshooting tips here based on issues seen by the community [Troubleshooting](Troubleshooting.MD).
|
|
841
|
+
* All homebridge PIN's in your setup need to be set to the same value.
|
|
842
|
+
* 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.
|
|
843
|
+
* 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.
|
|
844
|
+
* The maximum number of supported devices is 300. This is a limitation from the from the Amazon side, and not the plugin.
|
|
845
|
+
* 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
|
|
846
|
+
|
|
847
|
+
### Discord Channel
|
|
848
|
+
|
|
849
|
+
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
|
|
850
|
+
|
|
851
|
+
### Debug logs
|
|
852
|
+
|
|
853
|
+
To collect a debug log, please start homebridge with this command line
|
|
854
|
+
|
|
855
|
+
```
|
|
856
|
+
DEBUG=* homebridge -I
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
### Homebridge Accessory Dump
|
|
860
|
+
|
|
861
|
+
Sometimes during troubleshooting I need a dump of your homebridge accessories. Please use this command to collect it. If needed you can change the ip address, port or pin to match your environment.
|
|
862
|
+
|
|
863
|
+
```
|
|
864
|
+
curl -X PUT http://127.0.0.1:51826/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
|
|
865
|
+
```
|
|
866
|
+
|
|
867
|
+
# Roadmap
|
|
868
|
+
|
|
869
|
+
See [Roadmap](Roadmap.md)
|
|
870
|
+
|
|
871
|
+
# Credits
|
|
872
|
+
|
|
873
|
+
* Ben Hardill - For the inspiration behind the design.
|
|
874
|
+
* Chrisx9 - German translation
|
|
875
|
+
* Tait Brown - HomeSkill Icon
|
|
876
|
+
* ozno - Recommendation for the bonjour MDNS implementation, and testing on RPI 0 W
|
|
877
|
+
* fazerize - Initial support for Thermostats
|
|
878
|
+
* francescob - Validate TV Integration for homebridge-panasonic-viera-tv@4.1.0, homebridge-bravia@1.1.0 and homebridge-sky-q-experimental@1.0.2
|
|
879
|
+
* jelvs - Validate TV Integration for homebridge-samsung-tizen
|
|
880
|
+
* krocko - bose soundlink preset / channel change
|
|
881
|
+
* pwilms - deviceList feature
|
|
882
|
+
|
|
883
|
+
|