This plugin is not intended to be an officially supported Alexa integration, but rather as a short-term solution until we can evaluate how best to officially support Alexa devices. See our blog post on the subject and the Terms section on the main repository page for more information. The important point here is that it's based on reverse-engineered protocol information between an Amazon Echo and a Hue hub - which means that either could change how it works and the plugin may immediately stop working. We may or may not have the time to spend trying to figure out a fix/workaround if that happens - you have been warned.
You can get the latest version from the releases section on the GitHub repository, and you can find directions for use on the main repository page.
A special thanks to forum user growlf for his hueAndMe script, which was the basis and inspiration for this plugin. Without that, it definitely wouldn't have happened.
Troubleshooting
The main problem that people are experiencing is with UPNP port conflicts. Only one app/plugin at a time can have that port (1900) bound and there are others that do it. The Sonos plugin does, along with a variety of other Mac apps. Use the following command in a terminal window to see what apps have it open - you'll need to quit them during discovery only:
- Code: Select all
lsof -i :1900
Another potential problem can occur when you have an actual Hue Hub on your network, the discovery process won't work correctly while it's connected. The workaround seems to be to disconnect the network cable from the Hue Hub and then perform the discovery. You can plug the network cable back in after the discovery process is complete.
If you've ever had Mac OS X Server installed, or have somehow changed your hostname, then you may experience an error when the plugin starts up. The error you may see is this:
- Code: Select all
Alexa-Hue Bridge Error Computer has no host name specified. Check the Sharing system preference and restart the plugin once the name is resolved.
This means that the plugin can't get the computer's host name, which is required for it to work. Most of the time this means you have or had Mac OS X server installed at one point. One user identified a workaround that seemed to work for him.
Another thing is to make sure your Echo device is on the same network as your Indigo server - UPnP only works on the same subnet.