          mqtt_port > 0 &&
          strlen(master) &&
          strlen(machine);
-
 }
 
 void setup() {

  if (!configFile)
    return;

  json.printTo(Debug);
  json.printTo(configFile);
  configFile.close();
}


    wifiManager.setSaveConfigCallback(saveConfigCallback);

    char apname[128];
    snprintf(apname,sizeof(apname),"%s Config", moi);
    wifiManager.autoConnect(apname);

#if DEBUG
    // we are not passing a name - so that each ESP generates its own unique name;
