<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Core 2 MQQT fails to publish on topic]]></title><description><![CDATA[<p dir="auto">I have followed various MQTT tutorials , none of them mention about connecting to the internet via WiFi before running the MQTT protocols, they just show the MQTT Code?</p>
<p dir="auto">Am I correct in assuming that M5FLOW requires you to connect to a WiFi connection ? or does the code auto connect using the last known WiFi  SSID and Password ??</p>
<p dir="auto">Does anyone have a full example of code that works .</p>
<p dir="auto">I am using a cloud Broker and have succesfully set up and tested using Android clients so I know the credentials and so on are correct,.<br />
Any pointers or help greatly appreciated.</p>
]]></description><link>https://community.m5stack.com/topic/5412/core-2-mqqt-fails-to-publish-on-topic</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 00:20:55 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5412.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Jun 2023 16:39:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Core 2 MQQT fails to publish on topic on Sun, 25 Jun 2023 13:26:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a></p>
<p dir="auto">started with this <a href="https://youtu.be/5RozKI-3i4Q" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/5RozKI-3i4Q</a>..</p>
<p dir="auto">My project is to monitor power , security , humidity , temperature and water leaks at a remote business premises . Thats part 1<br />
Part 2 is to push actions over MQQT  based on reports .</p>
<p dir="auto">Will be using a Stick C plus for sensing  and Core 2 at home plus Andoid app for real time alert.</p>
]]></description><link>https://community.m5stack.com/post/21321</link><guid isPermaLink="true">https://community.m5stack.com/post/21321</guid><dc:creator><![CDATA[colmana]]></dc:creator><pubDate>Sun, 25 Jun 2023 13:26:24 GMT</pubDate></item><item><title><![CDATA[Reply to Core 2 MQQT fails to publish on topic on Sun, 25 Jun 2023 13:11:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">many thanks for your helpful reply , I managed to get it working by adding the wifi code  blocks , you r link was of interest too !</p>
<p dir="auto">cheers<br />
Alan</p>
]]></description><link>https://community.m5stack.com/post/21320</link><guid isPermaLink="true">https://community.m5stack.com/post/21320</guid><dc:creator><![CDATA[colmana]]></dc:creator><pubDate>Sun, 25 Jun 2023 13:11:57 GMT</pubDate></item><item><title><![CDATA[Reply to Core 2 MQQT fails to publish on topic on Fri, 23 Jun 2023 17:24:05 GMT]]></title><description><![CDATA[<p dir="auto">As <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> has said, If you run it live using the run button, it will connect to which ever network the S3device is connected to where as if you use the download you need to have the Wifi credential blocks added to the setup.</p>
<p dir="auto">What MQTT guides have you been following?<br />
I have a standalone MQTT server on an M5Stack CM4 Stack running to test MQTT and IOT.</p>
]]></description><link>https://community.m5stack.com/post/21291</link><guid isPermaLink="true">https://community.m5stack.com/post/21291</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 23 Jun 2023 17:24:05 GMT</pubDate></item><item><title><![CDATA[Reply to Core 2 MQQT fails to publish on topic on Fri, 23 Jun 2023 16:52:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/colmana" aria-label="Profile: colmana">@<bdi>colmana</bdi></a></p>
<p dir="auto">in my experience it depends. If you use <code>Run</code> then the already setup WiFi connection (which is used to connect to UIFlow server) is used.</p>
<p dir="auto">However when you use <code>Download</code> it only works until you reboot your device.</p>
<p dir="auto">So what I do in my UIFlow programs which need WiFi: I add the necessary block in setup anyways.</p>
<p dir="auto">See this <a href="https://community.m5stack.com/topic/4845/ui-flow-mqtt-code-on-m5stack-core-works-when-run-from-flow-m5stack-com-but-not-mqttexception-128-when-downloaded-to-device/2">thread</a> about how to do that.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21289</link><guid isPermaLink="true">https://community.m5stack.com/post/21289</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 23 Jun 2023 16:52:16 GMT</pubDate></item></channel></rss>