         sendmqttMsg(topic, payload);
         pirSent = LOW;
         startMills = millis();
-      }
-
-      if (((millis() - startMills) > REPORT_INTERVAL ) && ( getdalastempstatus == 0))
-      {
+        sensors.setWaitForConversion(false);
+        sensors.requestTemperatures();
+        sensors.setWaitForConversion(true);
+        bDalasstarted = true;
+
+        DHT.acquire();
+        bDHTstarted = true;
+      }
+
+      /*
+        if (((millis() - startMills) > REPORT_INTERVAL ) && ( getdalastempstatus == 0))
+        {
         getdalastemp();
         getdht22temp();
         getdalastempstatus = 1;
-      }
+        }
+      */
 
       /*
         if (((millis() - startMills) > REPORT_INTERVAL ) && ( getdht22tempstatus == 0))

  //relayIsReady = LOW;
}

void getdht22temp()
{

  h = dht.readHumidity();
  t = dht.readTemperature();

      Serial.println("Failed to read from sensor!");
    }
  }
  }
*/

void sendmqttMsg(char* topictosend, String payload)
{
