Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hue Sync does not find bridge #42

Open
TobiS87 opened this issue Dec 31, 2020 · 26 comments
Open

Hue Sync does not find bridge #42

TobiS87 opened this issue Dec 31, 2020 · 26 comments
Labels
bug Something isn't working confirmed We know what should be done to resolve the issue partial fix Partially fixed but needs to be revisited

Comments

@TobiS87
Copy link

TobiS87 commented Dec 31, 2020

Since the Entertainment Zones are working so much better now (can actually add all my desired lights to them, ty :)) I tried syncing to Phillips HueSync for PC to get my "Ambilight" going. Unfotunately the program can not finde the bridge. I just searches the bridge forever. The prompt for link mode is triggered, but it never connects.

@Mr-Groch
Copy link
Contributor

Mr-Groch commented Jan 1, 2021

I think it may be the same problem as #41 . My Philips TV also doesn't discover Emulated Hue, but linking notification appear during discovery...

@marcelveldt
Copy link
Collaborator

version 0.0.8 is currently building to docker hub and should be available within an hour.
can you give that a test drive please ?

@TobiS87
Copy link
Author

TobiS87 commented Jan 1, 2021

Thanks for the quick update. 0.0.8 really fixes some things. First of all the bridge ist found and I see the screen where I am prompted to press the sync button. When I then go into link mode the pairing never happens. The timer just runs out without anything happening.

The settings show the virtual bridge as found (and not paired), though.

The Add-On log gives me the following messsage:

2021-01-01 16:21:13,587 WARNING emulated_hue.api -- Invalid/unknown request: <Request GET /auth/v1 >

@alexyao2015
Copy link
Member

Thanks for the information! We'll need to test Hue Sync further to determine why it's not connecting.

@TobiS87
Copy link
Author

TobiS87 commented Jan 1, 2021

I now dicovered that 0.0.8 crashes the hue app when trying to open the App. I wiped data on the app and now cant connect the emulated bridge in the hue app anymore. Ill do a completely fresh install (App an Add-On) later and try again.

As Hue Sync prompts that the bridge has to be connected over the hue app first maybe thats the issue... ill report back later.

@alexyao2015
Copy link
Member

Thats strange. Maybe the certificate was changed to the the mac detection revisions?

Try uninstalling and reinstalling the add-on and the app.

@marcelveldt
Are certificates overwritten automatically if the Mac is changed?

@TobiS87
Copy link
Author

TobiS87 commented Jan 1, 2021

Completely fresh install worked - so everything back to normal in the hue app.

Hue Snyc still doesnt work though. Same behavior as described an hour ago. Link mode is enabled but it will never connect. Patiently waiting for you guys doing your magic. ;)

@marcelveldt
Copy link
Collaborator

Thats strange. Maybe the certificate was changed to the the mac detection revisions?

Try uninstalling and reinstalling the add-on and the app.

@marcelveldt
Are certificates overwritten automatically if the Mac is changed?

No, but Hue apps are very restrictive about the certificate. So even if you automagically update the certificate on mac change, the Hue app will error out because the certificate doesn't match the mac. Maybe print an error in the logs when the certificate is (re)generated and store the mac in persistent config to detect this scenario.

In this case the issue is caused by the fact that the mac detection was fixed but that invalidated the certificate.

@alexyao2015
Copy link
Member

alexyao2015 commented Jan 1, 2021

Yes, we would likely still want to automatically update the certificate to avoid having to reinstall the add-on and lose the config. Reinstalling the app is a procedure that shouldn't hassle users that much.

@alexyao2015
Copy link
Member

We can also read the Mac directly off the certificate to avoid having to store the Mac in the config. See here.

@marcelveldt
Copy link
Collaborator

checked in a fix for the certificate/mac detection. certificate will now be recreated if the mac changes somehow.

@marcelveldt
Copy link
Collaborator

HUE Sync is currently not compatible with this addon. If you try to downgrade your version of Hue sync to a previous version it might still work though. Philips changed something that we need to figure out ;-)

@wessller
Copy link

wessller commented Jan 1, 2021

Tried HueSync v 1.3.4.3 with 0.0.8. No luck. Waiting for 0.0.9 to be available.

@marcelveldt
Copy link
Collaborator

0.0.9 fixes the discovery issue so that might work with an older version of HUE Sync.

@wessller
Copy link

wessller commented Jan 2, 2021

0.0.10.
Hue Sync 1.3.4.3. Can connect to the Emulated Bridge, see the Entertainment areas, use the Scenes from Hue sync but no actual Syncing from either Video or Games.

Hue Sync 1.5.1.0 Can not connect to Emulated Bridge. Pairing requests is received

Hue Sync 1.5.3.3 Can not connect to Emulated Bridge. Pairing requests is received

@marcelveldt
Copy link
Collaborator

Good to know that you find the version from where it broke ;-)
Can you see a log stating that the entertainment mode server was started when you start Hue Sync ?

I'll try if I can lookup that version for MacOS too so I can have a test myself.

@alexyao2015 alexyao2015 added the bug Something isn't working label Jan 4, 2021
@alexyao2015
Copy link
Member

I'm seeing it find and attempt to pair with the bridge, but once registered, it does not progress further.
Logs show GET /api/nouser/config and GET /api/username/config
Oddly enough, this would be indicative of incorrect data at either of these endpoints, but I've validated that the responses are exactly the same as an official bridge...

@alexyao2015
Copy link
Member

Hue Sync 1.3.4.3 should work on the fix/api-inconsistencies for now. Still need to figure out why the new versions of Hue Sync fail to pair.

@Kh3nsu
Copy link

Kh3nsu commented Jan 11, 2021

I was just referred to this as my thread was closed. I don't use HueSync but Razer Synapse. It connects perfectly and also recognises the entertainment areas and the lights in them. Unfortunately, none of the lights respond even in the Hue app when I configure these areas (See thread Hue Entertainment - Lights not responding #69). They respond when arranging but no longer when testing the synchronisation.

@alexyao2015 alexyao2015 added the partial fix Partially fixed but needs to be revisited label Jan 11, 2021
@marcelveldt
Copy link
Collaborator

@WolfsWelpe the issue of non responding lights is being worked on, see #69

As for Hue Sync, only older versions work atm as the HUE api got a major upgrade which we need to implement.
So Hue Sync 1.3.4.3 (or below) should work fine with current version of this addon.

@Kh3nsu
Copy link

Kh3nsu commented Jan 16, 2021

@WolfsWelpe the issue of non responding lights is being worked on, see #69

As for Hue Sync, only older versions work atm as the HUE api got a major upgrade which we need to implement.
So Hue Sync 1.3.4.3 (or below) should work fine with current version of this addon.

I'm still not using Hue Sync ^^ Just Razer Synapse but maybe there is the same problem with the API.

@github-actions
Copy link
Contributor

Stale issue message

@BrunoN17
Copy link

Hi everyone!
I can confirm the same issue. The Android / iOS hue app works perfectly but on Windows it doesn't. Looks like it founds the bridge for half second and then it disappears. The discovery notification is triggered and nothing happens.

I can use some iOS third party apps like iLightShow but hueDynamic for Hue on Windows also doesn't work. After pairing it starts to say there was some communication issues with the bridge.

Let me know if there's anything I can do to help

Thanks!

@github-actions
Copy link
Contributor

This issue has been marked as stale due to no activity and will be closed in 7 days.

@github-actions github-actions bot added the stale label Jun 12, 2021
@alexyao2015 alexyao2015 added confirmed We know what should be done to resolve the issue and removed stale labels Jun 12, 2021
@Trufax
Copy link

Trufax commented Jan 7, 2023

Is there any plans to update to the new API HueSync on WIndows does not work with the new version.

@M3te0r
Copy link

M3te0r commented Jan 14, 2023

Hi, I'm facing the same issue with Hue Sync for Windows 10, the software does detect the emulated bridge and seems to be paired but it does not work further.

Tried with Hue Essentials on Windows but it just crashes at entertainment zone setup

It works well with the Hue module on Razer Synapse though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed We know what should be done to resolve the issue partial fix Partially fixed but needs to be revisited
Projects
None yet
Development

No branches or pull requests

9 participants