HueEmulation binding not working with Docker
See original GitHub issueSeems that the way this binding was thought, is not going to work with Docker. I’m getting the following log messages:
23:13:16.069 [TRACE] [tion.internal.HueEmulationUpnpServer] - Got SSDP Discovery packet from 172.17.0.3:50883
23:13:16.070 [TRACE] [tion.internal.HueEmulationUpnpServer] - Sending to 172.17.0.3 : HTTP/1.1 200 OK
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://172.17.0.3:8080/api/discovery.xml
SERVER: FreeRTOS/7.4.2 UPnP/1.0 IpBridge/1.10.0
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:601df881-c2ed-476e-a741-1fa0313d9b39::urn:Belkin:device:**
Even after setting the property discoveryIp, the binding is assigning an internal docker ip which is obviously not exposed and thus it will never going to be reach out by the Amazon Echo.
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
How to get Hue emulation working inside a docker container?
It seems like the Hue emulation binding is having problems with this setup though. Any ideas how to get it working? 4. 4...
Read more >HueEmulation announces wrong IP when run in Docker ...
I recently ran into issues with my Hue lamps and deleted from for troubleshooting from the Alexa App and wanted them to get...
Read more >[hueemulation] Could not send UPNP response - Bindings
I have started to play around with Hue emulation. Mainly because I found some nice features I want to use in my entire...
Read more >Docker Emulated Hue UPNP not working - Configuration
Looks like UPNP may bind to random address at system start. At least that is what happens in other software. This maybe why...
Read more >Docker port binding not working as expected - Stack Overflow
This is not an answer to this specific question. It is a possible answer to "port mapping doesn't work". I've been caught by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I didn’t have a chance to really look at this in-depth, but I would assume it’s the same issue as was recently solved for Sonos Controller (see https://github.com/SoCo/SoCo/pull/444 ) - if the Hue Emulator is auto-detecting it’s own IP address, it will be sending out the Docker container’s local IP address rather than the host’s ethernet IP, so it gets broadcast messages from devices, but then points the device to connect to a wrong / unreachable IP.
I’m also finding the same problem. I was previously running Home Assistant in docker and had some issues but resolved them when I found Hue was looking to find the emulator on port 80. Has anyone resolved this?