<?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[M5 Stick C + UIFlow + MQTT]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<h3>My setup</h3>
<ul>
<li>M5 Stick C</li>
<li>flashed and run with UI Flow 1.2.3</li>
</ul>
<h3>Problem</h3>
<p dir="auto">I am able to setup connection to my local MQTT server - connection is fast, and durable (doesn't disconnect in general). However after I am connected M5 loose MQTT messages (doesn't receive them, or it doesn't handle them). At times it handles every message (lets say for about 10s), but later it doesn't handles any. Also at times it receive a message but it triggers the callback (the block of code) 5 - 10 s later.</p>
<p dir="auto">My feeling is that M5 get's the messages but for some reason those are lost within the device.</p>
<p dir="auto">I have similar setup with Wemos D1 (ESP8266) and there is no problem with MQTT.</p>
<p dir="auto">I can only imagine that code written in plain C / C++ would be more robust, but I like the UI Flow env a lot and I would like to keep using it.</p>
<p dir="auto"><strong>Do you have any hint what could be the reason of my problem and how could I try to fix it?</strong></p>
]]></description><link>https://community.m5stack.com/topic/1010/m5-stick-c-uiflow-mqtt</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 02:43:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1010.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 19 May 2019 09:50:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5 Stick C + UIFlow + MQTT on Sun, 19 May 2019 11:00:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1482">@michalt</a> Thank you for sharing this solution.</p>
<p dir="auto">I had a similar "1 Shot" event like what you are describing but with the buttons.</p>
]]></description><link>https://community.m5stack.com/post/4331</link><guid isPermaLink="true">https://community.m5stack.com/post/4331</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 19 May 2019 11:00:17 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Stick C + UIFlow + MQTT on Sun, 19 May 2019 10:54:22 GMT]]></title><description><![CDATA[<p dir="auto">Ok, looks like I have solved the problem. I had to add empty infinite loop in order to not stop the device.</p>
<h3>Before</h3>
<p dir="auto"><img src="/assets/uploads/files/1558263175026-screenshot-2019-05-19-at-11.42.06-resized.png" alt="0_1558263171783_Screenshot 2019-05-19 at 11.42.06.png" class=" img-fluid img-markdown" /></p>
<h3>After FIX</h3>
<p dir="auto"><img src="/assets/uploads/files/1558263222726-screenshot-2019-05-19-at-12.52.27-resized.png" alt="0_1558263221235_Screenshot 2019-05-19 at 12.52.27.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/4330</link><guid isPermaLink="true">https://community.m5stack.com/post/4330</guid><dc:creator><![CDATA[michalt]]></dc:creator><pubDate>Sun, 19 May 2019 10:54:22 GMT</pubDate></item></channel></rss>