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

Error when trying to create connection #23

Open
olliebaum opened this issue Jul 19, 2023 · 1 comment
Open

Error when trying to create connection #23

olliebaum opened this issue Jul 19, 2023 · 1 comment
Labels
support Further information is requested

Comments

@olliebaum
Copy link

I get the following error when trying to make a new connection:
Error - try and enter the Hue bridge IP manually - SyntaxError: Unexpected end of JSON input

Console errors are attached below
Screenshot 2023-07-19 at 22 10 46

@JakobJFL
Copy link
Owner

JakobJFL commented Jul 22, 2023

Have you tried to enter the IP manually? You can find it in the Hue app under settings then my hue system.
If you are more curious as to why it doesn't work try and navigate to https://discovery.meethue.com/ and see if one of the IPs is of your bridge or if there are any IPs. If you do this let me know what you get.

If you still have problems after you have entered the correct IP manually try and see if you can get info from your bridge. You can do this by entering the following URL into your browser and see if you get a JSON string:
https://<<bridge IP>>/api/<<access token>>/
Here you need an access token for the bridge if you already have one you can use that. If you don't you can follow this guide to create an authorized user: https://developers.meethue.com/develop/get-started-2/
If you are able to do all this the problem is probably with the Hue controller. Let me know how it goes. Hope you get it to work :).

@JakobJFL JakobJFL added the support Further information is requested label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants