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

Pairing read timeout for ESP32 #40

Open
RensMvP opened this issue Mar 25, 2022 · 0 comments
Open

Pairing read timeout for ESP32 #40

RensMvP opened this issue Mar 25, 2022 · 0 comments

Comments

@RensMvP
Copy link

RensMvP commented Mar 25, 2022

For a project i am trying to port the pylips api to esp32 arduino C. Currently i managed to get the ambilight working with http on port 1925, but now i want to pair the tv and the ESP32 for the encryption. Sadly i am stuck on a read timeout after posting the pair request via https.

I think that the might be within the Json data that i am sending, but i might be wrong.
I am opening a connection with:
httpSecure.begin(Wificlient, "tvIP", 1926, "/6/pair/request", true);

and send the json data with the help of arduinoJson als a stream:
{ "scope": [ "read", "write", "control" ], "device": { "device_name": "heliotrope", "device_os": "Android", "app_name": "Pylips", "type": "native", "app_id": "app.id", "id": "HWvAq8UdGxbGbsH7" } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant