<?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[M5Stack (basic&#x2F;grey) as WiFi AP ?]]></title><description><![CDATA[<p dir="auto">Hello!;<br />
Sorry, I'm bit lost here. Can't find example with UIFlow (Micropyton) to run M5Stack as WiFi access point. Wanted to try simple web server.<br />
There's a working example with Arduino IDE, but I wanted to try with .py.<br />
All examples from UIFlow requier internet connection and work through <a href="http://M5Stack.com" target="_blank" rel="noopener noreferrer nofollow ugc">M5Stack.com</a> server which is unacceptable for me.<br />
I know it is possible with ESP modules, did same with regular esp8266 and esp32 boards.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/topic/1262/m5stack-basic-grey-as-wifi-ap</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 10:03:50 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1262.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Aug 2019 05:29:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Thu, 31 Oct 2019 17:40:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a><br />
Sure, I can try, was never good in making guides but could be an intetesting expierence for me aswell</p>
<p dir="auto">Will try to move my project on micropython with help of your guide, as said time is our enemy :]</p>
<p dir="auto">I also want to add new feature, right now my html form looks like</p>
<p dir="auto">Name:input field</p>
<p dir="auto">I want to add current values label to html form, so when I open html I can see current value sent to it by esp32 (M5Stack in our case)</p>
<p dir="auto">It actually a good project which gives a lot of knowledge with tcp/ip, html, css (and even javascript), C, micropython, basic electronics. I would recommend to make something similar for everyone who is starting to explore IoT and embedded things</p>
]]></description><link>https://community.m5stack.com/post/6230</link><guid isPermaLink="true">https://community.m5stack.com/post/6230</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Thu, 31 Oct 2019 17:40:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Thu, 31 Oct 2019 14:14:16 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, hope it can be helpful. I want to do more with it but haven't had time to work any more on the project since. If you don't mind would you be able to make a brief guide on how you got it working on arduino, it would help a lot of  people out</p>
]]></description><link>https://community.m5stack.com/post/6229</link><guid isPermaLink="true">https://community.m5stack.com/post/6229</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Thu, 31 Oct 2019 14:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 30 Oct 2019 12:55:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a>  Hey, I've just noticed you've updated <a href="http://hackster.io" target="_blank" rel="noopener noreferrer nofollow ugc">hackster.io</a> guide, great job, I nearly finished my project and it works fine with arduino IDE, but I want to make it work on micropython</p>
]]></description><link>https://community.m5stack.com/post/6206</link><guid isPermaLink="true">https://community.m5stack.com/post/6206</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Wed, 30 Oct 2019 12:55:51 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Tue, 17 Sep 2019 05:24:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a><br />
No prob, I was just bit upset with some M5Stack features aswell, its all good, Im still new to ESP32 itself and as usual lacking time to discover it.<br />
uRequests seem to be fine for this task, I'm trying to work with VS Code but most of examples lead to M5Stack and UIFlow libraries,<br />
Guess I should start with something eaasy like blinking leds first :D</p>
<p dir="auto">Overall idea is:<br />
I got couple devices (maybe 3 of them) driven by own controllers (Atmega family)<br />
I want M5Stack to connect to them through i2c<br />
M5Stack runs webserver, whenever I connect it, I got 2 buttons like read and write, once I press read it gets atmega devies statuses and shows in browser, than I can edit them, press write and it will send new parameters.<br />
I've got atmega devices ready, html page, m5stacks, wires but can't figure out how to combine it all together<br />
I did similar job with atmegas some years ago and I remember I used to parse url to get params from it (GET method), but thought there's some advanced libraries already exist. I'd go MQTT but it requiers broker device which I dont want to have</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/post/5615</link><guid isPermaLink="true">https://community.m5stack.com/post/5615</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Tue, 17 Sep 2019 05:24:26 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Mon, 16 Sep 2019 21:33:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thrasher" aria-label="Profile: Thrasher">@<bdi>Thrasher</bdi></a> glad you got it to work and sorry if I may have come across rude, bad day at work. I haven't tried to have any input fields on the pages I have created I'm afraid so cant help you there. I have seen various info about urequests it seems like a simpler and more robust way to implement this sort of stuff, I am currently researching it. If I come up with anything I will be sure to post it here.</p>
]]></description><link>https://community.m5stack.com/post/5608</link><guid isPermaLink="true">https://community.m5stack.com/post/5608</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Mon, 16 Sep 2019 21:33:49 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Mon, 16 Sep 2019 08:21:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a><br />
Thanks, I've tried this code and it workes great.<br />
I've edited it a bit to fit my project,<br />
I made a simple htlm page to display<br />
it has 4 field to input string data.<br />
Now question is - how do I obtain entered data? I know old solution with parsing resulted url to obtain data from it (its not  much convinient and pretty primeval way but still working)<br />
Im new to micropython, is it possible to get submitted data directly into variables so I can use them in my future code?<br />
Thanks</p>
<p dir="auto">upd: I've found uRequests library, but I can't think realise how to implent it within m5stack ecosystem</p>
]]></description><link>https://community.m5stack.com/post/5601</link><guid isPermaLink="true">https://community.m5stack.com/post/5601</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Mon, 16 Sep 2019 08:21:27 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Tue, 03 Sep 2019 07:15:16 GMT]]></title><description><![CDATA[<p dir="auto">If you had taken the time to try and combine the code I gave you for the AP connection and the webserver code from my hackster project, you'd find it wasn't that hard. Even a guy with my limited abilities was able to bust out a quick concept in a few minutes.</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import network

try:
    import usocket as socket
except:
    import socket

def web_page():
    html = """&lt;html&gt;&lt;body&gt;M5Stack AP Server&lt;/body&gt;&lt;/html&gt;"""
    return html

ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='ESP32Luke')
ap.config(authmode=3, password='123456789')
lcd.clear()

response = None
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('192.168.4.1',80))
s.listen(5)

while True:
    conn, addr = s.accept()
    request = conn.recv(1024)
    request = str(request)
    print ('Content = %s' % request)
    lcd.print('Content = %s' % request,0,50,0xffffff)
    if ap.isconnected() == True:
        lcd.print('connected',0,0,0xffffff)
    else:
        lcd.print('not connected',0,0,0xffffff)
    response = web_page()
    conn.send('HTTP/1.1 200 OK\n')
    conn.send('Content-Type: text/html\n')
    conn.send('Connection: close\n\n')
    conn.sendall(response)
    conn.close()
</code></pre>
]]></description><link>https://community.m5stack.com/post/5437</link><guid isPermaLink="true">https://community.m5stack.com/post/5437</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 03 Sep 2019 07:15:16 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Thu, 29 Aug 2019 13:17:00 GMT]]></title><description><![CDATA[<p dir="auto">Im bumping this, couldnt find anything there.. Need an example of webserver (as simple as possible..)</p>
]]></description><link>https://community.m5stack.com/post/5369</link><guid isPermaLink="true">https://community.m5stack.com/post/5369</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Thu, 29 Aug 2019 13:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 11:48:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a>  Ok, thank you, digging it</p>
]]></description><link>https://community.m5stack.com/post/5347</link><guid isPermaLink="true">https://community.m5stack.com/post/5347</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Wed, 28 Aug 2019 11:48:21 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 10:50:50 GMT]]></title><description><![CDATA[<p dir="auto">check the network and wlan pages in the official micropython docs<br />
<a href="https://docs.micropython.org/en/latest/library/network.WLAN.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.micropython.org/en/latest/library/network.WLAN.html</a></p>
]]></description><link>https://community.m5stack.com/post/5346</link><guid isPermaLink="true">https://community.m5stack.com/post/5346</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Wed, 28 Aug 2019 10:50:50 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 10:39:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a> oh great Lukas, thanks! I will start trying now, couldnt find those those commands documented anywhere.<br />
Thanks!<br />
However, where's DHCP settings? Like IP range and such? :)</p>
]]></description><link>https://community.m5stack.com/post/5344</link><guid isPermaLink="true">https://community.m5stack.com/post/5344</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Wed, 28 Aug 2019 10:39:02 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 09:57:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/thrasher" aria-label="Profile: Thrasher">@<bdi>Thrasher</bdi></a> I was able to configure the AP of the M5Stack with the following code but as of yet have been unable to setup the webserver on it maybe you will be more successfull than me:</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import socket
import network
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='ESP32Luke')
ap.config(authmode=3, password='123456789')
</code></pre>
]]></description><link>https://community.m5stack.com/post/5343</link><guid isPermaLink="true">https://community.m5stack.com/post/5343</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Wed, 28 Aug 2019 09:57:24 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 06:37:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a> said in <a href="/post/5337">M5Stack (basic/grey) as WiFi AP ?</a>:</p>
<blockquote>
<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/thrasher" aria-label="Profile: Thrasher">@<bdi>Thrasher</bdi></a> I'm not sure whether this is exactly what you are trying to do but I wrote a simple web server program in micropython, maybe it can help you <a href="https://www.hackster.io/lukasmaximus89/m5stack-micropython-simple-web-server-20a4c4" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hackster.io/lukasmaximus89/m5stack-micropython-simple-web-server-20a4c4</a></p>
</blockquote>
<p dir="auto">Hi lukasmaximus, yes, I saw your project yesterday, problem is it requiers router/access point so M5Stack connects to it as client first. I want M5Stack to be access point itself (e.g. when you configure M5Stack at first boot to connect, M5Stack creates access point with web server)</p>
]]></description><link>https://community.m5stack.com/post/5338</link><guid isPermaLink="true">https://community.m5stack.com/post/5338</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Wed, 28 Aug 2019 06:37:47 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 06:03:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/thrasher" aria-label="Profile: Thrasher">@<bdi>Thrasher</bdi></a> I'm not sure whether this is exactly what you are trying to do but I wrote a simple web server program in micropython, maybe it can help you <a href="https://www.hackster.io/lukasmaximus89/m5stack-micropython-simple-web-server-20a4c4" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hackster.io/lukasmaximus89/m5stack-micropython-simple-web-server-20a4c4</a></p>
]]></description><link>https://community.m5stack.com/post/5337</link><guid isPermaLink="true">https://community.m5stack.com/post/5337</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Wed, 28 Aug 2019 06:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 06:02:51 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Mati, but Im doing that since day 1, problem is there's no code examples/blocks/anything to set up wifi ap with it</p>
]]></description><link>https://community.m5stack.com/post/5336</link><guid isPermaLink="true">https://community.m5stack.com/post/5336</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Wed, 28 Aug 2019 06:02:51 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack (basic&#x2F;grey) as WiFi AP ? on Wed, 28 Aug 2019 05:59:19 GMT]]></title><description><![CDATA[<p dir="auto">Its not true its req connection to m5stack. Grab UIFlow-Desktop-IDE<br />
<a href="https://m5stack.com/pages/download" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.com/pages/download</a></p>
<p dir="auto">Change stack device to usb mode and go play with it without api =]</p>
]]></description><link>https://community.m5stack.com/post/5335</link><guid isPermaLink="true">https://community.m5stack.com/post/5335</guid><dc:creator><![CDATA[OyczE]]></dc:creator><pubDate>Wed, 28 Aug 2019 05:59:19 GMT</pubDate></item></channel></rss>