Can´t Link "Hue-Bridge" with official App - Linkbutton not working

yesterday I installed the Hue Bridge Emulator on my Raspberry Pi 3b via Host install command line. Everything worked fine until I wanted to include the Bridge in the “Hue” app. On the one hand it wasn’t found by the search function and on the other hand it wasn’t even displayed for more than a second if I entered the ip address manually. If I hit the Set up button in that short time the link button did not work. With Hue Essentials everything worked fine, but I would like to use the right Hue app for the Alexa Voice Service.
Another problem I have is that my first test lamp (Wemos D1 mini + WS2812b) works with the ip address but is not recognized even in hue essentials.
it would be nice if someone could help me.

Sounds like a bad certificate. Would highly suggest rereading the getting started documentation. Also recommend using docker instead.

Thank you for your fast answer.
I already checked the certificate and its fine. But I will try the Docker installation Method.
And why I can´t find my lamp?

I tested the Docker Installation and same problem. The Hue App doesn´t link with the Pi.
Hue Essentials is working but I still cant´t find my light.
I think it is the linkbutton line in the config.json file, because its on false. But when I edit it to true and save it and start the service again, the file is edited again.

Is your phone on the same VLAN/Subnet as your RPi?

The raspberry pi is connected via dlan to the router. My phone is directly connected to our main Wlan.

Regarding the light, try to ping the esp8266 while performing a light search.

I have perfomed the ping test and when i search for a device I get a very high ping. Its between 500ms and 2500ms. Without a search in the backround running its at 10ms. Is this the problem? And when yes, how do I solve it? Thanks for your help.

That could be your problem. Have you tried having the Pi and your phone on the same LAN for the purposes of pairing?

The DLan is not the problem. I have tried to add the light bit it didnt work. Did I overlook something in the integration of the lamp?

Not sure if you have it solved by now (I hope so)
but I had your same problem, and I found out that in order for the changes you make in the config.json to be permanent (meaning they will stick) you need to stop the service (or container) before making the changes.
So in case of the Raspberry Pi, in SSH you’d have to send the command

sudo systemctl stop hue-emulator.service

then edit the config.json and after that, issuing the command

sudo systemctl start hue-emulator.service

I hope it helps someone else too.

Thats correct! @cinghialino

We recommend the use of docker and the docker Image as this is the now “go to” way.
I know docker can be a bit intimidating for first time users, but it is definitly much easier to maintain and update for users as well as devs as we can ship everything that is neccesairy in one single (docker) file.

1 Like