Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5145

General • WiFi configuration without a display

$
0
0
I am building a "device" that is driven by a Pico W and does not have a display of any kind. I have found code that will create an access point and gather the ssid and pwd for the user's home Wifi, after which the Pico will reboot and connect to the user's Wifi so the user can interact with the device. The problem I have is how do then communicate to the user what the Pico's IP address is? Remember that I have no display and the Pico will gets its address from the Wifi's DHCP server.

I have thought of the following possibilities:
* Send an email (which could become a text message) with the IP address
* Listening for a broadcast on a specific port, respond with a simple redirect page
* Hard code an address on the subnet, which is not a good idea
* Update their DHCP server to reserve an IP address, but that is difficult for the target audience, even for more technical people given the number of different SOHO routers in use.
* Have the user specify a network address when configuring the ssid/pwd for the Wifi, which is not a good idea as there could be a collision.

I've tried to find "prior art" about this, but have failed to find anything. Any suggestions?

Statistics: Posted by NotHerbert — Sat Feb 03, 2024 7:32 pm



Viewing all articles
Browse latest Browse all 5145

Trending Articles