• Your last line, "onInit ();", do not save to flash.
    When you reset, "onInit ();" run automatically.
    And I'm waiting to start other features that rely on that
    the wifi is connected like this.

        wifi.connect (ssid, {password: password}, function () {
    });
    
       wifi.on ('connected', function () {
         console.log ('Connected to Wifi. IP address is:', wifi.getIP () .ip);
         server start ();
         }
       });
    
    

    Maybe it can help you further.

  • I've deleted my last line "onInit();" and applied your wifi change but it still gives me a weird error:

    I have Modules uploaded as functions turned on as I want to save more RAM. Also tried turning it off and then I get this error:

    Does anyone have a suggestion?

About

Avatar for Frida @Frida started