     payload += ( revMills + oldrevMills ) / 2 ;
     payload += "}";
 
-  if (( IRSTATUS != OLDIRSTATUS ) && ( revMills > 0 )) {
+  if (( IRSTATUS != OLDIRSTATUS ) && ( revMills > 600 )) {
     sendmqttMsg(payload);
     sentMills = millis();
     OLDIRSTATUS = IRSTATUS ;

  }


  if (((millis() - sentMills) > REPORT_INTERVAL ) && ( revMills > 0 )) {
    sendmqttMsg(payload);
    sentMills = millis();
  }

  if ( revMills > 0 ) {
    delay(int(float(revMills)/10));
  }else {
    delay(100);

  Serial.println(oldrevMills);  
*/

  if ( revMills > 600 ) {
      revValue = float(( 3600  * 1000 ) / ( 600 * float(revMills) ) ) * 1000 ;
  }

