       payload += "}";
 
       sendHx711toMqtt(payload, topicEvery);
+
+      measured_empty = int(ave.mean());
 
       measured    = 0;
       nofnotinuse = 0;

  Serial.println(measured_poop);

  payload = "{\"WeightPoop\":";
  payload += measured_poop;
  payload += "}";

  sendHx711toMqtt(payload, topicEvery);

}


      } else {
        if ( nofchecked > 3 ) {
          payload = "{\"NemoWeight\":";
          payload += ( measured - measured_empty );
          payload += "}";

          sendHx711toMqtt(payload, topicEvery);
