 
     }
 
-    // Wait 2 seconds
-    delay(2000);
+    // Wait 4 seconds
+    delay(4000);
 
 /* SEND AND GET INFORMATION FROM SERVER - END */
 }

        Particle.publish("sendSocketInformation", jsonSendSocketInformation, PRIVATE);
    }

    // Wait 2 seconds
    delay(2000);

    if (statuses[1] == String("Active")) {
        // Send reading data
        String jsonSendSocketInformation = String(
            "{ \"current\":" + String(random(300)) + // String(Irms1)
             ",\"tension\":" + String(random(300)) + // String(voltage)
             ",\"socketNum\":" + String(2) +
             ",\"apiKey\": \"" + String("{{{apiKey}}}") + "\"}");


    if (statuses[0] == String("Active")) {
        // Send reading data
        String jsonSendSocketInformation = String(
            "{ \"current\":" + String(Irms0) + // random(300)
             ",\"tension\":" + String(voltage) + // random(300)
             ",\"socketNum\":" + String(1) +
             ",\"apiKey\": \"" + String("{{{apiKey}}}") + "\"}");

