dotromain
(dotromain)
June 28, 2018, 6:25am
1
Hi !!
I’m trying to get emulated hue working with Amazon Echo.
I have set it up like this (on a Hassio):
emulated_hue:
type: alexa
host_ip: 192.168.1.155
listen_port: 80
expose_by_default: false
entities:
light.living_room__ceiling_light:
name: "Spots Salon"
light.bedroom_lights:
name: "chambre"
With this configuration, I can’t see any lights.
My description.xml:
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.1.155:80/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>HASS Bridge (192.168.1.155)</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>
and /api/pi/lights is just empty:
{}
Maybe I have make a mistake in my configuration ?
sebk-666
(Sebastian)
June 28, 2018, 6:58am
2
I’m not sure since I’m using expose_by_default: true
, but I think with your config, you’d explicitely need to configure each entity that should be visible via emulated_hue.
Try adding hidden: false
in addition to the name:
-attribute for each of the entities.
Sebastian
1 Like
Have tried just…
emulated_hue:
expose_by_default: false
entities:
light.living_room__ceiling_light:
name: "Spots Salon"
light.bedroom_lights:
name: "chambre"
petro
(Petro)
June 28, 2018, 4:18pm
4
as @sebk-666 said, you need to add hidden: false on each light to expose them because you have expose_by_default set to false.
emulated_hue:
type: alexa
host_ip: 192.168.1.155
listen_port: 80
expose_by_default: false
entities:
light.living_room__ceiling_light:
name: "Spots Salon"
hidden: false
light.bedroom_lights:
name: "chambre"
hidden: false
or
emulated_hue:
type: alexa
host_ip: 192.168.1.155
listen_port: 80
expose_by_default: true
entities:
light.living_room__ceiling_light:
name: "Spots Salon"
light.bedroom_lights:
name: "chambre"
Good call, haven’t used it since they moved everything out of customize.yaml, does say in the Docs…
hidden (Optional): Whether or not the emulated Hue bridge should expose the entity. Adding hidden: false will expose the entity to Alexa. The default value for this attribute is controlled by the expose_by_default option.
1 Like
petro
(Petro)
June 28, 2018, 4:36pm
6
Yeah, its confusing though. I had to read it like 4 times before it clicked.
dotromain
(dotromain)
June 28, 2018, 5:25pm
7
thanks guys ! I’ll try this now !
dotromain
(dotromain)
June 28, 2018, 5:33pm
8
@sebk-666 @Bobby_Nobble @petro
It works
I’m going to edit the documentation for others !
1 Like
This issue is the only reference on the entire internet! This is inverse logic and if used in conjunction with “expose_by_default:false”
Indeed you must use “hidden:false” but this is NOT clear in the original documentation here:
Please add this more clear for other users :-).
Thanks for this post!!!
1 Like
jms3000
(Martin)
June 24, 2021, 7:44pm
10
if you use “expose_by_default: true”, you will see all devices except those with hidden:true.
if you use “expose_by_default: false”, you will see only devices with hidden:false.