Closed kevinjwalters closed 4 years ago
you could structure the json to have sub-arrays, but please add it to the esp wifi manager first
I'd love this. Ideally it would attempt to connect to the first SSID:password pair 3-4 times before moving on to the next one, since my highest signal strength AP often takes a few attempts to connect but it preferable to a different one out in my workshop when I'm inside my studio.
FYI, I intend on splitting WifiManager out into it's own repo so that it can be used for native wifi too.
This is easily added by detecting if the SSID and password are not strings and iterating over them.
A second use-case is to deal with changing passwords, two passwords for one SSID allows for a device to work near-seamlessly across password changes.
Actually this probably belongs in
adafruit_esp32spi.ESP_SPIcontrol.connect()
over in https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/blob/master/adafruit_esp32spi/adafruit_esp32spi.py but will leave that discussion for those in the know.