Comments on: MicroPython: ESP32/ESP8266 Access Point (AP) https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sun, 05 Feb 2023 18:32:55 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-815503 Sun, 05 Feb 2023 18:32:55 +0000 https://randomnerdtutorials.com/?p=89319#comment-815503 In reply to Alan Mellor.

Thanks for sharing.

]]>
By: Alan Mellor https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-815347 Sat, 04 Feb 2023 21:08:51 +0000 https://randomnerdtutorials.com/?p=89319#comment-815347 I got this working on iPhone with two changes:

The ap.config() call has an extra parameter to tell it to use WPA/PSK
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid=ssid,authmode=network.AUTH_WPA_WPA2_PSK, password=password)
An HTTP status line is sent before the main response. I also changed to use the write() method, although that may not be significant

conn.write(‘HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\n’)
conn.write(response)
conn.close()

With these changes I can connect using my iPhone 12 and either Safari or Chrome browser

]]>
By: Muhammad Farooqi https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-733664 Wed, 23 Mar 2022 21:31:16 +0000 https://randomnerdtutorials.com/?p=89319#comment-733664 i wanted to host softAP from Raspberry PI pico with esp8266 module. I can connect to internet using AT commands. I can browse Json in a loop interval and if there is any change it will set GPIO values according to JSON.

My question and problem is.. I’ve configured softAP on Raspberry PI pico. And it is working great. I can press a button as GPio (input) to activate softAP on devices… it appears in wifi APs.. and can be connected with any Phone or laptop…
But i’m unable to serve any page from RbPi Pico’s IP address. I want to serve a web page with 2 or 3 fields ..where use could input their HOME’ or OFFICE’s wifi ID and Password and submit these values to Pico’s micropython variables.. which I will further make this pico an IOT devices.

Can you please share any tutorial if already available if help me making this “html page to be shown to softAP clients and get input fields data”?

Thank you.

]]>
By: Marcos https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-729071 Sat, 26 Feb 2022 18:43:00 +0000 https://randomnerdtutorials.com/?p=89319#comment-729071 i use your code and it works only for one client.
if i disconnect that client and connect another doesnt work pretty fine

]]>
By: Hugues https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-561494 Tue, 23 Feb 2021 21:48:39 +0000 https://randomnerdtutorials.com/?p=89319#comment-561494 Thank you for sharing

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-548574 Mon, 01 Feb 2021 22:09:30 +0000 https://randomnerdtutorials.com/?p=89319#comment-548574 In reply to Nikki Rosetti.

Hi.
Unfortunately, at the moment, we don’t have any tutorial about that specific subject.
Regards,
Sara

]]>
By: Nikki Rosetti https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-548109 Sun, 31 Jan 2021 20:32:34 +0000 https://randomnerdtutorials.com/?p=89319#comment-548109 Hi, very useful and almost what I need as a newbie to python! I see you have a tutorial on AP mode for sending sensor data between 2 esp8266’s using Arduino and C but not for python and this tutorial is about sending a web page so not quite what I need. Can you point me to anything?

]]>
By: Dribrats https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-536262 Sun, 03 Jan 2021 05:59:48 +0000 https://randomnerdtutorials.com/?p=89319#comment-536262 In reply to Bill E.

I too am having difficulty getting Safari on Mac or Mobile Safari on iOS to successfully load the page. I get the ‘server unexpectedly dropped the connection’ message. I’ve confirmed that it works on Chrome for Mac, and any browser on Windows. Any solution?

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-529498 Tue, 15 Dec 2020 16:30:56 +0000 https://randomnerdtutorials.com/?p=89319#comment-529498 In reply to bubba.

Hi.
Thanks for letting us know.
Unfortunately, it’s not just that article and it is happening all the time :/
Regards,
Sara

]]>
By: bubba https://randomnerdtutorials.com/micropython-esp32-esp8266-access-point-ap/#comment-528731 Sun, 13 Dec 2020 18:59:51 +0000 https://randomnerdtutorials.com/?p=89319#comment-528731 Looks like someone did a complete copy/paste of your article, typos and all…

]]>