I'm currently building a few smart plugs based on the tiny module ESP8266-01S, two relays and a power supply. It connects to the home WiFi network and it's seen by Alexa that can command the two relays.
The whole thing works fine with ESP8266WiFi but I need to add the capability of connecting to the strongest AP at home (I have three).
Unfortunately not even the WiFiMulti.ino basic example works. The ESP8266-01S starts looping without connecting to anything.
Please note that if I upload the usual WiFiScan.ino example it works fine and sees the 6-7 SSID I've around.
Has anybody a suggestion about what to do? I've seen, on Internet, that the WiFiMulti seems to have been problematic on 8266 but the subject is old and I haven't found any solution .
Many thanks in advance for any help