Emulated Hue Hub and Harmony

I saw a few other posts (like this one) on this topic but haven’t been able to get this to work for me. It’s still waiting to press the button…

I see http://192.168.X.XX/description.xml and http://192.168.X.XX/api/pi/lights

My configuration.yaml has this:
emulated_hue: host_ip: 192.168.X.XX listen_port: 80 advertise_ip: 10.0.0.10 advertise_port: 8080 off_maps_to_on_domains: - script - scene expose_by_default: true exposed_domains: - switch - light entities: switch.av_switch: name: "AV Switch"

But using Android, and Mac Harmony Apps just waits for a button press.

Should I turn off my actual Hue Hub while trying to pair? Or, do I really need to get a PC laptop to do this (I have one, just have to dig it out)?

Thanks!

Are you sure harmony can link to 2 hue hubs?

It can’t so I’ve already removed the the link in Harmony to the real hub. But it still wouldn’t pair with the emulated hub with the real hub turned off.

The Harmony app detects a hub (am assuming it is the emulated one since I unplugged the real one and released its lease in my router). But it just says pairing forever and it never gets off the message waiting for the press. Eventually it justs says unable to pair as a warning.

I think there is something to do with my Docker IP table set up or that I should have used a different advertise_ip. Not sure what was wrong with it exactly though so I couldn’t fix it. More likely it was Docker though since I recall removing the advertise_ip and advertise_port lines from the configuration.yaml before and it didn’t work. Anyways, I ended up doing the following:

  1. Uninstalled Home Assistant and Docker on my Raspbian device
  2. Installed Hassbian from the image and then reset setting up from scratch

Almost the same configuration.yaml now has Harmony happy adding the emulated hue hub over the real hue hub. (I removed the advertise_ip and advertise_port items.)