Skip to main content
1-Visitor
June 18, 2018
Solved

NodeMCU ESP8266 can't update the value in thingworx

  • June 18, 2018
  • 1 reply
  • 2434 views

I have connected a nodeMCU to my laptop and create a thing on the platform then i tried to update the reading from arduino IDE to platform by http request 
but the value doesn't updated and i don't know why please help

the attached file has the code which i tried with it to update the value 

Best answer by Rick-Stanley

Looking at the code you previously posted the next problem I see is that your server is using https and your code is using HTTPClient - not https. I am not sure if the ESP8266 can make an HTTPS request, what library are you using?

1 reply

5-Regular Member
June 22, 2018

The SSID and password for the WiFi access point your NodeMCU should use are blank, you will need to enter valid WiFi credentials so the device can connect.

 

This guide walks you through using an ESP8266 device:

https://developer.thingworx.com/resources/guides/connect-adafruit-feather

 

EnasMaher1-VisitorAuthor
1-Visitor
June 22, 2018

thanks for your help but I did it and the value didn't updated

5-Regular Member
June 22, 2018

Looking at the code you previously posted the next problem I see is that your server is using https and your code is using HTTPClient - not https. I am not sure if the ESP8266 can make an HTTPS request, what library are you using?