 void setup() {
   Serial.begin(9600);
   Time.zone(-8);
-  Particle.variable("fahrenTemp", &fahrenheitTemp, DOUBLE);
+  Particle.variable("fahrenheitTemp", &fahrenheitTemp, DOUBLE);
   // Set up 'power' pins, comment out if not used!
   /*pinMode(D3, OUTPUT);
   pinMode(D5, OUTPUT);

int msfiveMinutes = 300000;
int msOneHour = 3600000;

float lowFahrenheitThreshhold = -5.0;
int lowThreshExceededCounter = 0;
int numLowTempViolations = msfiveMinutes/msTotalDelayInterval;

float highFahrenheitThreshhold1 = 25.0;
float highFahrenheitThreshhold2 = 30.0;
int highThreshExceededCounter = 0;

int numHighTempViolations_level1 = 2;
int numHighTempViolations_level2 = msfiveMinutes/msTotalDelayInterval;
int numHighTempViolations_level3 = msOneHour/msTotalDelayInterval;


}

void loop(void) {
  loopCounter++;
  readCelsiusTemp(&celsiusTemp);
  fahrenheitTemp = calcFahrenheitFromCelsius(getCelsiusTemp());
  checkFreezerScreamerConditions();

  if(loopCounter >= numLoopIterationsBeforeLog) {
    Serial.println(" fahrenheitTempLog Event");
    publishTempEvent("fahrenheitTempLog", fahrenheitTemp);
    loopCounter = 0;
  }
