Alexa does not detect Emulated Hue

I have a Home Assistant Core installation that controls multiple devices. I use a Logitech Harmony Companion and through emulated hue I can control the virtual bulbs. The Logitech app (even the official Hue v1 application) detects the emulated bridge but Alexa can’t. I’m trying to do it using Alexa app on Android.

As the Hue Skill says, there’s no need to add it to Alexa if using the v1 bridge (the one that emulates Home Assistant), but from April 1st there’s no support from Philips: https://www.theverge.com/circuitbreaker/2020/3/6/21167813/philips-hue-bridge-hub-internet-connectivity-discontinued-cloud-updates

Is this related? There’s no way to connect Alexa to Home Assistant using the emulated hue today?

Thanks

Well it still works for me. Just say “Alexa, discover devices” once you set it up. Make sure you configure it like this:

emulated_hue:
  listen_port: 80

Also make sure that the networking lets direct access to port 80.

Thanks, but the result is the same. Alexa says that didn’t find any new device.

The Hue is already at port 80.

If you go to http://<HA IP Address>:80/description.xml from the same WiFi of your Alexa what do you get?

I get the XML from Emulated Hue:

<?xml version="1.0" encoding="UTF-8" ?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://10.0.0.3:80/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Home Assistant Bridge (10.0.0.3)</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>****************</serialNumber>
<UDN>uuid:********-****-****-****-************</UDN>
</device>
</root>

The configuration looks like this:

emulated_hue:
  type: alexa
  host_ip: 10.0.0.3
  listen_port: 80

I recently added the “type” (although is deprecated) to try if it works, but there’s no difference.

What if you do a plain config with just the port? Also what entities match default config?

Thanks, will try. Don’t understand what you want to know with “what entities match default config”.

The devices listed are only some input_boolean and input_number that I defined. These are associated to scripts and works well with Logitech Harmony through the emulated hue.

Emulated hue only exposes some devices by default. According to the XML you posted, none are under the right conditions. With no other config, it only exposes a couple domains.

The devices are exposed. Using Logitech Harmony I can list all the items I created and works well.

What does the http://<HA IP Address>:80/api/pi/lights show?

Exposes the defined devices:

{
	"fan.dyson":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS312",
		"name":"Dyson",
		"state":{
			"bri":1,
			"colormode":"ct",
			"ct":153,
			"mode":"homeautomation",
			"on":true,
			"reachable":true
		},
		"swversion":"123",
		"type":"Color temperature light",
		"uniqueid":"00:0a:6a:31:31:89:87:c6-f9"
	},
	"input_boolean.advertising":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Publicidad",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":false,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:0c:65:8e:bc:91:c2:b3-03"
	},
	"input_boolean.dyson_auto":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Modo autom\u00e1tico",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":false,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:a6:20:59:17:61:3d:4d-93"
	},
	"input_boolean.dyson_monitor":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Monitorizaci\u00f3n",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":false,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:bc:fd:c6:0f:f2:d0:3b-2d"
	},
	"input_boolean.dyson_night":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Modo nocturno",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":false,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:94:0d:25:88:5c:64:29-7a"
	},
	"input_boolean.dyson_oscilate":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Oscilaci\u00f3n",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":false,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:de:b0:ba:66:21:96:38-54"
	},
	"input_boolean.dyson_toggle":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Ventilador",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":true,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:3e:c3:7c:1c:63:fe:0f-ea"
	},
	"input_boolean.vigilancia":{
		"manufacturername":"Home Assistant",
		"modelid":"HASS123",
		"name":"Vigilancia",
		"state":{
			"bri":254,
			"mode":"homeautomation",
			"on":false,
			"reachable":true
		},
		"swversion":"123",
		"type":"Dimmable light",
		"uniqueid":"00:e3:98:0e:6f:ae:61:3d-30"
	}
}

Huh. What if you say to a physical Alexa device “Discover devices”?

I removed type and host_ip from configuration and stilñ not detected. Tried asking to the device and the result is the same, nothing detected.

And nothing shows up in the Alexa app? Well then it could be too late to set up new ones. :frowning:

This is what I suspected :frowning_face:
Will post updates if can do it.
Thanks for your help!

I found the problem: I’m using the sample app from AVS and I discovered that does not supports device discovering. I only works with physical devices from Amazon. Even does not work with Android app…