Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi, I am completely new with thingworx, I am receiving the data from wireless AC current sensor interface with Esp8266. I 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.
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:
It was quite fun to build it :)
Cheers,
Michael
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?
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
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