Emulated hue configuration step

This is really annoying. Even Home Assistant detects that there’s UPNP capabilities on the network now.

1
2

I even removed everything and left only one entity to be detectable in Home Assistant, to be sure I’m not breaking any limits.

emulated_hue:
 host_ip: 192.168.1.35
 off_maps_to_on_domains:
 - script
 - scene
 expose_by_default: false
 exposed_domains:
 - script
 entities:
  script.boomeranghd:
   name: "BOOMERANG HD"
   hidden: false

3

And I tried scanning from the Alexa app on my phone, and from the Alexa portal.

But still no luck, for some reason it doesn’t detect anything.

edit…
Could it be that I have to configure UPNP in Home Assistant for this whole thing to work?
edit again…
No it doesn’t

No, that shouldn’t matter. It should just find it. I’ve done some digging and other people have said upnp doesn’t matter either. I have a unifi secure gateway which is essentially the same as an edgerouter. Do you have any special settings in set your router? Anything that you did that is unique in comparison to a normal setup?

I have plenty of reserved IP addresses on the DHCP and an IPSec VPN tunnel configured. Other than that it’s all pretty default. This has to be something else. Is there any detailed documentation on how to set this up? Or is it just the component page?

In this video the guy says that I need to have the Philips Hue skill enabled in the alexa app. I tried that but the skill can’t be enabled because it cannot find any hue devices on my network. Which doesn’t make sence because HA is running the emulated_hue which should broadcast as a bridge gen1.

Also, I don’t know if this was required but I had no alexa: entry in my configuration.yaml so I added it, but still no luck.

To recap

  • I reinstalled HA v0.95.0 from scratch
  • UNPN is working on my edgerouter x
  • http://IP:8300/api/pi/lights & http://IP:8300/description.xml are OK
  • I have only one entity exposed so no issue with entity limits
  • I “forgot all” devices in alexa
  • I have no skills enabled in the alexa app
  • I added alexa: in my configuration.yaml
  • I followed this
  1. Go to devices
  2. Click plus to add device
  3. Select brand (phillips hue).
  4. Select bridge type (Gen 1)
  5. Discover devices

But still no devices are found.
Any suggestions would help.
Thanks

There’s so much miss information around here. And that is 100% incorrect (Unless you have 2 hue bridges), then one would be done through normal discovery and the second would be done through the phillips hue skill.

That should be all you need. It’s all I have. You could turn on debug in logging and view the HA logs during discovery. Not sure if that will help. Unfortunately, this seems like you’d need to debug it on alexa’s side.

So this leads me to believe that your router is doing something on your network that is blocking the communication.

And just to clarify, this communication between emulated hue and alexa is 100% local. It does not go to the cloud and back.

Check out what this guy posted. Might be your problem

What he is saying doesn’t make any sense… :expressionless:

I could see my echo was on the right wifi network so I ran my echo (gen 1) through the setup process again to reconnect it to the same wifi network and it finally worked

If he means that he simply re-run the setup wizard for alexa, I’ve already done that. Reset to factory defaults, de-register from the alexa app, and re-register again. Nothing.

What doesn’t make sense to me is, why doesn’t the Hue skill in Alexa, find the emulated_hue as a gen1 device? Even if this step is not needed, the Hue skill should still detect the emulated_hue presence on my network.

yes that’s what I did. Reset the echo

Not sure. It should find it but it’s not. I’d be willing to bet that the actual hue hardware would have the same issue on your network. If i was in your shoes, I would be trying to debug the alexa / network side of this issue. Your emulated hue setup is good.

So I went through the whole process of setting up haaska, with a successful test at the end of the guide. Alexa still can’t find any devices :stuck_out_tongue:

2019-06-27%2019_27_56-

The thing is, I am running a lot of services on this network and I have never had any problems whatsoever. I don’t know what’s so special about the alexa setup.

Anyway, I’m giving up, at least for now.

For what it’s worth, I running most of that stuff too but also running emulated hue. We have a similar router. At this point its a big shrug from me. :man_shrugging:

In that other thread petro mentioned NOT explicitly searching for hue and I’ve also seen others mention using voice control on the specific echo that is gen 1 or gen 2 (I believe I did the former however I was so excited to get it working again that I promptly forgot what did the trick :expressionless: ). Anyway here’s the discovery procedure from the other thread:

  1. Select devices
  2. Select all devices
  3. Select the plus in the upper left corner
  4. Select add device
    DO NOT SELECT HUE.
  5. Scroll to Other, select other.
  6. Select discover devices.

if you have a spare wireless router with basic settings you could try eliminating your router as the culprit…

They change so frequently with the alexa app its hard to keep track of the do’s and don’ts.

And tonight it got hosed again but just mostly. I can do “Alexa, turn off/on all the lights and it works.” 3 of my 10 lights work and there appears to be no rhyme or reason for why some work and not others. My WAF is like the Hindenburg. Resetting the echo did the trick again and lost all the reminders on that device :-1: again

emulated_hue:
 host_ip: 192.168.1.35
 off_maps_to_on_domains:
 - script
 - scene
 expose_by_default: false
 exposed_domains:
 - script
 entities:
  script.boomeranghd:
   name: "BOOMERANG HD"
   hidden: false

Are you getting any errors relating to emulated_hue when starting HA? If this is exactly how you have your config in the yaml file, then your spacing is wrong. You need two spaces like;

emulated_hue:
  host_ip: 192.168.1.35
  off_maps_to_on_domains:
    - script
    - scene

Eh, that shouldn’t matter because the -'s represent a list. The indentation after the - is considered an indentation in this regard. People just like the look of the double space better.

Couldn’t be more basic. No errors in the log
2019-06-27 22:52:45 INFO (SyncWorker_16) [homeassistant.loader] Loaded hue from homeassistant.components.hue

emulated_hue:
listen_port: 8300
host_ip: 192.168.1.18
expose_by_default: true

I tried doing expose_by_default: false but 1: there are only 9 devices listed in api/pi/lights

The - might not matter, but the 1 space indentation of host_ip: and everything else below that probably does.

Unless something has changed, 2 spaces are required.