<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sending ESP8266 Sensor Data to ThingWorx Using MQTT – Need Guidance in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1058971#M71280</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1061831"&gt;@DD_14525730&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you found the response from Constantine helpful, please mark it as the Accepted Solution for the benefit of others in the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Sharon&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2026 15:40:39 GMT</pubDate>
    <dc:creator>slangley</dc:creator>
    <dc:date>2026-03-17T15:40:39Z</dc:date>
    <item>
      <title>Sending ESP8266 Sensor Data to ThingWorx Using MQTT – Need Guidance</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1057949#M71267</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently learning ThingWorx and trying to connect a small IoT setup, but I’m a bit confused about the correct architecture and would really appreciate some guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current setup uses an &lt;A href="https://robocraze.com/products/nodemcu-esp8266-amica-cp2102-driver" target="_blank" rel="noopener"&gt;ESP8266&lt;/A&gt;-based NodeMCU board to read data from a wireless AC current sensor. At the moment, the ESP8266 collects the sensor data and displays it on a local web server using an HTTP client. That part is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to extend this project so the device can send the sensor data to **ThingWorx for monitoring and analytics**, ideally using **MQTT** since it seems to be the common approach for IoT communication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I understand so far, the workflow might look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sensor → ESP8266 → MQTT → ThingWorx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I’m unsure about a few things:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Do I need to install and run a **separate MQTT broker** (for example Mosquitto) between the ESP8266 and ThingWorx?&lt;/LI&gt;&lt;LI&gt;Does **ThingWorx provide its own MQTT broker**, or does it only act as a subscriber/client?&lt;/LI&gt;&lt;LI&gt;Are there recommended libraries or examples for sending MQTT data from an ESP8266 to ThingWorx?&lt;/LI&gt;&lt;LI&gt;Would it be better to send the data via **REST/HTTP instead of MQTT** for a beginner implementation?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I’ve been reading some MQTT documentation here as well to understand the basics:&lt;BR /&gt;&lt;A href="https://mqtt.org/" target="_blank"&gt;https://mqtt.org/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also reviewing ESP8266 technical information from Espressif:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.espressif.com/en/products/socs/esp8266" target="_blank"&gt;https://www.espressif.com/en/products/socs/esp8266&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has built a ThingWorx + ESP8266 + MQTT pipeline before, I would really appreciate suggestions on the best way to structure this or any example projects/tutorials I could follow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 12:04:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1057949#M71267</guid>
      <dc:creator>DD_14525730</dc:creator>
      <dc:date>2026-03-10T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sending ESP8266 Sensor Data to ThingWorx Using MQTT – Need Guidance</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1057968#M71268</link>
      <description>&lt;HTML&gt;
 &lt;HEAD&gt;
 &lt;/HEAD&gt;&lt;BODY&gt;
  Hello,
  &lt;DIV&gt;
   &lt;BR /&gt;
  &lt;/DIV&gt;
  &lt;DIV&gt;
   1. Yes,
  &lt;/DIV&gt;
  &lt;DIV&gt;
   2. It acts as a client,
  &lt;/DIV&gt;
  &lt;DIV&gt;
   3. It only depends on your broker,
  &lt;/DIV&gt;
  &lt;DIV&gt;
   4. Yes, try that first. All you need to do is send an https POST call with JSON payload and a
  &lt;/DIV&gt;
  &lt;DIV&gt;
   fixed AppKey header for authentication.
  &lt;/DIV&gt;
  &lt;DIV&gt;
   &lt;BR /&gt;
   &lt;DIV&gt;
    &lt;DIV&gt;
     Regards,
     &lt;DIV&gt;
      Constantine
     &lt;/DIV&gt;
    &lt;/DIV&gt;
   &lt;/DIV&gt;
  &lt;/DIV&gt;
 
&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2026 15:19:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1057968#M71268</guid>
      <dc:creator>Constantine</dc:creator>
      <dc:date>2026-03-10T15:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sending ESP8266 Sensor Data to ThingWorx Using MQTT – Need Guidance</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1058971#M71280</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1061831"&gt;@DD_14525730&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you found the response from Constantine helpful, please mark it as the Accepted Solution for the benefit of others in the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Sharon&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 15:40:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Sending-ESP8266-Sensor-Data-to-ThingWorx-Using-MQTT-Need/m-p/1058971#M71280</guid>
      <dc:creator>slangley</dc:creator>
      <dc:date>2026-03-17T15:40:39Z</dc:date>
    </item>
  </channel>
</rss>

