<?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[Upload program to M5]]></title><description><![CDATA[<p dir="auto">Hi. I have successfully made a program on UIFlows using wifi connection and the API-key. I press the "play" button in the UIFlow and the program executes. But when I remove power and reboot the M5Stack the program is gone. I have tried the "download" in the UIFlow menu that makes the M5 screen say "upload", but I end up with the same and the M5 shows the API key and the QR-code. What should I do to make my program stick to the M5 and execute after inital bootup?</p>
]]></description><link>https://community.m5stack.com/topic/1483/upload-program-to-m5</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:42:15 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1483.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Nov 2019 08:48:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Upload program to M5 on Fri, 29 Nov 2019 19:19:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tnesheim" aria-label="Profile: tnesheim">@<bdi>tnesheim</bdi></a> The QR code is pointing to the webpage created in your code that is hosted on a temp server on the UIFlow Server.</p>
]]></description><link>https://community.m5stack.com/post/6542</link><guid isPermaLink="true">https://community.m5stack.com/post/6542</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 29 Nov 2019 19:19:38 GMT</pubDate></item><item><title><![CDATA[Reply to Upload program to M5 on Tue, 19 Nov 2019 17:00:49 GMT]]></title><description><![CDATA[<p dir="auto">Yes, switching to USB connection made the program "stick". Attached is a snapshot of my M5-to-HC2 block:<br />
<img src="/assets/uploads/files/1574182746409-49c448c4-3495-4bf8-a581-71cb906744a7-m5tohc2-resized.jpg" alt="0_1574182633047_49c448c4-3495-4bf8-a581-71cb906744a7-M5toHC2.jpg" class=" img-fluid img-markdown" /> M5toHC2.jpg</p>
]]></description><link>https://community.m5stack.com/post/6444</link><guid isPermaLink="true">https://community.m5stack.com/post/6444</guid><dc:creator><![CDATA[tnesheim]]></dc:creator><pubDate>Tue, 19 Nov 2019 17:00:49 GMT</pubDate></item><item><title><![CDATA[Reply to Upload program to M5 on Tue, 19 Nov 2019 09:31:25 GMT]]></title><description><![CDATA[<p dir="auto">Also, in respect of making my program "stick" it could be a problem that I use the web connection? I should probably make the USB-connection work with my desktop version of UIFlow?</p>
]]></description><link>https://community.m5stack.com/post/6436</link><guid isPermaLink="true">https://community.m5stack.com/post/6436</guid><dc:creator><![CDATA[tnesheim]]></dc:creator><pubDate>Tue, 19 Nov 2019 09:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to Upload program to M5 on Tue, 19 Nov 2019 09:20:53 GMT]]></title><description><![CDATA[<p dir="auto">I'll post a screen dump of my blocks/code tonight. I used the code generator; <a href="https://www.blitter.se/utils/basic-authentication-header-generator/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.blitter.se/utils/basic-authentication-header-generator/</a> to generate a key to insert in  the header instead of using explisit username/password.</p>
<p dir="auto">Aha...of course, I need to set up the wifi in the program itself:-) I'll definitely try that when I get home.</p>
]]></description><link>https://community.m5stack.com/post/6435</link><guid isPermaLink="true">https://community.m5stack.com/post/6435</guid><dc:creator><![CDATA[tnesheim]]></dc:creator><pubDate>Tue, 19 Nov 2019 09:20:53 GMT</pubDate></item><item><title><![CDATA[Reply to Upload program to M5 on Tue, 19 Nov 2019 09:04:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tnesheim" aria-label="Profile: tnesheim">@<bdi>tnesheim</bdi></a> very cool, could you share the code with us? I'm still trying to figure out how to use the http request blocks. I've heard this is an issue also with programs with the remote blocks too where the downloaded version doesn't work with the internet connection part. Did you do the wifi setup procedure in blocks? as in this forum post<br />
<a href="http://forum.m5stack.com/topic/1345/uiflow-http-request/4" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/1345/uiflow-http-request/4</a></p>
<p dir="auto">Alternatively if that doesn't work you can copy and paste the python into a .py script, rename it to <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow ugc">boot.py</a> or <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> and then transfer it to the flash of the device with ampy or vscode</p>
]]></description><link>https://community.m5stack.com/post/6432</link><guid isPermaLink="true">https://community.m5stack.com/post/6432</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 19 Nov 2019 09:04:58 GMT</pubDate></item></channel></rss>