You are reading a single comment by @Frida and its replies. Click here to read the full conversation.
  • That mistake I had several years ago
    It turned out that one of my routers was teasing.
    I use the showed up start and since then there have been no problems.
    The other routers have no problems.

      function lan() {
        wlan.connect(logon.ssid, {password: logon.pass}, function (s) {
          boola = true;
          if(s==='bad password') {
            if(debug>0) {console.log('restart lan');}
            lan();
          }
        });
    
        if(debug)console.log("Frida is my watchdog");
        if(debug)console.log(wlan.getIP().ip);
      } // end lan()
    
      setTimeout(lan,400);
    
      
      wlan.on('connected', function(s) {
        if(debug)console.log('Starter test', wlan.getIP().ip);
        if(boola) {
          boola = false;
          startTimeServer();
          //httpSrv.listen(80);
        }
      });
    
    
About

Avatar for Frida @Frida started