<?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[Can&#x27;t get M5Stack to work properly]]></title><description><![CDATA[<p dir="auto">The monitor the glucose level of my niece, I set up the entire Miao-Miao to phone to Nighscout routine. The data is collected and viewable on the webpage now.<br />
However, when I comes to actually setting up the M5stack, I got stuck.</p>
<p dir="auto">I tried using it with UIFlow, but the stack itself doesn't want to enter setup and doesn't show up any API key, nor can I set up the wireless connection. I tried following the setup guide, but it does not react to pressing/holing specific bottuns. Note that it did not come with a microSD card.</p>
<p dir="auto">Then I tried using Arduino. After a LOT of of issues I managed to get the HelloWord and FactoryTest examples to upload and diaply. But that's it. It is useless without connecting o Nightscout and getting the glucose levels to display (and I haven't noticed any example of code to display that)</p>
<p dir="auto">Anyone have any suggestions as to what to do next?</p>
]]></description><link>https://community.m5stack.com/topic/2204/can-t-get-m5stack-to-work-properly</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 23:34:26 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2204.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Aug 2020 08:58:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sun, 06 Sep 2020 07:38:22 GMT]]></title><description><![CDATA[<p dir="auto">Thank you again. It works (again)!</p>
]]></description><link>https://community.m5stack.com/post/9957</link><guid isPermaLink="true">https://community.m5stack.com/post/9957</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Sun, 06 Sep 2020 07:38:22 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sat, 05 Sep 2020 20:02:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: justsomeguy">@<bdi>justsomeguy</bdi></a></p>
<p dir="auto">Don't be discouraged. It's somewhat hard to brick the m5stack devices.  Just do erase again (to be sure), next burn uiFlow v1.6.2 firmware, and then load the latest known working version of your program.</p>
<p dir="auto">There used to be a way to delete apps from the App menu on the device, but that functionality has been lost in the last few revs of firmware (not sure why). What I typically do is connect to the REPL and manually delete what I want from the /flash/apps directory on the device. Or you could use Thonny or Mu IDE to do the same.</p>
]]></description><link>https://community.m5stack.com/post/9955</link><guid isPermaLink="true">https://community.m5stack.com/post/9955</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sat, 05 Sep 2020 20:02:20 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sat, 05 Sep 2020 19:30:31 GMT]]></title><description><![CDATA[<p dir="auto">Well,...</p>
<p dir="auto">I got everything working...and then I accidently hit ERASE in M5 Burner  (ended up uploading a dozen different version of the app trying to get it to work, and read that you only delete apps trough the burner) and now the entire thing is DEAD, doens't react to anything anymore.</p>
<p dir="auto">…<br />
I have no words.</p>
]]></description><link>https://community.m5stack.com/post/9954</link><guid isPermaLink="true">https://community.m5stack.com/post/9954</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Sat, 05 Sep 2020 19:30:31 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sat, 05 Sep 2020 19:56:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: justsomeguy">@<bdi>justsomeguy</bdi></a> said in <a href="/post/9951">Can't get M5Stack to work properly</a>:</p>
<blockquote>
<p dir="auto">Seems to work now.</p>
<p dir="auto">Just one final question - how do I get the values in mmol (as they are on the Nightscout).<br />
I assume it's the SVG value and I saw no conversion in the code itself, which means the SVG is the value in whatever units are used in the US?</p>
<p dir="auto">Can  I just edit a line like this (bolded is changed):<br />
SGVlabel.setText(str((str('') + <strong>str(round(sgv / 18),1))))</strong></p>
</blockquote>
<p dir="auto">Yes. Chris-O's dashboard displays the SVG value in mg/dL and it looks like the conversion between mg/dL and mmol/L is to divide mg/dL by 18. So you got it.</p>
<blockquote>
<p dir="auto">Also, I see no alarm sounding in the code, so I added<br />
speaker.sing(240, 10/16)<br />
right under the svg value check for color. Can anyone tell me what the two values represent? I want it really loud.</p>
</blockquote>
<p dir="auto"><code>speaker.sing(frequency, beats)</code>  where beats are: 1/16, 1/8, 1/4, 1/2, 1, 2, or 4<br />
you could also do <code>speaker.tone(frequency, duration)</code> where duration is time in milliseconds</p>
<p dir="auto">For loudness you want <code>speaker.setVolume(int)</code> where int is 0 (no sound) to 1 (full/highest volume). 0.5 is half volume.</p>
]]></description><link>https://community.m5stack.com/post/9952</link><guid isPermaLink="true">https://community.m5stack.com/post/9952</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sat, 05 Sep 2020 19:56:37 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sat, 05 Sep 2020 16:44:07 GMT]]></title><description><![CDATA[<p dir="auto">Seems to work now.</p>
<p dir="auto">Just one final question - how do I get the values in mmol (as they are on the Nightscout).<br />
I assume it's the SVG value and I saw no conversion in the code itself, which means the SVG is the value in whatever units are used in the US?</p>
<p dir="auto">Can  I just edit a line like this (bolded is changed):<br />
SGVlabel.setText(str((str('') + <strong>str(round(sgv / 18),1))))</strong></p>
<p dir="auto">Also, I see no alarm sounding in the code, so I added<br />
speaker.sing(240, 10/16)<br />
right under the svg value check for color. Can anyone tell me what the two values represent? I want it really loud.</p>
]]></description><link>https://community.m5stack.com/post/9951</link><guid isPermaLink="true">https://community.m5stack.com/post/9951</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Sat, 05 Sep 2020 16:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 01 Sep 2020 17:36:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: justsomeguy">@<bdi>justsomeguy</bdi></a></p>
<p dir="auto">I got it working now with her data feed and also made a few improvements to the program. Here you go:<br />
<a href="https://www.dropbox.com/s/9q6902l4biaa4n3/M5-lmnightscout.m5f?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">uiFlow file</a><br />
<a href="https://www.dropbox.com/s/gs45mzr377dgf5g/M5-lmnightscout.py?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">MicroPython file</a></p>
<p dir="auto">Don't forget to change the wifi settings before running on the device.</p>
]]></description><link>https://community.m5stack.com/post/9904</link><guid isPermaLink="true">https://community.m5stack.com/post/9904</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 01 Sep 2020 17:36:34 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 01 Sep 2020 01:57:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: justsomeguy">@<bdi>justsomeguy</bdi></a></p>
<p dir="auto">Ah, okay. It's not actually my data. It is Chris-O's (author of the program).  I thought you were still trying to get the app working with Chris' API and couldn't access his data feed (due to some firewall blocking issue, geolocation blocking, etc.).</p>
<p dir="auto">Let me see if I can figure out how to get his program working with your niece's data feed.  Her feed seems to be only missing the dateString, but I'm not sure he's using that anyway.  I'm curious though, what does "Tomato" mean in her data feed? Chris' data feed has "share2" at the end.</p>
]]></description><link>https://community.m5stack.com/post/9899</link><guid isPermaLink="true">https://community.m5stack.com/post/9899</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 01 Sep 2020 01:57:51 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sat, 29 Aug 2020 22:59:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> Yours? Yes.  But I'm accessing the nightscout for my niece: <a href="https://lmnightscout.herokuapp.com/api/v1/entries?count=1" target="_blank" rel="noopener noreferrer nofollow ugc">https://lmnightscout.herokuapp.com/api/v1/entries?count=1</a></p>
<p dir="auto">Region is Europe, Croatia to be more precise</p>
]]></description><link>https://community.m5stack.com/post/9877</link><guid isPermaLink="true">https://community.m5stack.com/post/9877</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Sat, 29 Aug 2020 22:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 25 Aug 2020 04:50:27 GMT]]></title><description><![CDATA[<p dir="auto">"SGVIabel (in big letters with DiffSCVI over it"</p>
<p dir="auto">This usully means that you have the same label set for both out puts or the same screen location for both labels.</p>
]]></description><link>https://community.m5stack.com/post/9828</link><guid isPermaLink="true">https://community.m5stack.com/post/9828</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 25 Aug 2020 04:50:27 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Mon, 24 Aug 2020 22:44:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: justsomeguy">@<bdi>justsomeguy</bdi></a></p>
<p dir="auto">It's still working for me. What region of the world are you are in?<br />
Can you access the data with a browser?  <a href="https://tillierscout.herokuapp.com/api/v1/entries?count=1" target="_blank" rel="noopener noreferrer nofollow ugc">https://tillierscout.herokuapp.com/api/v1/entries?count=1</a></p>
]]></description><link>https://community.m5stack.com/post/9823</link><guid isPermaLink="true">https://community.m5stack.com/post/9823</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Mon, 24 Aug 2020 22:44:48 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Mon, 24 Aug 2020 22:32:29 GMT]]></title><description><![CDATA[<p dir="auto">Anyone knows what the issue is this time?</p>
]]></description><link>https://community.m5stack.com/post/9822</link><guid isPermaLink="true">https://community.m5stack.com/post/9822</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Mon, 24 Aug 2020 22:32:29 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Wed, 19 Aug 2020 16:18:36 GMT]]></title><description><![CDATA[<p dir="auto">Yup. Managed to upload and changed the wifi and webpage data, but somethnig is still screwy.</p>
<p dir="auto">No glucose display, the only thing all 3 bottuns affect is screen brightness.</p>
<p dir="auto">basically my screen displays:</p>
<p dir="auto">SGVIabel (in big letters with DiffSCVI over it)<br />
datalabel<br />
screen brghtness<br />
direction label</p>
<p dir="auto">and nothing I press or do does anything. Wifi did connect and webpage data is correct.</p>
]]></description><link>https://community.m5stack.com/post/9752</link><guid isPermaLink="true">https://community.m5stack.com/post/9752</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Wed, 19 Aug 2020 16:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Wed, 19 Aug 2020 06:04:15 GMT]]></title><description><![CDATA[<p dir="auto">It looks like something else was changed In the UI code.</p>
]]></description><link>https://community.m5stack.com/post/9736</link><guid isPermaLink="true">https://community.m5stack.com/post/9736</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 19 Aug 2020 06:04:15 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 18 Aug 2020 18:26:28 GMT]]></title><description><![CDATA[<p dir="auto">For reference, here is a picture of the error in the Chrome developer console on the original (non-fixed) file...</p>
<p dir="auto">Turn the developer console on:<br />
<img src="/assets/uploads/files/1597775039898-screen-shot-2020-08-18-at-2.05.08-pm-resized.png" alt="0_1597774966878_Screen Shot 2020-08-18 at 2.05.08 PM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After I open the file in uiFlow:<br />
<img src="/assets/uploads/files/1597775029621-screen-shot-2020-08-18-at-2.19.33-pm-resized.png" alt="0_1597774905251_Screen Shot 2020-08-18 at 2.19.33 PM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The file at least loads partially. I'm seeing some blocks, but none of the UI labels are showing up on the UI simulator due to the error. So check the Chrome developer console to see if there are other errors you see.</p>
]]></description><link>https://community.m5stack.com/post/9716</link><guid isPermaLink="true">https://community.m5stack.com/post/9716</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 18 Aug 2020 18:26:28 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 18 Aug 2020 17:58:03 GMT]]></title><description><![CDATA[<p dir="auto">Works for me...<br />
<img src="/assets/uploads/files/1597772796820-screen-shot-2020-08-18-at-1.40.14-pm-resized.png" alt="0_1597772432379_Screen Shot 2020-08-18 at 1.40.14 PM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can you try the Chrome browser and turn on the developer console to see what error it's throwing? Also, did you try the beta uiFlow v1.6.2?</p>
<p dir="auto">Another way is to copy <a href="https://www.dropbox.com/s/uyvxu1nx63s6zpm/M5Scout-fixed.py?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">this python file</a> to your device and place it in the /flash/apps folder. Then after boot up, go to App and select <a href="http://M5Scout-fixed.py" target="_blank" rel="noopener noreferrer nofollow ugc">M5Scout-fixed.py</a> from the App List. Don't forget to change the wifi ssid and password before copying the file to your device.</p>
]]></description><link>https://community.m5stack.com/post/9715</link><guid isPermaLink="true">https://community.m5stack.com/post/9715</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 18 Aug 2020 17:58:03 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 18 Aug 2020 15:46:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> UI flow doesn't want to load the file. No error or nothing. Just a blank screen like I did nothing.</p>
<p dir="auto"><img src="https://i.postimg.cc/1t7hx7xq/problem.jpg" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">I don't understand why it's not loading or retruning anything. Not even an error message.<br />
Any other way to get a program to M5stack?</p>
]]></description><link>https://community.m5stack.com/post/9714</link><guid isPermaLink="true">https://community.m5stack.com/post/9714</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Tue, 18 Aug 2020 15:46:54 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Tue, 18 Aug 2020 13:56:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: justsomeguy">@<bdi>justsomeguy</bdi></a></p>
<p dir="auto">The issue with <a class="plugin-mentions-user plugin-mentions-a" href="/user/chris-0" aria-label="Profile: Chris-0">@<bdi>Chris-0</bdi></a>'s program is because m5stack changed the screen brightness block in recent firmware versions and Chris has not updated it yet on his GitHub repo. Looking at the Chrome developer console when loading the program into uiFlow, I see this...</p>
<pre><code>TypeError: Unknown block type: screen_set_core_brightness
    at Blockly.BlockSvg.Blockly.Block (scripts.818b820f5fb58046033f.js:1)
    at new Blockly.BlockSvg (scripts.818b820f5fb58046033f.js:1)
    at Blockly.WorkspaceSvg.newBlock (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
    at Object.Blockly.Xml.domToBlockHeadless_ (scripts.818b820f5fb58046033f.js:1)
</code></pre>
<p dir="auto">The block changed from <code>screen_set_core_brightness</code> to <code>screen_set_brightness</code>. I fixed the file for you and now it loads properly in the online uiFlow IDE v1.6.2. You can find the modified file <a href="https://www.dropbox.com/s/y8dyl90dwfy4nzo/M5Scout-fixed.m5f?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
]]></description><link>https://community.m5stack.com/post/9713</link><guid isPermaLink="true">https://community.m5stack.com/post/9713</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 18 Aug 2020 13:56:32 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Mon, 17 Aug 2020 20:55:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a><br />
I tried that one the second I got UIFlow connection working.<br />
Downloaded, unpacked, but UIFlow doesn't want to load it, so how can I put it on the M5Stack?</p>
]]></description><link>https://community.m5stack.com/post/9708</link><guid isPermaLink="true">https://community.m5stack.com/post/9708</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Mon, 17 Aug 2020 20:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Mon, 17 Aug 2020 12:54:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justsomeguy" aria-label="Profile: JustSomeGuy">@<bdi>JustSomeGuy</bdi></a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chris-0" aria-label="Profile: Chris-0">@<bdi>Chris-0</bdi></a>  did a project for Nightscout <a href="https://community.m5stack.com/topic/1962/m5-stack-cgm-monitoring-for-nightscout-data-from-dexcom">here</a></p>
]]></description><link>https://community.m5stack.com/post/9700</link><guid isPermaLink="true">https://community.m5stack.com/post/9700</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Mon, 17 Aug 2020 12:54:40 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Mon, 17 Aug 2020 12:19:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Thanks. I finally managed to to connect it to my Wi-Fi and the UIFlow.<br />
Now the final question - how to actually get it to display glucose level and Nightscout data?</p>
<p dir="auto">I cannot seem to find an app or code to upload to m5 stack for that.<br />
Nor can I find anything in the already present app or settings.</p>
<p dir="auto">I do have a .ini file with the basic settings (and nightscou site info, SSD data, etc..), but no microSD card.</p>
]]></description><link>https://community.m5stack.com/post/9699</link><guid isPermaLink="true">https://community.m5stack.com/post/9699</guid><dc:creator><![CDATA[JustSomeGuy]]></dc:creator><pubDate>Mon, 17 Aug 2020 12:19:01 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t get M5Stack to work properly on Sun, 16 Aug 2020 06:09:22 GMT]]></title><description><![CDATA[<p dir="auto">If you have used the arduino then you will need to burn the UIFlow firmware to the stack because arduino wipes the firmware from the core</p>
]]></description><link>https://community.m5stack.com/post/9666</link><guid isPermaLink="true">https://community.m5stack.com/post/9666</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 16 Aug 2020 06:09:22 GMT</pubDate></item></channel></rss>