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

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

  magneto.getHeading(&mx, &my, &mz);
  // Create Json and publish
  String jsonMagneto = String("{\"sensor\":\"magneto\",\"time\":\"" + TimeStr + "\",\"data\":[" + mx + "," + my + "," + mz + "]}");
  if (debugging == true) { Serial.println(jsonMagneto);}
  memset(bufff, 0, 512); jsonMagneto.toCharArray(bufff, 512);
  mqtt.publish("iot-uplink", bufff);
  return;
