Hi all
I’m new to this home automation gig, but I’m running Home Assistant on a Raspberry Pi 3 with Raspian Stretch installed. I am using the python virtual environment for HA and so far it has worked a treat.
My issue is this, I am unable to get my emulated hue bridge to be seen by Alexa. From my lurking on the forums, I understand that the Hue skill is not supposed to be required for this to work, and that the devices exposed by the bridge should be able to be “seen” by Alexa when I go to “Discover devices” in the app.
I am running HA as user hass on my pi in the emulated python environment and this is a snippet of my configuration.yaml
emulated_hue:
type: alexa
host_ip: 192.168.2.250
listen_port: 8300
expose_by_default: true
exposed_domains:
- light
- switch
- group
I have tried different variants of this, including excluding the listen on port, the type, and the exposed domains.
I have also read that in order for the Alexa to “see” the devices exposed (2 GE Z-Wave in wall light switches btw) you need to make sure that you can see the devices on port :8300 at http://hostname:8300/api/devices/lights and the bridge at http://hostname:8300/description.xml
My devices list as follows:
{"group.all_automations": {"modelid": "HASS123", "name": "all automations", "state": {"bri": 255, "on": true, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "group.all_automations"}, "group.all_switches": {"modelid": "HASS123", "name": "all switches", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "group.all_switches"}, "group.daily_forecast": {"modelid": "HASS123", "name": "Daily Forecast", "state": {"bri": 255, "on": true, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "group.daily_forecast"}, "group.outside_lights": {"modelid": "HASS123", "name": "Outside Lights", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "group.outside_lights"}, "switch.front_lights_switch": {"modelid": "HASS123", "name": "Front Lights Switch", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "switch.front_lights_switch"}, "switch.lamp_post_switch": {"modelid": "HASS123", "name": "Lamp Post Switch", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "switch.lamp_post_switch"}}
My description.xml is as follows:
My home setup does not have UPNP enabled because I’m running behind a Cisco ASA 5505 which won’t handle that. I’m not sure if this is required, but my friends who have been guiding me through this process feel it isn’t necessary.
I have tried rebuilding my setup from scratch to no avail. The automation part of Home Assistant works great, my lights turn on at sunset and off at midnight just like they’re supposed to. But I would like to be able to control them via Alexa as well.
I’m at an utter loss as to why I can’t add my two switches to Alexa through the emulated Philips Hue bridge. Any assistance would be greatly appreciated.