   return rate;
 }
 
+int checkFermentationRate(String args)
+{
+  if (isFermentationMode)
+  {
+    postFermentationRate();
+
+    return 1;
+  }
+
+  return 0;
+}
+
+int checkTemp(String args)
+{
+  if (isBrewingMode)
+  {
+    float temp = readTemp();
+    postTemp(temp);
+
+    return 1;
+  }
+
+  return 0;
+}
+
 void activateBrewStage()
 {
   startTime = millis();


  //Brew Stage cloud functions
  Particle.function("setMode", setBrewMode);

  // Initialize TFT
  tft.begin(TFT_SPEED);


void postTemp(float temp)
{
  Particle.publish(messageBase + "brew/temp", String(temp, 2));
}

void postFermentationRate()
{
  Particle.publish(messageBase + "ferment/rate", String(fermentationRate, 2));
}

void printReading(float reading)
