emulated_Hue in 2022.7 - does it work? How to configure?

I’m running HA 107.7 with emulated_hue working fine in a docker environment. Since there are many breaking changes moving to the current version, I decided to build new using an rpi4.

I have most of it working, however, getting emulated_hue working is going nowhere. If I try to do the automated install, I get to the point where it asks me to press a button on the bridge, yet I read somewhere else that the emulated hue is always “pressing the button”, but it fails at this point.

I looked at http::80/description.xml and there is plenty there, but looking at /api/v2/lights just shows “{}” empty brackets.

I’ve checked that the *.py files match those on the latest github repository, but I can’t get it to recognize my lights. Configuration file currently looks like this:

emulated_hue:
 # type: alexa
  host_ip: 192.168.0.202
  listen_port: 80 
  expose_by_default: true  #<- tried true and false
  exposed_domains:
    - light  #<- tried with and without this
  entities:
    light.alexa_virtual:
      name: "Alexa Virtual Light"
      hidden: false
    light.security_check:
      name: "security check"
      hidden: false
    light.office:
      name: "My Office Light"
      hidden: false

I’ve tried several variations of commenting out certain lines as I’ve discovered while reading other’s plight trying to get it to work.

Is there some secret sauce that I’m missing or does it not work the same as in 107.7? I’m really stumped on this and I thought I knew all the tricks building my first HA system and failing on many levels but finally succeeding. It’s been running several years. But I have run out of ideas on this emulated hue integration. It seems to be there, but does not recognize my lights (real or virtual).

Thanks for any help you can lend.

Did you ever get Emulated HUE working?

I am running Home Assistant in a Docker and I have not been able to even access the :80 webpage to verify that it is enabled.

Running Home Assistant 2023.1.2 Frontend 20230104.0 - latest

Any assistance would be appreciated.

Yes - it started working for some unknown reason. I tried many things but can’t tell you what made it finally work. Whn it was failing, there was nothing on port 80, but now I do get the full xml returned when I access 192.168.0.200/description/xml though.

I know that as I was setting up the newer server, many things were going wrong and my RPi 4 was blowing up my USB 3.0 SSD disk regularly until I plugged it into a USB 2.0 slot and then I was able to continue building the HA Server.

So I ran into way too many problems to figure out what the original issue was. It just started working after one of the many reboots (and backups.)

Wish I could be more help.

Hey, @247365
Good day! How are you?

I have similar setup as yours. Running HA in Docker (on a linux machine), and cannot make Emulated Hue working. I am with Home Assistant 2023.6.2 Frontend 20230608.0 - latest.

Just a thought, may be we have to map the port 80 from docker host to HA container?
Have you managed to make it working some how?

Any assistance is appreciated!
Thanks.

Hello @sutharkartik

I spent a little time trying to get it to work but ended up running .

When I get a chance I will take a second look.

ok thanks!

Pay close attention to the documents and it’s notes. There are a lot of “gotchas” that you can run into and it’s mostly network/device you’re connection to issues.