<?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[m5Dail MQTT and Wifi Help]]></title><description><![CDATA[<p dir="auto">Please i need some help to set up a simple MQTT to send and receive messages<br />
i bought the M5Dail over 3 months ago and i still cant use it, i keep getting all kind of errors, i updated to the latest firmware and its still not working<br />
<img src="/assets/uploads/files/1708954896667-035d4811-b035-40af-9721-fe7ed27e15ef-image-resized.png" alt="0_1708954894539_035d4811-b035-40af-9721-fe7ed27e15ef-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">then i get these errors, including on the screen<br />
<img src="/assets/uploads/files/1708954944262-7060e1fc-a12d-4b69-86ef-51551794e3e1-image.png" alt="0_1708954943111_7060e1fc-a12d-4b69-86ef-51551794e3e1-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Edit: Even if i try to just setup a simple WIFI client, i get this error<br />
Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 22, in &lt;module&gt;<br />
File "&lt;stdin&gt;", line 15, in setup<br />
OSError: Wifi Internal Error</p>
<p dir="auto">Can anyone please post your flow of a working MQTT?<br />
thank you</p>
]]></description><link>https://community.m5stack.com/topic/6154/m5dail-mqtt-and-wifi-help</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 03:09:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6154.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Feb 2024 13:42:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Thu, 25 Apr 2024 03:59:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi, I am trying to get MQTT to work on M5Dial, I started using uiflow2 and building myself, I have made it work in the past with a Core2 and UIFlow, but no luck yet with UIFLOW2 and the dial.</p>
<p dir="auto">Using the M5Dial_WiFi_MQTT_UIFlow2.0.1 example from <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> I can get it to work, but if I change the subscribe block to display the MQTT message, or to set a variable to get message(return bytes), I get the following error:</p>
<p dir="auto">File "umqtt/simple.py", line 114, in connect<br />
MQTTException: 2</p>
<p dir="auto">Can anyone help?</p>
<p dir="auto">Further info:  I have found that this is actually from the broker side.  If I restart the broker, it will connect fine, until I power cycle, or reset.  The second connection fails.</p>
<p dir="auto">Solution:  I ended up changing libraries to PicoMQTT and was able to get everything working.</p>
]]></description><link>https://community.m5stack.com/post/24932</link><guid isPermaLink="true">https://community.m5stack.com/post/24932</guid><dc:creator><![CDATA[jimbol]]></dc:creator><pubDate>Thu, 25 Apr 2024 03:59:59 GMT</pubDate></item><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Mon, 26 Feb 2024 15:19:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> said in <a href="/post/24149">m5Dail MQTT and Wifi Help</a>:</p>
<blockquote>
<p dir="auto">M5Dial_WiFi_MQTT_UIFlow2.0</p>
</blockquote>
<p dir="auto">Thank you all very much<br />
<a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> your example worked perfectly, i really appreciate it</p>
]]></description><link>https://community.m5stack.com/post/24152</link><guid isPermaLink="true">https://community.m5stack.com/post/24152</guid><dc:creator><![CDATA[iosapps420]]></dc:creator><pubDate>Mon, 26 Feb 2024 15:19:14 GMT</pubDate></item><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Mon, 26 Feb 2024 14:57:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys</p>
<p dir="auto">please find my M5Dial MQTT (subscribe and publish) example called <em>M5Dial_WiFi_MQTT_UIFlow2.0.1</em> in the UIFlow2 Play Zone.</p>
<p dir="auto">BTW: <code>MQTT apply for messaging</code> (e.g. <code>mqtt_client.wait_msg()</code> block is a blocking call, e.g. it waits until a message is received. If you only want to check for new messages (non blocking) you'll need to use an <code>Execute mpy code</code> block with <code>mqtt_client.check_msg()</code> in it.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24149</link><guid isPermaLink="true">https://community.m5stack.com/post/24149</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 26 Feb 2024 14:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Mon, 26 Feb 2024 14:47:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/44346">@iosapps420</a> said in <a href="/post/24146">m5Dail MQTT and Wifi Help</a>:</p>
<blockquote>
<p dir="auto">Thank you for the quick replies, i think i managed to make it work, it seemed to be an issue with WIFI<br />
now i can publish messages everytime i rotart the dial, but the new issue i'm having is receiving messages (or in other words Subscribing)<br />
below is a sample bock code, i would receive one message then it stops receiving.<br />
do you know the block "MQTT Apply For Messages" what is it used for? if i add it i would receive one message, i tried adding in the subscribe blocky but then i cant publish, any idea what i'm doing wrong?</p>
<p dir="auto"><img src="/assets/uploads/files/1708957755055-163b591b-6414-4efe-a6d6-ae2fe9c68705-image-resized.png" alt="0_1708957753002_163b591b-6414-4efe-a6d6-ae2fe9c68705-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">are you publishing and subscribing to same topic or two different so something else is acting for topic you subscribing?</p>
]]></description><link>https://community.m5stack.com/post/24147</link><guid isPermaLink="true">https://community.m5stack.com/post/24147</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Mon, 26 Feb 2024 14:47:23 GMT</pubDate></item><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Mon, 26 Feb 2024 14:29:21 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the quick replies, i think i managed to make it work, it seemed to be an issue with WIFI<br />
now i can publish messages everytime i rotart the dial, but the new issue i'm having is receiving messages (or in other words Subscribing)<br />
below is a sample bock code, i would receive one message then it stops receiving.<br />
do you know the block "MQTT Apply For Messages" what is it used for? if i add it i would receive one message, i tried adding in the subscribe blocky but then i cant publish, any idea what i'm doing wrong?</p>
<p dir="auto"><img src="/assets/uploads/files/1708957755055-163b591b-6414-4efe-a6d6-ae2fe9c68705-image-resized.png" alt="0_1708957753002_163b591b-6414-4efe-a6d6-ae2fe9c68705-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/24146</link><guid isPermaLink="true">https://community.m5stack.com/post/24146</guid><dc:creator><![CDATA[iosapps420]]></dc:creator><pubDate>Mon, 26 Feb 2024 14:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Mon, 26 Feb 2024 14:23:56 GMT]]></title><description><![CDATA[<p dir="auto">I posted an example in UIFlow2’s project zone for the atom. I found the issue is with the placement of the MQTT unit block</p>
<p dir="auto">The error says the host is unreachable, are you sure you have the correct address?</p>
]]></description><link>https://community.m5stack.com/post/24145</link><guid isPermaLink="true">https://community.m5stack.com/post/24145</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 26 Feb 2024 14:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to m5Dail MQTT and Wifi Help on Mon, 26 Feb 2024 14:13:55 GMT]]></title><description><![CDATA[<p dir="auto">I'm using external Hive MQTT and it didn't worked with build in blocks for mqtt on my M5Dial so had to use "execute code" way and it was fine</p>
<p dir="auto">add wifi config to your code too</p>
]]></description><link>https://community.m5stack.com/post/24144</link><guid isPermaLink="true">https://community.m5stack.com/post/24144</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Mon, 26 Feb 2024 14:13:55 GMT</pubDate></item></channel></rss>