There are some good esp32 tutorials at ESP32. WiFi. WebServer. LED on/off. Static IP. Soft Access Point
Notice the networking differences between examples 3 and 4.
Your lack of connectivity might be due to several factors:
- Your choice of local IP address (192.169.4.1) for the esp32 might be outside of the IP address subnet range of the local router that your AI2 app connects. Is the subnet 255.255.0.0 or it it 255.255.255.0 ?
- You are using the web component in your AI2 app, which acts a little differently from the WebViewer component in the case of connection via password. What happens if you use a WebViewer instead of Web1?
I suggest using this board's search (magnifying glass) for '1101' for more ideas.