<?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[Possible Problems with MQTT?]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I'm currently working on a Project that requires me to monitor a door and post everytime the door gets opened or closed.<br />
I came up with the following Setup on an Atom Lite using the UIFlow IDE v1.11.1:  <img src="/assets/uploads/files/1674576140827-door_aws_1-resized.png" alt="0_1674576135767_door_aws_1.PNG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1674576140766-door_aws_2-resized.png" alt="1_1674576135767_door_aws_2.PNG" class=" img-fluid img-markdown" /><br />
On aws I'm subscribed to the Topic:"isDoorOpen/+/data" so i can collect data from different devices.<br />
My Problem is that it seems to be very inconsistent. I download the code to the Atom and it restarts and enters the App mode. At this Point everything seems to be working well, the LED changes and i see the messages on aws. But as soon as I try to attach everything to a door like this: ![0_1674576432603_20230124_165205.jpg](Uploading 100%) it doesnt seem to work. The LED sometimes stays red or the LED changes from red to green, detecting the motions correctly but doesnt post anything to aws.</p>
<p dir="auto">Are there any known bugs or complications that could cause this? Or anything wrong with my code?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://community.m5stack.com/topic/5005/possible-problems-with-mqtt</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 18:56:43 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5005.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jan 2023 16:11:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Possible Problems with MQTT? on Sun, 29 Jan 2023 09:05:11 GMT]]></title><description><![CDATA[<p dir="auto">If the Atom is not connected to the host computer as it is when testing, you will need to add the WIFI AP and Password blocks to the start of the program.</p>
]]></description><link>https://community.m5stack.com/post/19957</link><guid isPermaLink="true">https://community.m5stack.com/post/19957</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 29 Jan 2023 09:05:11 GMT</pubDate></item><item><title><![CDATA[Reply to Possible Problems with MQTT? on Sat, 28 Jan 2023 18:46:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bmtd111" aria-label="Profile: bmtd111">@<bdi>bmtd111</bdi></a> You have to define the wifi connection in your scetch too .. because the configuration of M5Burner is just used during connection with the computer via USB.</p>
]]></description><link>https://community.m5stack.com/post/19953</link><guid isPermaLink="true">https://community.m5stack.com/post/19953</guid><dc:creator><![CDATA[mchott]]></dc:creator><pubDate>Sat, 28 Jan 2023 18:46:26 GMT</pubDate></item><item><title><![CDATA[Reply to Possible Problems with MQTT? on Fri, 27 Jan 2023 11:50:28 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/bmtd111" aria-label="Profile: bmtd111">@<bdi>bmtd111</bdi></a></p>
<p dir="auto">I think the WiFi connection configured via M5Burner only works as long as code is temporarily run on a device. In app mode though the WiFi connection might be lost if not executed within the UIFlow.</p>
<p dir="auto">Please 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>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19940</link><guid isPermaLink="true">https://community.m5stack.com/post/19940</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 27 Jan 2023 11:50:28 GMT</pubDate></item><item><title><![CDATA[Reply to Possible Problems with MQTT? on Fri, 27 Jan 2023 11:13:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mchott" aria-label="Profile: mchott">@<bdi>mchott</bdi></a> I configurated the Wifi connection using the M5burner. I will try to implement it in my code thoug, see if that makes a difference</p>
]]></description><link>https://community.m5stack.com/post/19939</link><guid isPermaLink="true">https://community.m5stack.com/post/19939</guid><dc:creator><![CDATA[bmtd111]]></dc:creator><pubDate>Fri, 27 Jan 2023 11:13:28 GMT</pubDate></item><item><title><![CDATA[Reply to Possible Problems with MQTT? on Thu, 26 Jan 2023 11:23:52 GMT]]></title><description><![CDATA[<p dir="auto">For this connection is Wifi needed .. and this step is missing in your flow. Just my first idea. During the connection via USB there isn´t a connection via wifi needed.</p>
]]></description><link>https://community.m5stack.com/post/19931</link><guid isPermaLink="true">https://community.m5stack.com/post/19931</guid><dc:creator><![CDATA[mchott]]></dc:creator><pubDate>Thu, 26 Jan 2023 11:23:52 GMT</pubDate></item></channel></rss>