Home

Awesome

homebridge-alexa Version 2 - Home Skill Based

NPM Downloads

<h1><p align="center"> <img src="docs/README_Image.001.jpeg" width="80%" style="vertical-align:middle"> </p></h1>

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.

Note to users of the service

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.

New Users

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.

Availability

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).

Features

Table of Contents

<!--ts--> <!--te-->

Supported devices

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

HomeKit/Homebridge Devices supported

Native Support

Supported as Other Types

Non-Homebridge Devices

Unsupported device types

Alexa Voice Commands

Setup

Light bulbs / Switches / Dimmer Switches

Color lights

Color temperature

Color Temperatures

warm, warm white
incandescent, soft white
white
daylight, daylight white
cool, cool white

Garage door, Blinds and Window Coverings

Garage Door With door = false

See example for using a routine to fix the wording

Window coverings / blinds With blind = false

Garage Door With blind = true ( Not supported in all countries )

Window coverings / blinds With blind = true ( Not supported in all countries )

Thermostat's and Heater / Cooler's

For Thermostat's only

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.

Lock / Unlock Doors

Temperature sensors

AppleTV ( homebridge-apple-tv, homebridge-apple-tv-remote or homebridge-appletv-enhanced )

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.

HomeKit Television

These are the remote buttons

HomeKit Television - Tested plugins

Television Inputs and Channels

Speakers

Bose SoundLink - Change preset

Yamaha Receiver/Spotify control

Contact and Motion Sensors

Door bell devices

Installation of homebridge-alexa

Installation and configuration instructions are here.

Service Availability and Issues

Homebridge cloud service monitoring ( homebridge.ca )

Raising Issues and Troubleshooting

Troubleshooting

<img align="right" src="docs/AccountStatus.png" height="200">

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.

Known Issues

Discord Channel

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>

Debug logs

To collect a debug log, please start homebridge with this command line

DEBUG=* homebridge -I

Homebridge Accessory Dump

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 

Roadmap

See Roadmap

Credits