<?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[LoraWAN868 demo error]]></title><description><![CDATA[<p dir="auto">Hi all</p>
<p dir="auto">Has anyone managed to get the Demo to work? I followed the instructions for OTAA on here [<a href="https://docs.m5stack.com/en/quick_start/lorawan/ttn" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/en/quick_start/lorawan/ttn</a>](link url)   and also just plonked in the DEMO code in MFFlow.  The run button completes, but looking at the terminal output I get this error</p>
<p dir="auto"><em>Connected to Serial Port!<br />
Traceback (most recent call last):<br />
File "flow/m5cloud.py", line 82, in _exec_fun<br />
File "&lt;string&gt;", line 7, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 156, in get<br />
File "&lt;string&gt;", line 1, in &lt;module&gt;<br />
AttributeError: 'module' object has no attribute 'LoRaWAN'</em></p>
<p dir="auto">As far as I know the M5Flow site doesn't expose the libraries, so I can't look at them.</p>
<p dir="auto">Tony</p>
]]></description><link>https://community.m5stack.com/topic/4477/lorawan868-demo-error</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:41:43 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4477.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Jul 2022 15:29:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 15:46:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">I got a bit further. Instead of just using the demo app, I built the app up step by step from the separate unit components and put debug prints on each step. I have now got the code printing a message at the top of the loop containing the two if/do statements. So for me it seems that taking the demo code was the problem. I don't know why though as I essentially built the same code block by block. The next problem is that Things Network is not letting me in. I think I will have to switch to the arduino IDE as there is a bit more control over debugging there</p>
<p dir="auto">Tony</p>
]]></description><link>https://community.m5stack.com/post/18121</link><guid isPermaLink="true">https://community.m5stack.com/post/18121</guid><dc:creator><![CDATA[tonyd]]></dc:creator><pubDate>Sat, 30 Jul 2022 15:46:50 GMT</pubDate></item><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 14:51:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/tonyd" aria-label="Profile: tonyd">@<bdi>tonyd</bdi></a></p>
<p dir="auto">hmm, I really don't understand why you would get the <em>Unit: Please change unit LoRaWAN to other grove</em> error. Both M5Atom and M5StickC(Plus) only have one Groove port.</p>
<p dir="auto">That said, I found that sometimes switching between different M5Stack devices can cause strange errors. I always reload the UIFlow browser page to make sure and then start over adding the unit and the UIFlow code.</p>
<p dir="auto">BTW: I do not have the LoraWAN686 unit - therefore I cannot fully test the functionality - I can only say that I do not get any errors and I can see the generated AT commands on the serial line.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18120</link><guid isPermaLink="true">https://community.m5stack.com/post/18120</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 30 Jul 2022 14:51:23 GMT</pubDate></item><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 12:58:25 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">Thanks for then help. I have stuck with the Atom and re-installed v1.10.2 and still get</p>
<p dir="auto"><em>Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 6, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 152, in get<br />
Unit: Please change unit LoRaWAN to other grove</em></p>
<p dir="auto">I'll leave it a while and try again after a re-boot in case anything is cached</p>
<p dir="auto">Tony</p>
]]></description><link>https://community.m5stack.com/post/18119</link><guid isPermaLink="true">https://community.m5stack.com/post/18119</guid><dc:creator><![CDATA[tonyd]]></dc:creator><pubDate>Sat, 30 Jul 2022 12:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 11:28:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/tonyd" aria-label="Profile: tonyd">@<bdi>tonyd</bdi></a></p>
<p dir="auto">I've tried both M5Atom and M5StickCPlus with the older UIFlow firmware 1.9.8 and on both I get the same error as you do. However when I use the latest UIFlow firmware 1.10.x there is no error with both devices.</p>
<p dir="auto">My conclusion is that you must use the latest UIFlow firmware else it doesn't work.</p>
<p dir="auto">Two things you could try on your M5StickC or M5StickCPlus:</p>
<ul>
<li>make sure you use the proper UIFlow firmware (there different for the non Plus and Plus version)</li>
<li>erase the firmware before burning the new one</li>
</ul>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18118</link><guid isPermaLink="true">https://community.m5stack.com/post/18118</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 30 Jul 2022 11:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 08:59:37 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">I tried to re-burn the M5Stick with the beta burner and it made the device unstable in that the screen was scrambled and it kept disconnecting from UIFlow.  I re-burned on the stable burner and it sorted that out. When I tried to download the Lora demo code, the stick screen displays<br />
'module' object has no atrribute 'LoRaWan'</p>
<p dir="auto">tony</p>
]]></description><link>https://community.m5stack.com/post/18117</link><guid isPermaLink="true">https://community.m5stack.com/post/18117</guid><dc:creator><![CDATA[tonyd]]></dc:creator><pubDate>Sat, 30 Jul 2022 08:59:37 GMT</pubDate></item><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 08:40:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">I had downloaded and burnt firmware, I downloaded the new beta burner and tried that. The unit I have added is LoRaWAN868, I used the default PORT A. The object I get is LoRaWAN868_0. I am using a Atom Lite and the error I now get is.</p>
<p dir="auto">*Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 6, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 152, in get<br />
Unit: Please change unit LoRaWAN to other grove</p>
<blockquote>
<blockquote>
<blockquote>
<ul>
<li></li>
</ul>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">It seems like its telling me to select another Grove Port, but the only choices are PORT A and Custom. I will try and use a M5Stick CPlus and see if that works</p>
<p dir="auto">tony</p>
]]></description><link>https://community.m5stack.com/post/18116</link><guid isPermaLink="true">https://community.m5stack.com/post/18116</guid><dc:creator><![CDATA[tonyd]]></dc:creator><pubDate>Sat, 30 Jul 2022 08:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to LoraWAN868 demo error on Sat, 30 Jul 2022 07:00:29 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/tonyd" aria-label="Profile: tonyd">@<bdi>tonyd</bdi></a></p>
<p dir="auto">make sure you are running the latest UIFlow firmware version (e.g. 1.10.x) on your M5Stack device. (Use UIFLOW FIRMWARE BURNING TOOL from <a href="https://docs.m5stack.com/en/download" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.)<br />
Also make sure you only have <strong>one</strong> browser tab / window open at the same time which runs <a href="https://flow.m5stack.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://flow.m5stack.com</a>.<br />
In addition make sure you have added the <a href="https://docs.m5stack.com/en/unit/lorawan868" target="_blank" rel="noopener noreferrer nofollow ugc">LoRaWAN868 unit</a> with the + sign on the left side of the UIFlow browser window.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18114</link><guid isPermaLink="true">https://community.m5stack.com/post/18114</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 30 Jul 2022 07:00:29 GMT</pubDate></item></channel></rss>