         Particle.publish("sendSocketInformation", jsonSendSocketInformation, PRIVATE);
     }
 
-    // Wait 2 seconds
-    delay(2000);
+    // Wait 4 seconds
+    delay(4000);
 
     if (statuses[1] == String("Active")) {
         // Send reading data
         String jsonSendSocketInformation = String(
-            "{ \"current\":" + String(random(300)) + // String(Irms1)
-             ",\"tension\":" + String(random(300)) + // String(voltage)
+            "{ \"current\":" + String(Irms1) + // random(300)
+             ",\"tension\":" + String(voltage) + // random(300)
              ",\"socketNum\":" + String(2) +
              ",\"apiKey\": \"" + String("{{{apiKey}}}") + "\"}");
 

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

    // Wait 2 seconds
    delay(2000);

    if (statuses[0] != String("Deleted")) {
        // Send auth data

        Particle.publish("getServerInformation", jsonGetServerInformation, PRIVATE);
    }

    // Wait 4 seconds
    delay(4000);

    if (statuses[1] != String("Deleted")) {
        // Send auth data
