   timer.setInterval(1234L, sendStatus);       // Unit run status polling interval (for app Current Status display only).
   timer.setInterval(1000L, countRuntime);     // Counts blower runtime for daily accumulation displays.
   timer.setInterval(1000L, totalRuntime);     // Counts blower runtime.
+  timer.setInterval(1000L, modeTracking);     // Tracks if unit has been mostly cooling or heating during the day.
   timer.setInterval(1000L, setClockTime);     // Creates a current time with leading zeros.
   //timer.setInterval(500L, alarmTimer);      // Alarms for low SA/RA split in heating or cooling.
   timer.setInterval(15432L, phantSend);       // ~15 sec run status updates to Phant runnting on a local Raspberry Pi.
   timer.setTimeout(100, vsync1);              // Syncs back vPins to survive hardware reset.
   timer.setTimeout(2000, vsync2);             // Syncs back vPins to survive hardware reset.
   timer.setTimeout(4000, vsync3);             // Syncs back vPins to survive hardware reset.
+  timer.setInterval(30000L, tempUpdater);      // When bypass on, this evaluates controlling space against setpoint.
+  timer.setInterval(30000L, tempControl);     // Temps (controlling space) that can control HVAC are synced.
+
 }
 
 void loop()  // To keep Blynk happy, keep most tasks out of the loop.

      Blynk.setProperty(V1, "color", "#ff0000");    // Supply is RED
      Blynk.setProperty(V0, "color", "#04C0F8");    // Return is BLUE
      hvacMode = TRUE;                              // FALSE = cooling, TRUE =  heating.

      todaysAccumRuntimeSecHeating = todaysAccumRuntimeSecHeating + 2.5;
    }
    else if (tempSA <= tempRA && hvacMode == TRUE)
    {
      Blynk.setProperty(V1, "color", "#04C0F8");    // Supply is BLUE
      Blynk.setProperty(V0, "color", "#ff0000");    // Return is RED
      hvacMode = FALSE;                             // FALSE = cooling, TRUE =  heating.

      todaysAccumRuntimeSecCooling = todaysAccumRuntimeSecCooling + 2.5;
    }
  }


BLYNK_WRITE(V16)
{
  currentStatus = param.asStr();
}

BLYNK_WRITE(V38)
{
  String blah = param.asStr();

  if (blah == "COOL")
  {
    heatingMode = FALSE;
  }
  else if (blah == "HEAT")
  {
    heatingMode = TRUE;
  }
}

void phantSend() {
