# Philips Hue integration issue

**URL:** <https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075>\
**Category:** Configuration\
**Created:** [February 1, 2021, 2:20am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075 "2021-02-01T02:20:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herve](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@Herve](https://community.gladysassistant.com/u/Herve)\
**Post date:** [February 1, 2021, 2:20am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/1 "2021-02-01T02:20:45Z")

</div>

Good evening,  
I installed gladys from the image on a raspberry 3, no problem. I configured the weather, a raspicam camera, mqtt and Telegram.  
However, when I try to integrate a Philips Hue bridge, no luck…  
The bridge and connected bulbs work well with the android app and with Google Home, but Gladys does not detect the bridge during the search. Whereas when I type the IP of the bridge in a browser, I can access the bridge’s home page.  
I don’t know where to look to solve the problem, thank you for your help.

Hervé

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 1, 2021, 6:07am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/2 "2021-02-01T06:07:28Z")

</div>

Have you put the bridge in search mode by clicking the button?

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 1, 2021, 7:11am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/3 "2021-02-01T07:11:43Z")

</div>

> [@Tlse-vins](#):
>
> Have you put the bridge in search mode by clicking the button

The bridge is supposed to appear whether you press the button or not.

@Herve Is the integration service started?

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 1, 2021, 7:41am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/4 "2021-02-01T07:41:44Z")

</div>

For information, it often happens to me that the bridges (I have 2) only appear after a few minutes … and several refreshes … (I still don’t know how to determine if it’s one - time, the other - multiple refreshes, or both that solve the problem)

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 1, 2021, 8:56am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/5 "2021-02-01T08:56:38Z")

</div>

> [@Herve](#):
>
> Gladys does not detect the bridge during the search

I thought it was still seen by Gladys.

---

<div class="post-metadata">

**Author:** ![Herve](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@Herve](https://community.gladysassistant.com/u/Herve)\
**Post date:** [February 2, 2021, 2:00am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/6 "2021-02-02T02:00:50Z")

</div>

Good evening,  
And thank you for your feedback.  
I have made X attempts… button pressed or not, refresh, reboot, etc… nothing to do…  
The Philips hue service seems to be started. I tested by connecting to «&nbsp;Gladys.local&nbsp;» or @IP and nothing to do.  
The software version of Gladys is ok v4.0.4 and the bridge as well.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 6:10am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/7 "2021-02-02T06:10:19Z")

</div>

Hello @Herve, we can try to «&nbsp;debug&nbsp;» first.

First question, is there any subtlety in your installation? For example, multiple distinct networks? Is your Philips Hue bridge recent (1st or 2nd generation)?

Second question, do you know how to connect via SSH to your Raspberry Pi and would you like to test 2-3 verification commands?

---

<div class="post-metadata">

**Author:** ![Herve](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@Herve](https://community.gladysassistant.com/u/Herve)\
**Post date:** [February 2, 2021, 10:24am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/8 "2021-02-02T10:24:12Z")

</div>

Hello!

- Single network, no sub-network. Bridge and Raspberry connected via cable to SFR 4G box.
- I will check the bridge version tonight, but purchased in December here in Martinique at Fnac.
- No issues for SSH.

Sorry for the «&nbsp;delayed&nbsp;» responses, but 5 hours time difference… 😉  
Hervé

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 10:34am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/9 "2021-02-02T10:34:37Z")

</div>

> [@Herve](#):
>
> Dsl for the «&nbsp;delayed&nbsp;» answers, but 5 hours time difference… 😉  
> Hervé

Héhé no problem ^^ We are not in a hurry … ^^ Even though I suppose you would like it to be functional as soon as possible ^^

> [@Herve](#):
>
> No problem for ssh.

So maybe the first thing would be to check the docker logs when starting the service!! I’m setting up a 2nd gladys to reproduce with you.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 10:43am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/10 "2021-02-02T10:43:34Z")

</div>

Ok, for now I’m in the same situation as you on a fresh installation from the gladys-4.0.4-rev4.img.zip image:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/383bec566819d308827b7d82d9e2ca533ca321ce.png)

And via the command `sudo docker logs gladys --since 2020-01-02T10:00:00 -f --details` over ssh on the pi:

```auto
> gladys-server@ start:prod /src/server
> cross-env NODE_ENV=production node index.js

 Initialising OpenZWave 1.6.1051 binary addon for Node.JS.
        OpenZWave Security API is ENABLED
        ZWave device db : /usr/local/etc/openzwave
        User settings path : /src/server/services/zwave/node_modules/openzwave-shared/build/Release/../../
        Option Overrides : --Logging false --ConsoleOutput false --SaveConfiguration true
 2021-02-02T11:31:16+0100 <info> index.js:19 (Object.start) Starting telegram service
 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service telegram is not configured, so it was not started.
 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.
 2021-02-02T11:31:16+0100 <info> index.js:20 (Object.start) Starting Open Weather service
 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service openweather is not configured, so it was not started.
 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.
 2021-02-02T11:31:16+0100 <info> index.js:15 (Object.start) Starting Bluetooth service
 2021-02-02T11:31:16+0100 <info> index.js:16 (Object.start) Starting zwave service
 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.
 2021-02-02T11:31:16+0100 <info> index.js:13 (Object.start) Starting usb service
 2021-02-02T11:31:17+0100 <info> index.js:63 (Server.<anonymous>) Server listening on port 80
 2021-02-02T11:39:36+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:39:40+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:39:44+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:39:55+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:40:00+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:40:02+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:40:03+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T11:40:04+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges

```

And no errors on the front end:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/287fa8055393a7e5c80f8dea9787f77e40dfadcd.png)  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/63997bffc24d8f4bb9237dad9ecb59df31a9212d.png)  
@VonOx and @Tlse-vins, could you test on a fresh install as well… just to see if an update hasn’t messed things up?

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 2, 2021, 10:50am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/11 "2021-02-02T10:50:58Z")

</div>

> [@Terdious](#):
>
> @VonOx and @Tlse-vins, could you also test on a fresh install… just to see if an update hasn’t messed things up?

Is it better to test on an SD card in the Pi or locally?

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 10:54am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/12 "2021-02-02T10:54:40Z")

</div>

The best I think is to do a new install on a new SD card if you have an extra one, to be in the same conditions.

Edit: If you reproduce, we can push it further. And @VonOx might have an idea … ^^ 🙂

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 10:56am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/13 "2021-02-02T10:56:16Z")

</div>

For information, I tried to cut and restart the service in the settings, but it’s the same.

> [@Terdious](#):
>
> ```auto
> > gladys-server@ start:prod /src/server
> > cross-env NODE_ENV=production node index.js
> 
> Initialising OpenZWave 1.6.1051 binary addon for Node.JS.
> OpenZWave Security API is ENABLED
> ZWave device db : /usr/local/etc/openzwave
> User settings path : /src/server/services/zwave/node_modules/openzwave-shared/build/Release/../../
> Option Overrides : --Logging false --ConsoleOutput false --SaveConfiguration true
> 2021-02-02T11:31:16+0100 <info> index.js:19 (Object.start) Starting telegram service
> 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service telegram is not configured, so it was not started.
> 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.
> 2021-02-02T11:31:16+0100 <info> index.js:20 (Object.start) Starting Open Weather service
> 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service openweather is not configured, so it was not started.
> 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.
> 2021-02-02T11:31:16+0100 <info> index.js:15 (Object.start) Starting Bluetooth service
> 2021-02-02T11:31:16+0100 <info> index.js:16 (Object.start) Starting zwave service
> 2021-02-02T11:31:16+0100 <info> service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.
> 2021-02-02T11:31:16+0100 <info> index.js:13 (Object.start) Starting usb service
> 2021-02-02T11:31:17+0100 <info> index.js:63 (Server.<anonymous>) Server listening on port 80
> 
> ```

By the way, is it normal that it does not appear in the `<info> service.start.js:40 (Service.start)`?  
Same when you stop/restart the service, no information.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 11:07am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/14 "2021-02-02T11:07:27Z")

</div>

Well, it just appeared:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/88ef1c81229dd70c87c22a5f03dcbd79d1b48eeb.png)

```auto
  2021-02-02T11:58:19+0100 <info> service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.
  2021-02-02T11:58:31+0100 <info> unsubscribe.js:10 (MqttHandler.unsubscribe) Unsubscribing to MQTT topic stat/+/+
  2021-02-02T11:58:31+0100 <info> unsubscribe.js:10 (MqttHandler.unsubscribe) Unsubscribing to MQTT topic tele/+/+
  2021-02-02T11:58:41+0100 <info> index.js:19 (Object.start) Starting telegram service
  2021-02-02T11:58:41+0100 <info> service.start.js:40 (Service.start) Service telegram is not configured, so it was not started.
  2021-02-02T11:58:56+0100 <info> index.js:13 (Object.start) Starting usb service
  2021-02-02T11:59:06+0100 <info> index.js:16 (Object.start) Starting zwave service
  2021-02-02T11:59:06+0100 <info> service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.
  2021-02-02T11:59:15+0100 <info> service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.
  2021-02-02T11:59:25+0100 <info> service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.
  2021-02-02T12:01:56+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 1 bridges

```

I stopped/started all services several times. Spamming the «&nbsp;Search on the network&nbsp;» button, going back and forth on the page. And waited about 30 minutes… I don’t know what triggered the discovery.

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 2, 2021, 11:19am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/15 "2021-02-02T11:19:16Z")

</div>

Ok, yes I still have an SD card.  
Are the service info the same on a version where the bridge is seen immediately?

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 11:27am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/16 "2021-02-02T11:27:31Z")

</div>

No idea, but I guess!!^^

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 2, 2021, 11:28am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/17 "2021-02-02T11:28:55Z")

</div>

For my part, I have 2 points, the second one was just seen, almost 1 hour later:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/c434cec7162f1df81a12c6ad9a10665e4e9559c4.png)

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 2, 2021, 8:59pm UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/18 "2021-02-02T20:59:09Z")

</div>

Good, I just tested on a clean installation with V4.0.4 and the bridge was seen instantly.

As well as the devices.

No problem on my side.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 2, 2021, 9:00pm UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/19 "2021-02-02T21:00:26Z")

</div>

Same thing, instant detection

Ps: @Terdious you have too many scenes 😂

---

<div class="post-metadata">

**Author:** ![Herve](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@Herve](https://community.gladysassistant.com/u/Herve)\
**Post date:** [February 3, 2021, 12:58am UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/20 "2021-02-03T00:58:06Z")

</div>

Good evening everyone,  
Here is the log in question:

```
 > gladys-server@ start:prod /src/server
 > cross-env NODE_ENV=production node index.js

 Initialising OpenZWave 1.6.1051 binary addon for Node.JS.
        OpenZWave Security API is ENABLED
        ZWave device db : /usr/local/etc/openzwave
        User settings path : /src/server/services/zwave/node_modules/openzwave-shared/build/Release/../../
        Option Overrides : --Logging false --ConsoleOutput false --SaveConfiguration true
 2021-02-02T23:49:15+0100 <info> connect.js:38 (MqttClient.<anonymous>) Connected to MQTT server mqtt://localhost
 2021-02-02T23:49:15+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic gladys/master/#
 2021-02-02T23:49:15+0100 <info> index.js:20 (Object.start) Starting Open Weather service
 2021-02-02T23:49:15+0100 <info> index.js:15 (Object.start) Starting Bluetooth service
 2021-02-02T23:49:16+0100 <error> index.js:19 (process.<anonymous>) uncaughtException catched: uncaughtException
 2021-02-02T23:49:16+0100 <error> index.js:20 (process.<anonymous>) Error: ENODEV, No such device
     at Hci.init (/src/server/services/bluetooth/node_modules/@abandonware/noble/lib/hci-socket/hci.js:100:35)
     at NobleBindings.init (/src/server/services/bluetooth/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:78:13)
     at /src/server/services/bluetooth/node_modules/@abandonware/noble/lib/noble.js:60:24
     at processTicksAndRejections (internal/process/task_queues.js:79:11) {
   errno: 19,
   code: 'ENODEV',
   syscall: 'bind'
 }
 2021-02-02T23:49:17+0100 <info> service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.
 2021-02-02T23:490:17+0100 <info> index.js:16 (Object.start) Starting zwave service
 2021-02-02T23:49:17+0100 <info> service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.
 2021-02-02T23:49:17+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic stat/+/+
 2021-02-02T23:49:17+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic tele/+/+
 2021-02-02T23:49:17+0100 <info> index.js:13 (Object.start) Starting usb service
 2021-02-02T23:49:17+0100 <info> index.js:19 (Object.start) Starting telegram service
 2021-02-02T23:49:18+0100 <info> index.js:63 (Server.<anonymous>) Server listening on port 80
 2021-02-02T23:51:14+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T23:55:37+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T23:58:28+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-02T23:58:33+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges

```

What do you think? Is it serious doctor? 😁

[Next page](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075.md?page=2)
