You will have to excuse my inexperience. I am working to get a REST GET from an emulated NEST. I am able to get the desired GET response when using postman per the NEST developers tutorial. However, when I attempt to utilize the GET request from a ESP32 I am unable to connect. More precisely the HTTPSecureClient on the ESP32 is not able to connect to the following section always returns -11 or (not connected):
if (!client.connect(temp, 443))
Serial.println(“Connection failed!”);
else {
Serial.println(“Connected to server!”);
}
I am able to get the sample code to work, as well as other GET services to work on the esp32, but not the NEST. (also, i’ve tried a number of different host configurations i.e. https://developer-api.nest.com, developer-api.nest.com, 52.87.123.90, etc with no luck).
Again I am very new to this so any detailed help would be greatly appreciated.
ESP32 To NEST GET Request unable to connect?
Who is online
Users browsing this forum: No registered users and 104 guests