Emulated Hue not seen by Amazon Echo

{"script.turnoff": {"modelid": "HASS123", "name": "Dim lamp and turn off after 5 seconds", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "script.turnoff"}}

I would remove the variable “type” first, because it will be removed in future releases:

I don’t know why, but maybe it solves your problem…

What does http://<HA IP Address>/description.xml show?

<root xmlns=“urn:schemas-upnp-org:device-1-0”>

<specVersion>

<major>1</major>

<minor>0</minor>

</specVersion>

<URLBase>http://192.168.1.18:80/</URLBase>

<device>

<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>

<friendlyName>HASS Bridge (192.168.1.18)</friendlyName>

<manufacturer>Royal Philips Electronics</manufacturer>

<manufacturerURL>http://www.philips.com</manufacturerURL>

<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>

<modelName>Philips hue bridge 2015</modelName>

<modelNumber>BSB002</modelNumber>

<modelURL>http://www.meethue.com</modelURL>

<serialNumber>1234</serialNumber>

<UDN>uuid:2f402f80-da50-11e1-9b23-001788255acc</UDN>

</device>

</root>

should emulated hue show up under lights in HA? I can see it started in the logs but i do not see them under lights in HA

It doesn’t show up at all. There is no entity for emulated_hue.

It seems your problem isn’t located in HA. …
Does “Amazon Alexa” app show any devices? (Bottom right corner in the app)

Nothing comes up in alexa, except those exposed by the HA cloud service (which im trying to use emulated hue to replace). I have a 2nd gen Echo, 3rd Gen Echo Dot, and a Fire Cube. Do I have to shoehorn a second gen Dot in to make it work?

Your name is most likely the problem. Shorten it up. By name, I mean the name of the script. Right now its

Dim lamp and turn off after 5 seconds

That’s 37 characters and includes the main phrase “turn off” for alexa. Shorten it and remove turn off.

Everyone need to remember that emulated hue emulates the hue bridge. While home assistant doesn’t care about limitations alexa does. It expects a hue bridge and we are faking it out. So what does that mean? Well hue 1 bridges (which is what emulated hue emulates) has a limit of 63 devices. It also does not allow special characters and has other name restrictions, i.e. length. Alexa will only look for 63 devices. Alexa may error out on naming. In the past, I had 2 of the same name configured. Home assisntant didn’t care, Alexa wouldn’t find devices because of it. So your first priority should be to make sure your emulation properly emulates the hue before even worrying about the port.

For what it’s worth. I don’t have any port forwarding and I left the port the default in my configuration. Also, I override every name.

  host_ip: !secret emulated_hue_ip
  listen_port: 8300
  off_maps_to_on_domains:
    - script
    - scene
  expose_by_default: true
  exposed_domains:
    - light
    - switch
    - input_boolean
    - fan
  entities:
    fan.master_fixture:
      name: Master Fan
    switch.audio_1:
      name: Audio One
    switch.audio_2:
      name: Audio Two
    switch.pc:
      name: Computer
    switch.ps4:
      name: Playstation
    switch.switch:
      name: Switch
    switch.tv:
      name: TV
    switch.wii_u:
      name: Wii U
    switch.xbox_one:
      name: Xbox One
    switch.zone_1:
      name: Zone One
    switch.zone_2:
      name: Zone Two
    light.kitchen_cans:
      name: Can Lights
    light.dining_room_chandelier:
      name: Chandelier
    light.hallway:
      name: Hallway
    light.kitchen_island:
      name: Island Lights
    light.living_room:
      name: Living Room Lamps
    light.master_bathroom_cans:
      name: Master Can
    light.master_closet:
      name: Master Closet
    light.master_fixture:
      name: Master Light
    light.master_bathroom_sink:
      name: Master Sink
    switch.basement_cans:
      name: Basement Cans
    switch.basement_stairs:
      name: Basement Stairs
    switch.kitchen_cabinet:
      name: Cabinet Lights
    switch.downstairs:
      name: Downstairs
    switch.garage_entry:
      name: Entry Lights
    switch.floating_outlet_switch:
      name: Echo Outlet
    switch.foyer:
      name: Foyer Lights
    switch.garage_cans:
      name: Garage Fixtures
    switch.sconces_garage:
      name: Garage Sconces
    switch.kitchen_holiday:
      name: Holiday Lights
    switch.dining_room_hutch:
      name: Hutch Lights
    switch.inside:
      name: Inside
    switch.laundry:
      name: Laundry
    switch.sconces_main_entrance:
      name: Main Sconces
    switch.master_bathroom_fan:
      name: Master Bath Fan
    switch.office_outlet:
      name: Office Desk Light
    switch.office_switch:
      name: Office Light Switch
    switch.outside:
      name: Outside
    switch.outside_porch:
      name: Outside Outlet
    switch.kitchen_pantry:
      name: Pantry Lights
    switch.upstairs:
      name: Upstairs
    switch.basement:
      hidden: true

EDIT: I don’t know if this was mentioned in the thread, but this will only work with echo gen 1 and gen 2. emulated hue will not work with gen 3.