   Serial.println(measured_poop);
 
   payload = "{\"WeightPoop\":";
-  payload += measured_poop;
+  payload += ( measured_poop - measured_empty );
   payload += "}";
 
   sendHx711toMqtt(payload, topicEvery);
+
+  payload = "{\"WeightAvg\":0}";
+  sendHx711toMqtt(payload, topicAverage);  
 
 }
 

int measured_blank    = 0;
int measured_poop     = 0;
int blank_checked     = LOW;


void setup() {
  Serial.begin(38400);

      if ( ((ave.maximum() - ave.minimum()) < 50 ) && ( ave.stddev() < 20) && ( nofchecked > 15 ) && ( ave.mean() > 1000 ) && ( ave.mean() < 10000 ) && ( AvgMeasuredIsSent == LOW ) )
      {
        payload = "{\"WeightAvg\":";
        payload += ( int(ave.mean()) - measured_empty );
        payload += ",\"WeightAvgStddev\":";
        payload += ave.stddev();
        payload += "}";
