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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Thingworx 9.x Arduino ESP32 HTTP REST Library

dvelasquez-2
4-Participant

Thingworx 9.x Arduino ESP32 HTTP REST Library

Hello Thingworx community,

I would like to share a library to communicate via HTTP REST protocol an ESP32 using Arduino IDE and Thingworx. This library can handle both GET and POST methods to communicate with a "parser" service on the created Thing.

https://github.com/dvelaren/ThingworxESP32

This "parser" service needs to be implemented inside a Thing on Thingworx platform. It will receive as inputs one or more Strings and it will convert to float each input and store it on each Thing property like shown below. 

 

 

 

me.Temperature = parseFloat(inputVar1);
me.Humidity = parseFloat(inputVar2);

 

 

 

 I hope it can help you with your ESP32 projects. Leave me a star on github if possible.

 

0 REPLIES 0
Top Tags