User Tools

Site Tools


supported_hardware:alexa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
supported_hardware:alexa [2018/10/01 18:09] – [Amazon Alexa Bridge] Michel Fergusonsupported_hardware:alexa [2023/02/13 14:52] (current) – external edit 127.0.0.1
Line 1: Line 1:
 =====Amazon Alexa Bridge===== =====Amazon Alexa Bridge=====
 +-----
 +**NOTE** as of October 2019 Amazon pushed an update to their Alexa devices that broke every single non-cloud based home automation integration system, not just XTension. As of February 2020 there are three potential solutions to this problem since Amazon either wanted to do this or is not interested in fixing it.
 +  * the simplest solution is to find a generation 1 Echo device on ebay or elsewhere. Note that many that are labeled as such actually aren’t as people don’t really know what they are selling and are re-using descriptions from other similar devices. Please make sure you can identify a version 1 device! It will have the bezel that you can physically turn to change the volume. If if has buttons to adjust the volume then it is not a generation 1 device and will not solve your problem. These gen 1 devices are not eligible for the newer software updates and therefore will not automatically receive the update that breaks everything. Once you have one on your network you can do the discovery for new devices through it and not through one of your newer devices. When that is working all communications to the shared units will go through this older device even if you issue the command from a newer device also on your network. This works without having to make any other changes to your system usually though you may have to re-discover all your units through the new/old device.
 +  * If you do not require port 80 standard web services on your XTension server you can now run the new [[supported_hardware:alexasudo|Alexa Plugin with Sudo]] to get around the limitations of the new Amazon software. This is limited to a single instance of the plugin running on the XTension server.
 +  * If you do require the standard web port on your XTension mac or you need multiple instances of the plugin to share all the units that you wish to then you can run more instances of the plugin on separate machines. This will work from extra Macs or more easily by putting the plugin code onto a Raspberry Pi. See the [[supported_hardware:alexapi|Alexa On Raspberry Pi]] page for more info.
 +
 +-----
  
 With the Alexa Bridge you can control any of your XTension units via voice control through any compatible Amazon Alexa or Echo device. Since this works by pretending to be a phillips hue hub, the Alexa can control your units even without a working internet or cloud connection.  With the Alexa Bridge you can control any of your XTension units via voice control through any compatible Amazon Alexa or Echo device. Since this works by pretending to be a phillips hue hub, the Alexa can control your units even without a working internet or cloud connection. 
  
-The down side is that we’re limited to turning things on and off and setting a brightness for them. Because of a limitation in the Alexa driver for this each plugin instance is limited to sharing 20 units and/or scripts. If you wish to share more than that number of units create another interface instance and set it up with the remaining units.+The direct Alexa interface limited to turning things on and off and setting a brightness for them. Each plugin instance is limited to sharing 20 units and/or scripts. If you wish to share more than that number of units create another interface instance and set it up with the remaining units.
  
 The original Bridge was written by Dean Davis of [[http://www.afterten.com|Afterten Software]]. If you haven’t also checked out his [[http://www.afterten.com/products/weatherman/|WeatherMan]] app you should do so. We have a tutorial for [[webremote:weatherman|getting all your local weather data and forecasts into XTension]] from that app. The original Bridge was written by Dean Davis of [[http://www.afterten.com|Afterten Software]]. If you haven’t also checked out his [[http://www.afterten.com/products/weatherman/|WeatherMan]] app you should do so. We have a tutorial for [[webremote:weatherman|getting all your local weather data and forecasts into XTension]] from that app.
Line 18: Line 25:
 In the Interface list window click the New interface button and select “Alexa Hue Bridge” from the Device popup. In the server settings enter a unique port number that isn’t in use by any other server process on the server. If you create multiple instances to share more than 20 units they must each have a unique port number. In the Interface list window click the New interface button and select “Alexa Hue Bridge” from the Device popup. In the server settings enter a unique port number that isn’t in use by any other server process on the server. If you create multiple instances to share more than 20 units they must each have a unique port number.
  
-{{ :supported_hardware:sharingselection.png?direct&400|}}To setup which devices will be available to the Alexa either leave the default selection of Share Everything, which probably isn’t a good idea unless you only have 3 things in your database, or change to the Limit to selected Objects selection. Then click the Sharing Selection button. From that window you can choose the lists of units and scripts that you wish to share.+{{ :supported_hardware:sharingselection.png?direct&400|}} 
 +To setup which devices will be available to the Alexa either leave the default selection of Share Everything, which probably isn’t a good idea unless you only have 3 things in your database, or change to the Limit to selected Objects selection. Then click the Sharing Selection button. From that window you can choose the lists of units and scripts that you wish to share.
  
 {{:supported_hardware:listisbeingshared.png?direct&400 |}}Once you’ve selected some items to share and saved the interface, or clicked “Apply,” the shared lists will show an icon in their toolbar that lets you know that they are being shared. The toolbar item will bring up a menu that shows all the interfaces that are sharing that list. If you select the item in the list it will open the edit interface dialog for that interface. {{:supported_hardware:listisbeingshared.png?direct&400 |}}Once you’ve selected some items to share and saved the interface, or clicked “Apply,” the shared lists will show an icon in their toolbar that lets you know that they are being shared. The toolbar item will bring up a menu that shows all the interfaces that are sharing that list. If you select the item in the list it will open the edit interface dialog for that interface.
supported_hardware/alexa.1538417389.txt.gz · Last modified: 2023/02/13 14:51 (external edit)