Philips Hue small issue

Hello everyone

I’m having a small problem with a Hue bridge

First, I wonder if it’s possible, in terms of evolution, to be able to reach a Hue bridge via an IP address (in case of an unsuccessful search in the same network, for example). I’m talking about this because my Gladys is behind a firewall.

So, for now, I configure my Hue lights with the Philips app in the unprotected network, and when I turn on my living room lights, both work.

I unplug and cable my bridge to put it in the protected network, and via Gladys, the devices are well recognized.
Then I go to the tests, and there Gladys turns on or off one light out of the two for me.

When I look at the logs, I find this

2022-02-11T08:50:53+0100 <warn> scene.executeActions.js:37 (executeAction) ApiError: Light with id:2 was not found on this bridge
    at /src/server/services/philips-hue/node_modules/node-hue-api/lib/api/Lights.js:121:17
    at async PhilipsHueLightHandler.setValue (/src/server/services/philips-hue/lib/light/light.setValue.js:38:3)
2022-02-11T08:50:55+0100 <warn> scene.executeActions.js:37 (executeAction) ApiError: Light with id:2 was not found on this bridge
    at /src/server/services/philips-hue/node_modules/node-hue-api/lib/api/Lights.js:121:17

Could you tell me what I can do to fix the problem?

The problem could be solved, if I understand correctly, with Zigbee, but this integration does not work (see https://community.gladysassistant.com/t/gladys-et-mqtt-et-zigbee/6873) and no one wants to tell me why :smiling_face_with_tear: :smiling_face_with_tear: :smiling_face_with_tear:

Thank you all!!

I think it’s a known bug in the library we’re using ([philips-hue] Newly bridge paired lamp cannot be used in Gladys · Issue #1006 · GladysAssistant/Gladys · GitHub)

You just need to restart Gladys/your Pi, and normally these lights will be managed. It’s not optimal but for now there’s nothing we can do.

Thanks a lot, it actually works better