Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
1. NodeMCU ESP8266 using Arduino: can't update the value in thingworx foundation platform but serial monitor is showing the updated value continuously. Please Ref Image1_serialmonitor_output.
2. Also, on platform side there is one red color symbol 'disconnected', showing that my created thing 'NodeMCU' is not connected. You can find that symbol in attached image2, below search option.
3. Also find the attached code file. I guess code is using HTTP Client for coonecteion but the server is HTTPS (https://pp-xxxxxxxxxxxx.devportal.ptc.io). If this is the issue Please suggest me which library to use?
Solved! Go to Solution.
@cdp8990 : Image1_serialmonitor_output - this actually showing logs entry how the rest api call is going & not the actual updates
with rest api call you won't find your thing "NodeMCU" showing connected. it will be shown disconnected only
few changes you need to put in your code and as well as at ThingWorx Platform
For ThingWorx Platform - you reach out to Subsystem-- >PlatformSubsytem -->Configuration
put a "Check" on "Allow Request Method Switch" & remove "Check" from Filter Content Type
changes at code : use http with 8080 port
use char* server = "http://pp-19022205061l.devportal.ptc.io:8080" instead of char* server = "https://pp-19022205061l.devportal.ptc.io"
and secondly your rest call seems to be missing format
i have attached a txt file for reference - refer that and put down changes accordingly like appkey, ssid, password etc
@cdp8990 : Image1_serialmonitor_output - this actually showing logs entry how the rest api call is going & not the actual updates
with rest api call you won't find your thing "NodeMCU" showing connected. it will be shown disconnected only
few changes you need to put in your code and as well as at ThingWorx Platform
For ThingWorx Platform - you reach out to Subsystem-- >PlatformSubsytem -->Configuration
put a "Check" on "Allow Request Method Switch" & remove "Check" from Filter Content Type
changes at code : use http with 8080 port
use char* server = "http://pp-19022205061l.devportal.ptc.io:8080" instead of char* server = "https://pp-19022205061l.devportal.ptc.io"
and secondly your rest call seems to be missing format
i have attached a txt file for reference - refer that and put down changes accordingly like appkey, ssid, password etc
Thank you, I will encorporate the suggested changes and update the status.