Has anyone gotten discovery working in 0.62.x? I noticed it was working ok before, but somewhere along the upgrade line discovery stopped working. Searches for similar issues indicated I should specify listen_port: 80 under emulated_hue: and that changes the port fine (can pull up the proper JSON), but when I run discover either on the Alexa app or web interface, my HA IP is not probed for devices (checked with tcpdump).
I’ve tried all sorts of fixes - reducing the number of exposed entities to basically two or three, but that doesn’t seem to be the problem. I think it might have something to do with emulated_hue not responding to upnp requests to 239.255.255.250 1900/udp, which is what I’m seeing one of my Echo Dots look up when I ask it to discover devices on the local subnet.
Well I’m not sure what it was, but it looks like there was some weird interactions between emulated_hue and multicasts when running the underlying Linux interface in bridge mode. Returning the interface to a normal interface (well a layer 3 tagged vlan interface) and restarting the whole thing seems to have fixed it. Really odd because it was responding to other multicast devices without issue.
In tcpdump can you see HA responding to the description.xml request? or does not repspond at all?
In my setup i would get a description.xml request from the echo but the responce from HA was apparently ignored as there was no further interaction.
Yeah, it was pulling up description.xml and the api interface cleanly. I’m petty sure it had to do with the bridged networking causing issues with an upstream switch (where the Echos were located).