Hello there! I invested in the WiFi shield which I got a friend of mine to solder, and it’s working great . It connects to my WiFi seemlessly and I can see the IP address that it is getting and connect to the sample http server.
However, the latter assumes that I know the IP address which the Cam got. When connecting to other’s WiFi network this isn’t usually the case so I was thinking of a method to get the IP address after connecting.
One solution could be to use zeroconf/bonjour DNS to broadcast an available service on the network. However I don’t think there is a suitable micropython package for that.
Another solution (which I chose for now) is writing a small HTTP proxy on my laptop (whose IP is known) and put that in the config of my program on the cam. As soon as the cam connects, it sends it’s IP address via a HTTP post to my proxy and then I can connect back.
Anyone have a better idea to handle this? While the HTTP proxy thing works, it seems unnecessary complicated