Connecting to Hue fails

Hi all,

I have a Hue system running here which I want to include into my hoas system. I worked a while and the setup was quite straight forward.
For some reason the integration stopped working and I remove it. Now I am trying to get it back tp hoas.
I can easily install the integration of Hue and it tells me to press the button on my hue- which I do. A short while later I am getting “Connection failed”.
This is seen in the log:

Logger: homeassistant.components.hue
Source: components/hue/config_flow.py:150
Integration: Philips Hue ([documentation](https://www.home-assistant.io/integrations/hue), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+hue%22))
First occurred: 17:33:57 (3 occurrences)
Last logged: 17:59:14

Error connecting to the Hue bridge at 192.168.22.2

The virtual machine with hoas, the app I am dealing with and the Hue system are all in the same network, there are for sure no firewall in between.

“Detailed” log say:

2021-12-09 17:56:52 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139997319582192] Connection closed by client
2021-12-09 17:57:02 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.22.2

Anyone having a clue how to figure out why it is not working?

Thanks a lot!

/KNEBB

Have you got anything else running? Other add-ons or something in the network?

Hi,

nothing unusual I’d say. 1-wire, mqtt, OpenWeatherMap, IPP, Met.no and Mobile.app integrations.

I am wondering how it gets the correct IP address of the Hue? Is it discovered somehow? Or a remainder of previous install? (BTW: yes, 192.168.22.2 is the correct one).

THanks
/KNEBB

Hi,

just as an update as I found the culprit for this issue.

Hue and HOAS both are located in my IoT network which is VLAN based. It turned out, HOAS as virtual machine running on a QNAP NAS was properly configured to use VLAN. Which was configured inside of the virtual machine.
I am not sure what is wrong here in details- have to do some troubleshooting.

But at least the HOAS was never able to communicate with the Hue.

So I move HOAS now to a different network without the need of VLAN and found the Hue nearly immediately.

Greetings

KNEBB