I’m new to Home Assistant, but so far most things have worked well with little configuration, sweet. However I’m having issues with the emulated hue component.
I’m trying to connect my Alexa app to HA with little success. In the Alexa app when I click discover nothing shows up. I’ve tried using the actual Hue app to see if that works and it doesn’t (should it?)
I’ve tried running as regular user “hass” on port 8300, root on 8300 and port 80, and each try I can see the response in my browser, but neither app can find the bridge.
Both devices (phone and server) are running on the same subnet, addresses are 10.3.37.22 and 10.3.37.26 with successful communication between them (pings and nmap)
I’ve also tried turning the api_password off, but that didn’t make any difference.
Also, nothing is showing up in the log, except “Listen IP address not specified, auto-detected address is 10.3.37.22”
Does anybody have any suggestions of things I can try?
Not sure if this is related, but when I started doing custom intents with Alexa, I had to have HASS set up for SSL. All endpoints in Alexa Voice Services have to be https, even if it’s a private skill in test mode.
@ericfri can you post your emulated_hue: settings in the configuration.yaml
The more information we have to go on the better chance we can pinpoint the problem
Yeah, this would only apply when using the custom skills with Alexa, but https is not necessary for connecting Alexa to Home Assistant over the network
I personally can’t recommend the embedded hue emulation feature of Home Assistant, as it is still pretty buggy and relies upon restarting Home Assistant on any changes.
I would still recommend HA Bridge as your hue emulator, as it gives you control over not only home assistant, but ANY third party API as well as terminal commands to be accessed by Alexa as on/off devices. It supports dimming, which can also be used as a feature to control a thermostat through Alexa, as it passes through the temperature while thinking it is passing through a brightness level, so I currently tell Alexa to set my thermostat to 74 and it passes through the number to the HA Bridge which calls the Home Assistant API which sets my temperature to 74. It can even be hooked up to existing hue bridges to proxy their devices through so that Alexa only has to connect to the HA Bridge and still see all devices on all of your physical hue bridges.
It’s perfect for those that don’t even own hue bridges as well as those that do.
It also works well with homebridge, so those with iOS devices can do the same things with Siri as they can with Alexa. I am using both Alexa and Siri and both have acces to the same set of devices setup on HA Bridge.
I’ve looked at this before but it looks like a bear to set up and config for less experienced users. Any good tutorials or setup guides you could point us to, @jbardi? I’d like to give it a try but am a little apprehensive.
For what it’s worth, I’m trying this using http://alexa.amazon.com/ and https://echosim.io/ and the “Discover Devices” does not find anything either. Not sure if it will in this configuration but thought I’d try anyway. My YAML looks like this:
I can’t remember if ha-bridge automatically creates the data folder or not, but I could have sworn it wasn’t created for me, so you an just create it yourself:
I found that my Echo and Dot had to be on the same network as my HA. Multicast is sometimes not forwarded correctly through routers, I think is the cause. When I say network, I mean the same wifi network. Otherwise it will find no devices.
I’ve done some more research and testing on this. I setup HA Bridge, which was pretty straight forward, and created a test device that works via the HA Bridge console.
Still having the same results, Echo doesn’t find any new devices. So this is leading me to believe that either my router has something to do with it (Asus RT-AC88U), or the fact that I run it on Ubuntu and the OS is doing something to block the discovery traffic (UFW Firewall Off), or that the Ubuntu is a VM running on a QNAP with 802.3ad port trunking and that is interfering with the multicast traffic.
I might throw HA Bridge on a Pi and see if I get better results.
Oh, sorry about that, it had been months since I installed this, so I totally forgot that java may not have been installed already. I’ll add that to the steps above, thanks!
Thanks. Is there a trick to getting Alexa to ‘see’ the bridge. HA-Bridge is working and I’ve added my Vera and can initially control two switches and a scene through the bridge using the web gui. When I scan for devices though, nothing is found either in http://alexa.amazon.com or the app. Same thing that is happening with the new Emulated Hue. Do would I go about debugging that?
I’m having the same issue. HA-Bridge on Pi2 now with Linksys EA6500 router with UPnP enabled. Pi is connected via LAN and I’m running http://alexa.amazon.com in Firefox to test, connected to the same network but via WiFi. Just tried connecting laptop via LAN, no difference. App on phone ‘sees’ nothing either.