If the unit is powered up and can't see the previous network, it will go into access point mode. When you enter 192.168.4.1 into the browser, instead of going to the menu bar, can you just execute a program right away that will display a webpage that asks for your network name and password only? And once you do that you hit a "connect" button and the unit connects to that network and continues executing the rest of the program without any other user interaction?
Or maybe another approach, I remember when using the AT commands, there was a command to list all available wifi networks. Would it be possible to, when the unit is powered up and it doesn't recognize the network it has been previously connected to that it could list the networks available when you enter 192.168.4.1 and you select one and enter the password in a text box and hit connect and then the rest of the program continues?
My goal is minimal "non technical" connection of the esp to the wifi network. And there will be no serial connection available so the user will have just a plain old turn the unit on, connect to your wifi and thats it.
Any ideas would be greatly appreciated!!!