How to connect headless Pico to WIFI? #13144
Unanswered
MarByteBeep
asked this question in
RP2040 / Pico
Replies: 1 comment 11 replies
-
Adding the SSID/password in a python file is how I do it. Since I don't consider my home WiFi password to be super-secret, this works. If you have stronger requirements, it might not. I actually have a dictionary of SSID/pass pairs, so I scan for all SSIDs and then see what matches a known pair. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It's a typical chicken egg story; how to connect to the router, without being able to enter ssid/password?
It kinda baffles me that after all these years, there doesn't seem to be a standard to safely connect a IoT device to your router. At least, I cannot seem to find it.
Sure. There is the access point and captive portals "solution". Set pico in AP mode, capture all traffic and redirect user to a simple HTML in which they can enter WiFi credentials. But this approach is notoriously user unfriendly and very though to setup. I have found no working example out there yet.
And WPS support (press button on router and let pico scan for it, which arguably seems the easiest and user friendliest solution) seems non existent in the network library of micropython 😔
So how do people connect their Pico to WiFi? Please tell me that there is a better solution than manually adding a SSID/password in some python file? 😄
Beta Was this translation helpful? Give feedback.
All reactions