   else {
     Serial.println(topic);
     Serial.println(tempC);
+    float tempCcalib = calibration + tempC;
+    Serial.println(tempCcalib);
     char buffer[12];
     char outstr[15];
-    dtostrf(tempC, 4, 2, outstr);
+    dtostrf(tempCcalib, 4, 2, outstr);
     client.publish(topic, outstr);
   }
 }

  }
  debouncerWC.update();

  if ( debouncerWC.fell() ) {
    client.publish("domogik/wcdetect", "1");
    Serial.println(String("wc detect 1"));

  }
  if ( debouncerWC.rose() ) {
    client.publish("domogik/wcdetect", "0");
    Serial.println(String("wc detect 0"));
  }

  
  if (count == 10000) {
    printTemperature(sensors, thermometer7, "domogik/berging", 0);
  }
  if (count == 20000) {
    printTemperature(sensors, thermometerT, "domogik/tempT", 0);
    //second bus
  }
  if (count == 30000) {
    printTemperature(sensors2, thermometer5, "domogik/traponder", 0);
  }
  if (count == 40000) {
    printTemperature(sensors2, thermometer10, "domogik/inkom", 0);//inkom
  }
  if (count == 50000) {
    printTemperature(sensors2, thermometer11, "domogik/wconder", 0);//wc onder
  }
  if (count == 60000) {
    printTemperature(sensors2, thermometer9, "domogik/paulien", 0);//paulien
  }
  if (count == 70000) {
    printTemperature(sensors2, thermometer3, "domogik/wcboven", 0);//wc boven
  }
  if (count == 80000) {
    printTemperature(sensors2, thermometer4, "domogik/keuken", 0);
  }
  if (count == 90000) {
    printTemperature(sensors2, thermometer12, "domogik/living", 0);
  }
  if (count == 100000) {
    printTemperature(sensors2, thermometer6, "domogik/trapboven", 0);
  }
  if (count == 110000) {
    printTemperature(sensors2, thermometer13, "domogik/slpkberg", 0);
  }
  if (count == 120000) {
    printTemperature(sensors2, thermometer15, "domogik/badk", 0);
  }
  if (count == 130000) {
    printTemperature(sensors2, thermometer16, "domogik/vide", 0);
  }
  if (count == 140000) {
    printTemperature(sensors2, thermometer14, "domogik/masterslpk", 0);
    count = 0;
  }


  }
}

void printTemperature(DallasTemperature sensors, DeviceAddress deviceAddress, char const * topic, float calibration, int ctr)
{
  sensors.requestTemperatures();
  delay(1000);
