esp32_arduino-wifi-switch Arduino code to setup two different wifi networks and switch between them. Reconnect if wifi is lost This is worked example how to setup WiFi, check connection and reconnect if wifi failed