     }
     // Create Json and publish
     String jsonRfid = String("{\"sensor\":\"rfid\",\"data\":[" + NUID + "]}");
-    Serial.println(jsonRfid);
+    if (debugging == true) { Serial.println(jsonRfid);}
     memset(bufff, 0, 512); jsonRfid.toCharArray(bufff, 512);
     mqtt.publish("iot-uplink", bufff);
     return;

void JsonReportSensorEdge() {
  // Create Json and publish
  String jsonEdge = String("{\"sensor\":\"edge\",\"time\":\"" + TimeStr + "\",\"data\":[" + left_edge + "," + right_edge + "]}");
  Serial.println(jsonEdge);
  memset(bufff, 0, 512); jsonEdge.toCharArray(bufff, 512);
  mqtt.publish("iot-uplink", bufff);
  return;

void JsonReportSensorDistance(){
  // Create Json and publish
  String jsonDist = String("{\"sensor\":\"distance\",\"time\":\"" + TimeStr + "\",\"data\":[" + ultrasonic.Ranging(CM) + "]}");
  if (debugging == true) { Serial.println(jsonDist);}
  memset(bufff, 0, 512); jsonDist.toCharArray(bufff, 512);
  mqtt.publish("iot-uplink", bufff);
  return;
