Hue app finds diyHue bridge, connects and then says it can not find the bridge

I have a fresh install of diyHue running in docker on a Raspberry Pi 5 8GB running the latest Bookworm Armx64 version.

As the subject states, when I use the Hue app on my iPhone to find the diyHue emulated bridge, first it won’t find it. Then I use the option to specify the IP. It then finds it and then when I click the continue button it says no bridge found.

After this happens if I go to the bridge page in the diyHue web GUI, the section that is read-only info about the emulated bridge, it is all empty except the local time box says “Invalid Date”.

Troubleshooting steps:

  • I have run the certificate check and all is as it should be.
  • I made sure my time zone is correct on my Pi and the diyHue app.
  • I checked the current date and time on my Pi and it is correct.
  • I have uninstalled diyHue and reinstalled it.
  • I have uninstalled the Hue iPhone app and reinstalled it.
  • I can look at the config.yaml file and see that a new entry for my iPhone app is added to the whitelist each time I connect the app to the diyHue emulated bridge.
  • I am running in host, not bridged mode because in bridged mode it did the same thing.
  • I have used the advanced config buttons to reset the config.
  • I have run in debug mode but I do not know what to look for in those files. I can post them here if that will help, but I don’t want to make a huge post so let me know if there is a specific part or message to share.

I am very frustrated. Any help would be greatly appreciated!

Thank you for reading this!

Hi, yes philips added a argument to the grouped lights, this prevens it from connecting, the reason the webui gives invallid time is because update time is not set and the webui cant find it so it stops there.
We are busy to fix this but time is an issue.

Thank you for the quick reply!

I understand most of it, but not the “grouped lights” part since I have not started trying to add lights yet. Is that just referring to the bridge would be used to attach lights?

Hi, i made an new release, please try this one.

I am getting the same results.

can you send the full debug from the webui?
webui>diyhue>bridge>bridge control>download debug>full debug

Is there a way to attach a file? It is about 10x too many characters to paste.

If it is acceptable, here is a Google Drive link: config_debug.tar - Google Drive

Debug logging is not enabled, can you aneble this and make a now log file?
In this logs i dont see anything strange.
How do you run diyHue in docker?
Can you post the command/docker compose file?

I just did the docker uninstall/reinstall. Deleted and reinstalled the Hue iPhone app and tried again. Same result.

The command I use to run in docker is: sudo docker run -d --name diyHue --restart=always --network=host -e MAC=2c:cf:67:3e:6d:5f -e DEBUG=true -v /mnt/hue-emulator/config:/opt/hue-emulator/config diyhue/core:latest

The previous time I just didn’t use “-e DEBUG=true”.

Here is a link to the Google Drive folder. I have added a new debug and two videos that are screen recordings of me using the Hue app. I only split it because of entering my PW.

https://drive.google.com/drive/folders/1fPrU866FbsKYFJJAANA_Hj368B7BE1pr?usp=sharing

Thank you for all your help!

You cant use a philips hue account, diyhue can not connect to philips cloid.
Please try without a login.

I did that and it worked. Damn I feel dumb. I didn’t even see the “skip” button on that screen to be able to bypass signing in. I obviously missed it in the docs too. I apologize and greatly appreciate your help and patience!!

Hi
I nearly got diyhue running. Than I decided to reinstall it not on a separate RPI.
By this I maybe accidently changed my myhue account to connected.
After this I could not connect the diyhue bridge to the HUE app.
I do not see a way to undo this, which leads to me not to be able to connect diyhue bridge to hue app.
As in this post @WickedCodeMonkey seems to have done this I would like to know how he did.
Respectivly I believe I am not the last one who will fall into this trap.
Any hints?
Thank you in advance and regards
Christoph

Hi, diyhue does not work with philips cloud, if you have logged in to philips the best thing to do is to reset/reinstall the hue app and continue with logging in.