<?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[How can an atom lite listen forever to a mqtt topic?]]></title><description><![CDATA[<p dir="auto">Dear people,<br />
I am trying to build a listener device thats subscribes to a topic on AWS Mqtt and opens/closes a door when the right message comes on. I am using an Atom lite and UIFlow_Lite v1.11.3<br />
What I find most confusing is that the RGB LED just stays red when executing (downloaded and not connected to the pc, only power cable) this code but the atom is available and sends the "message received" message when receiving an order. Becaus AWS MQTT doenst allow keepalive = 0 i dod the workaround of connecting again every 25 mins.<br />
My Code: <img src="/assets/uploads/files/1678298519225-forum-resized.png" alt="0_1678298518897_Forum.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">I would love to hear your thoughts on this.<br />
Kind regards</p>
]]></description><link>https://community.m5stack.com/topic/5112/how-can-an-atom-lite-listen-forever-to-a-mqtt-topic</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 17:44:05 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5112.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Mar 2023 18:03:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How can an atom lite listen forever to a mqtt topic? on Thu, 09 Mar 2023 10:44:20 GMT]]></title><description><![CDATA[<p dir="auto">On a side-note, this is the programm im running on a seperate atom lite using the same UIFlow version.<br />
It just sends a request every once in a while.<br />
My code:<img src="/assets/uploads/files/1678358578450-forum_publish-resized.png" alt="0_1678358577548_Forum_publish.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">May be somebody has some thoughts for this as well.</p>
<p dir="auto">Kind regards<br />
TD</p>
]]></description><link>https://community.m5stack.com/post/20284</link><guid isPermaLink="true">https://community.m5stack.com/post/20284</guid><dc:creator><![CDATA[bmtd111]]></dc:creator><pubDate>Thu, 09 Mar 2023 10:44:20 GMT</pubDate></item></channel></rss>