Skip to main content
Jun 18, 2018 5:49 AM UTC
Solved

NodeMCU ESP8266 can't update the value in thingworx

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 

Jun 22, 2018 6:42 PM UTC

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?

4 replies

Jun 22, 2018 2:03 PM UTC

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

 

EnasMaherAuthor
Jun 22, 2018 2:43 PM UTC

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

Jun 22, 2018 6:42 PM UTC

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?