# Problème d'intégration Philips Hue

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

<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:** [Février 3, 2021, 1:02 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/21 "2021-02-03T01:02:08Z")

</div>

Par contre, je n’ai pas trouvé comment bien formater mon copier/coller d’extrait de log… ☹

---

<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:** [Février 3, 2021, 1:09 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/22 "2021-02-03T01:09:19Z")

</div>

J’ai également ces erreurs…

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

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [Février 3, 2021, 6:23 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/23 "2021-02-03T06:23:51Z")

</div>

Salut tu utilises cette balise pour le code \</\> dans l’éditeur de texte.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Février 3, 2021, 7:50 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/24 "2021-02-03T07:50:35Z")

</div>

> [@Herve](#):
>
> A vos avis? C’est grave docteur? 😁

Je ne vois pas de «&nbsp;Starting philips-hue service&nbsp;» dans tes logs, pas normal ça, tu as du stopper le service manuellement je pense?

> [@Herve](#):
>
> J’ai également ces erreurs…

C’est pas normal ça, je suppose que tu es connecté via [http://gladys.local](http://gladys.local)? Bizarre qu’il n’arrive pas à faire la résolution DNS locale lors de la connection websocket alors qu’il arrive à la faire dans ton navigateur en HTTP…

Tu peux essayer en IP et nous montrer les mêmes logs ?

Tu as quand même une box internet atypique (box 4G), et ça ne m’étonnerait pas que ce genre de box soit configuré différemment que les routeurs traditionnelles en terme de réseau !

---

<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:** [Février 3, 2021, 9:48 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/26 "2021-02-03T21:48:25Z")

</div>

Bonsoir à tous,

Je me suis connecté avec l’adresse IP et stop/start le service Philips…

```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-03T12:55:03+0100 <info> index.js:19 (Object.start) Starting telegram service
 2021-02-03T12:55:03+0100 <info> index.js:13 (Object.start) Starting usb service
 2021-02-03T12:55:05+0100 <info> connect.js:38 (MqttClient.<anonymous>) Connected to MQTT server mqtt://localhost
 2021-02-03T12:55:05+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic gladys/master/#
 2021-02-03T12:55:05+0100 <info> index.js:20 (Object.start) Starting Open Weather service
 2021-02-03T12:55:05+0100 <info> service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.
 2021-02-03T12:55:05+0100 <info> index.js:15 (Object.start) Starting Bluetooth service
 2021-02-03T12:55:06+0100 <error> index.js:19 (process.<anonymous>) uncaughtException catched: uncaughtException
 2021-02-03T12:55:06+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-03T12:55:06+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic stat/+/+
 2021-02-03T12:55:06+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic tele/+/+
 2021-02-03T12:55:06+0100 <info> index.js:16 (Object.start) Starting zwave service
 2021-02-03T12:55:06+0100 <info> service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.
 2021-02-03T12:55:07+0100 <info> index.js:63 (Server.<anonymous>) Server listening on port 80
 2021-02-03T14:55:07+0100 <info> gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.
 2021-02-03T16:55:07+0100 <info> gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.
 2021-02-03T18:55:07+0100 <info> gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.
 2021-02-03T20:55:07+0100 <info> gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.

```

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

Toujours pas de “starting Philips service” dans le log…  
Ne serait-il pas préférable que je reparte de zéro, d’une installation propre???

Hervé

oops… oublié les dernières lignes du log :

```auto
     (node:24) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 scanStop listeners added to [Noble]. Use emitter.setMaxListeners() to increase limit
 2021-02-03T22:28:48+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-03T22:28:58+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges
 2021-02-03T22:29:37+0100 <info> light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges

```

---

<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:** [Février 3, 2021, 10:22 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/27 "2021-02-03T22:22:23Z")

</div>

Bon je penses qu’il manque une partie des logs, mais en soit pas grave car le service philips n’écrit rien au démarrage ( niveau de log différent )

Exemple chez moi

```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-03T23:26:11+0100 <info> connect.js:38 (MqttClient.<anonymous>) Connected to MQTT server mqtt://192.168.1.42:1883
2021-02-03T23:26:11+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic gladys/master/#
2021-02-03T23:26:11+0100 <info> index.js:19 (Object.start) Starting telegram service
2021-02-03T23:26:12+0100 <info> index.js:20 (Object.start) Starting Open Weather service
2021-02-03T23:26:13+0100 <info> index.js:15 (Object.start) Starting Bluetooth service
2021-02-03T23:26:13+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic stat/+/+
2021-02-03T23:26:13+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic tele/+/+
2021-02-03T23:26:13+0100 <info> index.js:16 (Object.start) Starting zwave service
2021-02-03T23:26:14+0100 <info> index.js:13 (Object.start) Starting usb service
2021-02-03T23:26:14+0100 <info> index.js:63 (Server.<anonymous>) Server listening on port 8012
2021-02-03T23:26:14+0100 <info> index.js:743 (Socket.<anonymous>) Gladys Gateway: connected in websockets

```

Pour voir le status des services c’est via l’interface

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

Pour mettre en forme tes posts tu peux t’aider de ce sujet =\> [[TUTORIEL] Formater son code dans un message: Aidez nous à vous aider ;)](https://community.gladysassistant.com/t/tutoriel-formater-son-code-dans-un-message-aidez-nous-a-vous-aider/3320)

---

<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:** [Février 4, 2021, 2:03 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/28 "2021-02-04T02:03:56Z")

</div>

Oui, tout à fait, j’utilise cette interface pour vérifier, démarrer ou arrêter les services.  
D’ailleurs le service Bluetooth à l’air de dysfonctionner également, côté interface et côté Logs… mais là c’est peut-être normal car je n’ai rien configuré côté raspberry.

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

---

<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:** [Février 4, 2021, 6:36 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/29 "2021-02-04T06:36:28Z")

</div>

> [@VonOx](#):
>
> Ps: @Terdious t’as trop de scènes 😂

Lol c’est pas vrai ^^ ici je pars d’une installation fraîche donc 0 scènes ^^

> [@Herve](#):
>
> Oui, tout à fait, j’utilise cette interface pour vérifier, démarrer ou arrêter les services.  
> D’ailleurs le service Bluetooth à l’air de dysfonctionner également, côté interface et côté Logs… mais là c’est peut-être normal car je n’ai rien configuré côté raspberry.

As-tu tenter comme je l’ai fait plus haut d’attendre 30 minutes / 1h en faisant des refresh régulièrement ? Même si ce n’est pas normal, ce peut être un indicateur si on reproduit tout les 2 la chose.

> [@Herve](#):
>
> Je me suis connecté avec l’adresse IP et stop/start le service Philips…

As-tu refais un «&nbsp;inspecter&nbsp;» sur la page internet ? Et as-tu toujours les mêmes erreurs ? Peux-tu également aller dans l’onglet «&nbsp;network&nbsp;» de cette fenêtre «&nbsp;inspecter&nbsp;» et nous faire un imp-ecran des différents retours (pour cela ouvre l’onglet network et ensuite fait un refresh de la page de conf Philips-hue, des choses devraient apparaître en dessous)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Février 4, 2021, 7:57 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/30 "2021-02-04T07:57:11Z")

</div>

@Herve je suis rentré plus en détail de l’intégration, et je viens de me rappeler que pour trouver les ponts sur le réseau on fait un `N-UPnP Search` qui se base sur l’API de Philips Hue:

 ![Screenshot 2021-02-04 at 08.56.31](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/319ab2c9623e5956aab90207ea4e669d7c001b44.png)

> <https://github.com/peter-murray/node-hue-api/blob/main/docs/discovery.md#n-upnp-search>

Par conséquent, il faut que ton bridge soit register côté Philips Hue, c’est le cas?

Il faudrait peut-être l’ajouter à la doc pour le coup

---

<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:** [Février 5, 2021, 2:04 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/31 "2021-02-05T02:04:34Z")

</div>

@pierre-gilles , oui mon pont est enregistré côté Philips Hue et fonctionne.

Par contre, comment dois-je utiliser la commande N-UPnP Search?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Février 5, 2021, 7:59 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/32 "2021-02-05T07:59:09Z")

</div>

> [@Herve](#):
>
> Par contre, comment dois-je utiliser la commande N-UPnP Search?

Tu n’as rien à faire, je parlais du code dans Gladys. C’est Gladys qui fait le N-UPnP search 🙂

---

<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:** [Février 24, 2021, 8:39 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/33 "2021-02-24T20:39:41Z")

</div>

Bonsoir tout le monde,

Je viens de repartir d’une installation toute fraiche à partir de l’image v4.0.4 rev4… et rien à faire, le pont n’est pas détecté malgré les refresh depuis 2 jours…  
Voici le log complet et copie d’écran :

```
 > gladys-server@ start:prod /src/server

```

> cross-env NODE\_ENV=production node index.js  
> 2021-02-22T17:58:06+0100 20210129155044-multi-user.js:23 (Object.up) Multi-user migration: 0 users found  
> Initialising OpenZWave 1.6.0 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-22T17:58:14+0100 index.js:19 (Object.start) Starting example service  
> 2021-02-22T17:58:14+0100 index.js:18 (Object.start) Starting Philips Hue service  
> 2021-02-22T17:58:14+0100 index.js:16 (Object.start) Starting RTSP service  
> 2021-02-22T17:58:14+0100 index.js:51 (Object.start) Starting CalDAV service  
> 2021-02-22T17:58:14+0100 index.js:16 (Object.start) Starting MQTT service  
> 2021-02-22T17:58:15+0100 updateContainer.js:13 (MqttHandler.updateContainer) MQTT: checking for required changes…  
> 2021-02-22T17:58:15+0100 service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.  
> 2021-02-22T17:58:15+0100 index.js:20 (Object.start) Starting Open Weather service  
> 2021-02-22T17:58:15+0100 service.start.js:40 (Service.start) Service openweather is not configured, so it was not started.  
> 2021-02-22T17:58:15+0100 index.js:18 (Object.start) Starting TP-Link service  
> 2021-02-22T17:58:15+0100 index.js:17 (Object.start) Starting eWeLink service  
> 2021-02-22T17:58:15+0100 service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.  
> 2021-02-22T17:58:15+0100 index.js:15 (Object.start) Starting Bluetooth service  
> 2021-02-22T17:58:16+0100 index.js:19 (process.) uncaughtException catched: uncaughtException  
> 2021-02-22T17:58:16+0100 index.js:20 (process.) 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: ‹&nbsp;ENODEV&nbsp;›,  
> syscall: ‹&nbsp;bind&nbsp;›  
> }  
> 2021-02-22T17:58:16+0100 index.js:15 (Object.start) Starting Tasmota service  
> 2021-02-22T17:58:16+0100 index.js:16 (Object.start) Starting zwave service  
> 2021-02-22T17:58:16+0100 bluetooth.initPresenceScanner.js:18 (BluetoothManager.initPresenceScanner) Bluetooth configuration: starting presence scanner  
> 2021-02-22T17:58:16+0100 service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.  
> 2021-02-22T17:58:16+0100 index.js:14 (Object.start) Starting Xiaomi service  
> 2021-02-22T17:58:16+0100 index.js:13 (Object.start) Starting usb service  
> 2021-02-22T17:58:16+0100 index.js:19 (Object.start) Starting Telegram service  
> 2021-02-22T17:58:16+0100 service.start.js:40 (Service.start) Service telegram is not configured, so it was not started.  
> 2021-02-22T17:58:17+0100 index.js:63 (Server.) Server listening on port 80  
> 2021-02-22T19:58:16+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-22T21:58:16+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-22T23:58:16+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T01:58:16+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T02:52:11+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:16+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:21+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:30+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:34+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:38+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:43+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T02:52:48+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> npm ERR! code ELIFECYCLE  
> npm ERR! errno 1  
> npm ERR! gladys-server@ start:prod: `cross-env NODE_ENV=production node index.js`  
> npm ERR! Exit status 1  
> npm ERR!  
> npm ERR! Failed at the gladys-server@ start:prod script.  
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  
> npm ERR! A complete log of this run can be found in:  
> npm ERR! /root/.npm/\_logs/2021-02-23T01\_59\_50\_051Z-debug.log  
> gladys-server@ start:prod /src/server  
> cross-env NODE\_ENV=production node index.js  
> Initialising OpenZWave 1.6.0 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-23T03:05:05+0100 index.js:19 (Object.start) Starting example service  
> 2021-02-23T03:05:05+0100 index.js:18 (Object.start) Starting Philips Hue service  
> 2021-02-23T03:05:05+0100 index.js:16 (Object.start) Starting MQTT service  
> 2021-02-23T03:05:05+0100 updateContainer.js:13 (MqttHandler.updateContainer) MQTT: checking for required changes…  
> 2021-02-23T03:05:05+0100 service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.  
> 2021-02-23T03:05:06+0100 index.js:51 (Object.start) Starting CalDAV service  
> 2021-02-23T03:05:06+0100 index.js:20 (Object.start) Starting Open Weather service  
> 2021-02-23T03:05:06+0100 service.start.js:40 (Service.start) Service openweather is not configured, so it was not started.  
> 2021-02-23T03:05:06+0100 index.js:18 (Object.start) Starting TP-Link service  
> 2021-02-23T03:05:06+0100 index.js:17 (Object.start) Starting eWeLink service  
> 2021-02-23T03:05:06+0100 service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.  
> 2021-02-23T03:05:06+0100 index.js:15 (Object.start) Starting Bluetooth service  
> 2021-02-23T03:05:07+0100 index.js:19 (process.) uncaughtException catched: uncaughtException  
> 2021-02-23T03:05:07+0100 index.js:20 (process.) 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: ‹&nbsp;ENODEV&nbsp;›,  
> syscall: ‹&nbsp;bind&nbsp;›  
> }  
> 2021-02-23T03:05:07+0100 bluetooth.initPresenceScanner.js:18 (BluetoothManager.initPresenceScanner) Bluetooth configuration: starting presence scanner  
> 2021-02-23T03:05:07+0100 index.js:15 (Object.start) Starting Tasmota service  
> 2021-02-23T03:05:07+0100 index.js:16 (Object.start) Starting zwave service  
> 2021-02-23T03:05:07+0100 service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.  
> 2021-02-23T03:05:07+0100 index.js:14 (Object.start) Starting Xiaomi service  
> 2021-02-23T03:05:07+0100 index.js:13 (Object.start) Starting usb service  
> 2021-02-23T03:05:07+0100 index.js:19 (Object.start) Starting Telegram service  
> 2021-02-23T03:05:07+0100 service.start.js:40 (Service.start) Service telegram is not configured, so it was not started.  
> 2021-02-23T03:05:07+0100 index.js:16 (Object.start) Starting RTSP service  
> 2021-02-23T03:05:08+0100 index.js:63 (Server.) Server listening on port 80  
> npm ERR! code ELIFECYCLE  
> npm ERR! errno 1  
> npm ERR! gladys-server@ start:prod: `cross-env NODE_ENV=production node index.js`  
> npm ERR! Exit status 1  
> npm ERR!  
> npm ERR! Failed at the gladys-server@ start:prod script.  
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  
> npm ERR! A complete log of this run can be found in:  
> npm ERR! /root/.npm/\_logs/2021-02-23T02\_09\_20\_839Z-debug.log  
> gladys-server@ start:prod /src/server  
> cross-env NODE\_ENV=production node index.js  
> Initialising OpenZWave 1.6.0 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-23T03:10:47+0100 index.js:16 (Object.start) Starting RTSP service  
> 2021-02-23T03:10:48+0100 index.js:51 (Object.start) Starting CalDAV service  
> 2021-02-23T03:10:48+0100 index.js:19 (Object.start) Starting example service  
> 2021-02-23T03:10:48+0100 index.js:18 (Object.start) Starting Philips Hue service  
> 2021-02-23T03:10:48+0100 index.js:16 (Object.start) Starting MQTT service  
> 2021-02-23T03:10:48+0100 updateContainer.js:13 (MqttHandler.updateContainer) MQTT: checking for required changes…  
> 2021-02-23T03:10:48+0100 service.start.js:40 (Service.start) Service mqtt is not configured, so it was not started.  
> 2021-02-23T03:10:48+0100 index.js:20 (Object.start) Starting Open Weather service  
> 2021-02-23T03:10:48+0100 service.start.js:40 (Service.start) Service openweather is not configured, so it was not started.  
> 2021-02-23T03:10:48+0100 index.js:18 (Object.start) Starting TP-Link service  
> 2021-02-23T03:10:48+0100 index.js:17 (Object.start) Starting eWeLink service  
> 2021-02-23T03:10:48+0100 service.start.js:40 (Service.start) Service ewelink is not configured, so it was not started.  
> 2021-02-23T03:10:48+0100 index.js:15 (Object.start) Starting Bluetooth service  
> 2021-02-23T03:10:49+0100 index.js:19 (process.) uncaughtException catched: uncaughtException  
> 2021-02-23T03:10:49+0100 index.js:20 (process.) 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: ‹&nbsp;ENODEV&nbsp;›,  
> syscall: ‹&nbsp;bind&nbsp;›  
> }  
> 2021-02-23T03:10:50+0100 bluetooth.initPresenceScanner.js:18 (BluetoothManager.initPresenceScanner) Bluetooth configuration: starting presence scanner  
> 2021-02-23T03:10:50+0100 index.js:15 (Object.start) Starting Tasmota service  
> 2021-02-23T03:10:50+0100 index.js:16 (Object.start) Starting zwave service  
> 2021-02-23T03:10:50+0100 service.start.js:40 (Service.start) Service zwave is not configured, so it was not started.  
> 2021-02-23T03:10:50+0100 index.js:14 (Object.start) Starting Xiaomi service  
> 2021-02-23T03:10:50+0100 index.js:13 (Object.start) Starting usb service  
> 2021-02-23T03:10:50+0100 index.js:19 (Object.start) Starting Telegram service  
> 2021-02-23T03:10:50+0100 service.start.js:40 (Service.start) Service telegram is not configured, so it was not started.  
> 2021-02-23T03:10:50+0100 index.js:63 (Server.) Server listening on port 80  
> 2021-02-23T03:11:13+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T03:11:32+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T03:11:39+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T03:11:44+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T03:11:49+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T03:26:07+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T04:36:05+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T04:36:10+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T04:36:14+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T04:36:19+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T04:38:58+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T04:39:02+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T05:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T07:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T09:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T11:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T13:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T15:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T17:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T19:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T21:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T23:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-23T23:14:21+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:14:26+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:14:35+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:15:21+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:15:27+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:20:24+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:20:28+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:29:21+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:29:26+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:29:45+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:30:00+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:54:26+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:54:29+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-23T23:54:39+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T00:56:46+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T00:57:03+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T00:57:24+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:03:28+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:03:31+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:03:40+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:03:45+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:09:56+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:10:00+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:10:04+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:10:07+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:10:11+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:10:15+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T01:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T02:04:02+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:04:20+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:04:42+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:04:48+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:05:20+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:05:28+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:05:35+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:05:39+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:05:43+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:05:47+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T02:45:13+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:08:22+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:08:34+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:08:39+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:09:32+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:09:37+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:09:44+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:09:48+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:10:40+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T03:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T05:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T07:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T09:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T11:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T13:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T15:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T17:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T19:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T21:04:28+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T21:06:12+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T21:10:50+0100 gateway.checkIfBackupNeeded.js:9 (Gateway.checkIfBackupNeeded) Instance not connected to Gladys Gateway, not backing up.  
> 2021-02-24T21:15:42+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges  
> 2021-02-24T21:16:26+0100 light.getBridges.js:10 (PhilipsHueLightHandler.getBridges) PhilipsHueService: Found 0 bridges

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

A vos avis?  
Hervé

---

<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:** [Février 24, 2021, 9:20 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/34 "2021-02-24T21:20:53Z")

</div>

@pierre-gilles

L’api conseille de fallback sur `upnpSearch` si la première méthode de fonctionne pas, y’a une raison de pas le faire ou ça se tente ?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Février 25, 2021, 8:36 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/35 "2021-02-25T08:36:28Z")

</div>

@VonOx pas con !

Je vois deux possibilités de fix:

- Déjà, mettre à jour la lib à la dernière version (4.0.9), là ou de notre côté on utilise la 3.4.0. Il y a peut-être des modifications dans l’API Philips Hue qui feraient que certains bridges ne sont plus retournés
- Ensuite, rajouter un cas, si le résultat du nUpnp search est un tableau vide, lancer un Upnp search

@VonOx tu pourrais faire une PR ? ou je m’en charge? 🙂

Edit: fait, PR ici : [Upgrade philips-hue dependency to 4.0.9 & improve bridge search by Pierre-Gilles · Pull Request #1080 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1080)

@Herve Je ne vois rien de mal de ton côté. Comme on se dit plus haut avec Vincent, il y a peut-être des modifications dans le code qui pourraient aider la détection dans ton cas. Il faut qu’on code ça, et on reviendra vers toi avec un fix possible (qui n’est pas garanti de fonctionner, mais bon il faut tenter 😛 )

---

<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:** [Février 25, 2021, 9:43 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/36 "2021-02-25T09:43:54Z")

</div>

Je vois que tu l’as déjà faites 😉

J’aurai pas eu le temps avant ce week-end

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Février 25, 2021, 10:06 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/37 "2021-02-25T10:06:45Z")

</div>

@VonOx En fait je pense qu’on va abandonner le nupnp-search… l’API a changé, et il ne retourne plus les informations dont on a besoin. Il faut forcément passer par le search local dans tous les cas.

 ![Screenshot 2021-02-25 at 11.04.44](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/badc43ccb8a448f45b2381f504c403515e6a166c.png)

C’est pas déconnant, au moins pas d’appel Cloud qui pourrait faire péter Gladys 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Février 25, 2021, 10:16 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/38 "2021-02-25T10:16:52Z")

</div>

@VonOx est-ce que tu pourra tester “en réel” ma PR ? J’ai pas de matos Philips Hue sous le coude

---

<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:** [Février 25, 2021, 11:35 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/39 "2021-02-25T11:35:58Z")

</div>

Ce week-end oui pas de problèmes

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [Février 27, 2021, 11:25 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/40 "2021-02-27T11:25:09Z")

</div>

Testé aujourd’hui, j’ai un souci avec des lampes Hue Ambiance :

```auto
2021-02-27T12:14:10+0100 <debug> device.notify.js:35 (DeviceManager.notify) Function device.postCreate in service undefined does not exist.
2021-02-27T12:14:13+0100 <trace> errorMiddleware.js:49 (errorMiddleware) TypeError: Cannot read property 'capabilities' of undefined
    at getPhilipsHueWhiteTemperatureLight (/Users/cyril.be.home/workspace/Gladys/server/services/philips-hue/lib/models/whiteWithTemperature.js:48:37)
    at /Users/cyril.be.home/workspace/Gladys/server/services/philips-hue/lib/light/light.getLights.js:43:31
    at Array.forEach (<anonymous>)
    at /Users/cyril.be.home/workspace/Gladys/server/services/philips-hue/lib/light/light.getLights.js:31:12
From previous event:
    at processImmediate (internal/timers.js:461:21)
From previous event:
    at PhilipsHueLightHandler.getLights (/Users/cyril.be.home/workspace/Gladys/server/services/philips-hue/lib/light/light.getLights.js:23:17)
    at getLights (/Users/cyril.be.home/workspace/Gladys/server/services/philips-hue/api/hue.controller.js:31:49)

```

Quand je log l’objet `philipsHueLight`, les données ne sont plus dans `_rawData` mais dans `_data`.

À corriger dans :

- server/services/philips-hue/lib/models/colorWithTemperature.js (lignes 59/60)
- server/services/philips-hue/lib/models/whiteWithTemperature.js (lignes 48/49)

Même chose pour les scènes (même si on ne les utilise pas) :

- server/services/philips-hue/lib/light/light.getScenes.js (ligne 27)

---

<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:** [Février 27, 2021, 7:53 UTC](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075/41 "2021-02-27T19:53:35Z")

</div>

Je confirme je viens de test ( la recherche du bridge est ok )

[Page précédente](https://community.gladysassistant.com/t/probleme-dintegration-philips-hue/6075.md?page=1)

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