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.
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)
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 « Gladys.local » or @IP and nothing to do.
The software version of Gladys is ok v4.0.4 and the bridge as well.
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?
And via the command sudo docker logs gladys --since 2020-01-02T10:00:00 -f --details over ssh on the pi:
> 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
For information, I tried to cut and restart the service in the settings, but it’s the same.
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.
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 « Search on the network » button, going back and forth on the page. And waited about 30 minutes… I don’t know what triggered the discovery.
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