I saw a couple of older similar (but not the same) threads but no solutions. I am trying to control my devices in Home Assistant via Alexa.
I am running Home Assistant inside docker(compose) but after problems I switched it to using host mode. The config for hue is as follows:
# hue emulation
emulated_hue:
listen_port: 80
host_ip: 192.168.2.4
#advertise_ip: 192.168.2.4
#advertise_port: 80
expose_by_default: false
#exposed_domains:
# - light
entities:
light.bulb_bedroom_level_light_color_on_off:
name: "Licht Schlafzimmer"
hidden: false
light.bulb_hallway_level_on_off:
name: "Licht Flur"
hidden: false
I tried with and without the advertise part. http://192.168.2.4/api/pi/lights
shows the two devices without a problem.
My network is run by Unifi devices (mdns enabled). Alexa is on my IoT vlan, the server on the main vlan. Firewall rules allow access from IoT to the server on all ports though. I checked with a phone on the iot wifi and was able to open the same link.
Still Alexa does not find anything when looking for new devices. Does someone have an idea how to fix this or at least how to debug? Thank you!