• @Kolban and @Wilberforce, @user68159 is talking about using Espruino on a Pico with an ESP8266 running the AT command firmware - so I'm not sure some of the stuff you're suggesting applies here (eg wifi.save())

    At the moment Espruino doesn't natively provide UDP support, so it'd be tricky to implement something like Bonjour (especially when using ESP8266 as a separate module). It might be possible to hack something up by communicating directly with the ESP8266 module to send UDP packets (if someone had some example code of doing DNS on something like an Arduino then we could probably port it across though).

    As suggested, setting up the router to allocate specific IPs/names would be by far the easiest way forward though I think.

    Otherwise you could make it request a webpage from a server every so often - which would allow you to figure out its IP?

    WiFi requires still SSID and pw to connect.. Could that be avoided somehow too?

    The ESP8266 can be an access point - so you could make it appear as an access point that you can connect to and set the WiFi info with (and it could then go and connect itself)?

About

Avatar for Gordon @Gordon started