cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

NodeMCU ESP8266 can't update the value in thingworx

EnasMaher
4-Participant

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 

ACCEPTED SOLUTION

Accepted Solutions

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?

View solution in original post

4 REPLIES 4

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

 

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

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?

the library is ESP8266HTTPClient and that's right the prolem was in using https
thanks a lot for your help 

Announcements


Top Tags