     else
     {
       //publish a stop event
-      Particle.publish("stop-flow-T0", String(T0.maxPulseCount) + 
-                       "," + String(T0.pulseCount) + "," + String(T0.percentFull));
+      String data = String(T0.maxPulseCount) + 
+                       "," + String(T0.pulseCount) + "," + String(T0.percentFull) +
+                       "," + String(T0.flowStartPulseCount - T0.pulseCount);
+      Serial.println("stop-flow-T0 Data: " + data);
+      Particle.publish("stop-flow-T0", data);
     }
   }
 

  {
    if(T1.flowing)
    {
      //publish a start event
      Particle.publish("start-flow-T1", String(T1.maxPulseCount) + 
                       "," + String(T1.pulseCount) + "," + String(T1.percentFull));

};

//initialize taps
TapObject T0 = {1000, 1000, 0, 0, 0, 0, 0, 100, 1, 0, 0, FLOW_PIN_T0, LED_PIN_T0};
TapObject T1 = {1000, 1000, 0, 0, 0, 0, 0, 100, 1, 0, 0, FLOW_PIN_T1, LED_PIN_T1};
TapObject T2 = {1000, 1000, 0, 0, 0, 0, 0, 100, 1, 0, 0, FLOW_PIN_T2, LED_PIN_T2};

int ledPin = D7;

Adafruit_NeoPixel stripT0 = Adafruit_NeoPixel(PIXEL_COUNT, LED_PIN_T0, PIXEL_TYPE);
Adafruit_NeoPixel stripT1 = Adafruit_NeoPixel(PIXEL_COUNT, LED_PIN_T1, PIXEL_TYPE);
Adafruit_NeoPixel stripT2 = Adafruit_NeoPixel(PIXEL_COUNT, LED_PIN_T2, PIXEL_TYPE);

int flowTapPin0Value = 0;
int flowTapPin1Value = 0;
