homebridge-alexa Version 2 - Home Skill Based
Enable Amazon Alexa to control your homebridge smart home devices and accessories. Please note, that this does NOT bring Alexa enabled devices into homebridge, for this please try homebridge-alexa-smarthome.
Everyone, as your probably aware we have been running this for a number of years as a free service, and with the growth in users of the service and the volume of transactions flowing thru the cloud components we need to change to a subscription based service to continue to offer the service in a sustainable manner.
The ongoing costs to run and support the cloud services have grown to the point where it is larger than pocket change, and rather than reducing functionality we have made the hard decision to switch to a subscription based model to continue to offer the current high levels of service.
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.
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.
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).
Alexa device names are the same as the homebridge device names.
This only supports accessories connected via a homebridge plugin, any 'Homekit' accessories are not supported, and will never be supported. See Non-Homebridge Devices
homebridge-alexa
only supports devices that are managed by the Homebridge instance. This means that HomeKit-supported devices that you add to your home via only HomeKit will not be available to Alexa through this plugin. You may wish to use the device manufacturer's app (if they have one) to link Alexa to the device(s) in duplicate to your existing HomeKit binding. Most devices are perfectly happy to be part of two worlds in this sense.Alexa, turn on device
Alexa, turn off device
Alexa, set device to 50
Alexa, dim device
Alexa, brighten device
warm, warm white
incandescent, soft white
white
daylight, daylight white
cool, cool white
See example for using a routine to fix the wording
Alexa, raise device ( Open's a garage door )
Alexa, open device ( Open's a garage door )
Alexa, lower device ( Close's a garage door )
Alexa, close device ( Close's a garage door )
Opening a garage door requires configuring a voice pin in the Alexa App.
The Turn On
thermostat behaviour is configured in the Optional Setting config menu under Thermostat Turn On Behaviour
, and unless this is configured Turn On
is disabled, and alexa will respond with That command does not work on device
.
Adamo Maisano provided a deeper comparison of Thermostat Voice Control here.
Alexa, pause device ( Apple TV )
Alexa, resume device ( Apple TV )
Alexa, play device ( Apple TV )
Alexa, stop device ( Apple TV )
Alexa, next on device ( right arrow )
Alexa, rewind on device ( left arrow )
Alexa, turn on device ( Apple TV )
Alexa, turn off device ( Apple TV )
With the enhancedSkip
option on the homebridge-appletv-enhanced plugin, and when watching YouTube or other sources, you can use the wording Alexa, tv skip
or alexa skip tv
to press the skip button that appears after a little while.
Alexa, turn on device
Alexa, turn off device
Alexa, raise the volume on device
Alexa, lower the volume on device
Alexa, volume up 20 on device
Alexa, set the volume of device to 50
These are the remote buttons
Alexa, pause device ( pause/play )
Alexa, resume device ( pause/play )
Alexa, play device ( select )
Alexa, stop device ( back )
Alexa, next on device ( right arrow )
Alexa, rewind on device ( left arrow )
Alexa, change input to input on the device
Panasonic TV: - homebridge-panasonic-viera-tv@4.1.0
Sony Bravia TV (Android TV) - homebridge-bravia@1.1.0
Sky Q decoder - homebridge-sky-q-experimental@1.0.2
Samsung Tizen - homebridge-samsung-tizen
Yamaha AVR - homebridge-yamaha-zone-tv
LG WebOS TV - homebridge-lgwebos-tv
Installation and configuration instructions are here.
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.
Real time monitoring of the homebridge.ca cloud service is provided by Uptime Robot.
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 Invite.
To assist in troubleshooting setup issues with your account, the hombridge.ca website displays the status of your account.
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.
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 Invite
To collect a debug log, please start homebridge with this command line
DEBUG=* homebridge -I
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.
curl -X PUT http://127.0.0.1:51826/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
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.
The entries in the log file look like this for each homebridge instance.
alexaActions Homebridge Accessory Information Dump for Hue B509
alexaActions curl -X PUT http://192.168.1.11:40889/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
alexaActions
alexaActions Homebridge Accessory Information Dump for Alexa E33F
alexaActions curl -X PUT http://192.168.1.11:33019/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
alexaActions
alexaActions Homebridge Accessory Information Dump for Tuner 8723
alexaActions curl -X PUT http://192.168.1.11:45397/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
alexaActions
alexaActions Homebridge Accessory Information Dump for Tasmota 5019
alexaActions curl -X PUT http://192.168.1.11:38859/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
alexaActions
alexaActions Homebridge Accessory Information Dump for homebridge-tuya BF07
alexaActions curl -X PUT http://192.168.1.11:36323/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
alexaActions
See Roadmap