I set up emulated hue in Home Assistant and Alexa successfully discovers exposed devices and can turn on devices but Alexa speaks too much when doing this
She says “Light isn’t responding. Please check its network and power supply.” although she just turned the very same light on split second ago.
Any solutions?
Wild guess: Some implementation problem on HA side - probably does not respond with something in format expected by Alexa.
Same problem here. Lights switch on and off OK, but Alexa complains the the ‘device is not responding’ when turning off, even though it does switch it off.
Had been working fine for a couple of years.
Deleted emulated_hue_ids.json and let it recreate, same problem.
The changes in 0.98 broke a template light for me (it showed up as “HASS321” in api/pi/lights and Alexa wouldn’t see it ). Adding “set_level:” to my template light (Even with no action) made it show up as “HASS123” and it worked with Alexa… does this correct the changes just with 0.98? It looks like you added an additional model id?
Before, all devices were dimmable color lights. Now it is checked if the device is dimmable: if (entity_features & SUPPORT_BRIGHTNESS)
I added a new model for plugs/switches.
I also changed if (entity_features & SUPPORT_BRIGHTNESS) or entity.domain != light.DOMAIN:
to if (entity_features & SUPPORT_BRIGHTNESS) or entity.domain == script.DOMAIN:
Hi, I’ve the same problem in version 0.99. Alexa finds the lights specs offered by emulated_hue, but does not turn them on or off and says that “the device isn’t responding”. /api/pi/lights returns the list of devices, some are “HASS321” and others are “HASS123”. None of the work.
Thanks for the pointer to this. I’m having the same problem here too. It looks like the fix in question made it into the 0.98 release. However, I have some RF sockets which are configured as switches rather than lights, and the problem did not go away with the new release.
I was able to get it to show up as a non dimable light by using a Light Switch entry for my switch:
Like others, I was having the same problem. I deleted all my Alexa devices, deleted the emulated_hue_ids.json file and tried to have the Alexa app rediscover devices. It finds nothing. Sniffing UDP packets, I can see that the Echos are making the UPNP requests, but not finding anything. I haven’t done a discover in awhile, so I’m not sure when something changed. I have 2 Echo Dots (2nd gen), 1 Echo (1st gen) and a 3rd gen dot.
Anyone have clues on how I can troubleshoot this? I’m thinking that the UPNP in the emulated_hue isn’t responding (it does appear to be listening on port 1900), but can’t prove it.
You say that http://ha/description.xml is working, so that would say to me that your instance is responding to requests on port 80 properly - that is the most likely thing to go wrong. The other thing I would check is whether your host_ip / advertise_ip are set properly. host_ip tells it which interface to listen on, and advertise_ip is the IP address that the UPNP responder sends in its responses.
Also, check you are getting debug messages for at least these components:
Thanks for the reply! I should have replied to my own post with my “solution”. Since my post, I moved my Home Assistant install to a mini PC (Core i3 fanless XCY mini PC) running HassOS (hass.io on top of it). I then discovered devices from the Alexa app and everything started working again. I suspect that the VM (VMWare Fusion on Mac OS 10.15) had trouble listening on the UDP multicast port. Since the mini PC doesn’t have an extra networking layer between Home Assistant and the hardware (yes, I know it has hass.io managing the docker containers), I think that is the root cause.
In any case, thanks for taking the time to respond!
I scrapped the hue component fed up with the intermittent issues. Now on interface with IFTTT that seems to be working well, just a little more set up and with the commands from IFTTT be sure to check the speech marks are straight and not slanted, it stops it working! Once one applet is in you can copy and its easy to add entities.
There’s a big update gone into the upcoming version 103, due to be released next week. It should fix most of the problems that people have been reporting.