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

Send Wireless AC current sensor values to Thingworx using ESP8266

Visitor

Send Wireless AC current sensor values to Thingworx using ESP8266

Hi, I am completely new with thingworx, I am receiving the data from wireless AC current sensor interface with Esp8266I am displaying the data in a local web server using HTTP client.

I want to send the data via MQTT to thingworx and perform data analytics.

Getting started with this do I have to install any MQTT broker?

Suggestions on this will be a great help.

4 REPLIES 4
Highlighted

Re: Send Wireless AC current sensor values to Thingworx using ESP8266

Hi @DERBY76

ThingWorx doesn't come with it's own MQTT broker, but is acting as a MQTT Client.

Usually in my setups I use Mosquitto https://mosquitto.org/ and the MQTT Extension from the PTC Marketplace https://marketplace.ptc.com/apps/193516/mq-telemetry-transport-mqtt#!overview

 

I'm not sure if this here is helpful for you:

https://community.ptc.com/t5/IoT-Tech-Tips/ThingBerry-connecting-a-ESP8266-module-with-a-DHT-11-sens...

It was quite fun to build it :)

 

Cheers,

Michael

Re: Send Wireless AC current sensor values to Thingworx using ESP8266

Hey, thanks for the advice but the link about ThingBerry, Are they using MQTT broker or MQTT client in this? Is there any procedure which helps to create the topic name in thingworx?

Re: Send Wireless AC current sensor values to Thingworx using ESP8266

It's using mosquitto as MQTT broker.

The ESP8266 connects as a client and sends data.

ThingWorx connects as a client and gets the data from the broker.

 

In ThingWorx the topic is mapped to a particular property value in the Configuration of the Thing based on the MQTT-Template, i.e. (property) name = temperature; topic = ESP_xx/temp

Re: Send Wireless AC current sensor values to Thingworx using ESP8266

Hi @DERBY76.

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Thank you for using our community!

 

Regards.

 

--Sharon