philips_android_tv icon indicating copy to clipboard operation
philips_android_tv copied to clipboard

Pairing read timeout for ESP32

Open RensMvP opened this issue 3 years ago • 0 comments

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" } }

RensMvP avatar Mar 25 '22 13:03 RensMvP