 #define STATE_PULSE_COOL "Pulse Cool"
 String state = STATE_INIT;
 
+// timers work on millis, so we adjust the value with this constant
+#define MILLISECONDS_TO_MINUTES 60000
+#define MILLISECONDS_TO_SECONDS 1000
+
 //TESTING_HACK
 // this allows me to system test the project
 bool testing = false;
 
 /*******************************************************************************
- Here you decide if you want to use Blynk or not
  Your blynk token goes in another file to avoid sharing it by mistake
   (like I did in one of my commits some time ago)
- The file containing your blynk auth token has to be named blynkAuthToken.h and it should contain
- something like this:
+ The file containing your blynk auth token has to be named blynkAuthToken.h and it should 
+ contain something like this:
   #define BLYNK_AUTH_TOKEN "1234567890123456789012345678901234567890"
  replace with your project auth token (the blynk app will give you one)
 *******************************************************************************/
-#define USE_BLYNK "yes"
+#ifdef USE_BLYNK
 char auth[] = BLYNK_AUTH_TOKEN;
 
 //definitions for the blynk interface

void updateTargetTemp()
{
  //debounce the new setting
  if (setNewTargetTempTimer < DEBOUNCE_SETTINGS) {
    return;
  }
  //is there anything to update?
  if (targetTemp == newTargetTemp) {
    return;
  }


                    and then published
 * Return         : 0
 *******************************************************************************/
int publishTemperature(float temperature, float humidity)
{

  char currentTempChar[32];
  currentTemp = temperature;
  int currentTempDecimals = (currentTemp - (int)currentTemp) * 100;
  sprintf(currentTempChar, "%0d.%d", (int)currentTemp, currentTempDecimals);

  char currentHumidityChar[32];
  currentHumidity = humidity;
  int currentHumidityDecimals = (currentHumidity - (int)currentHumidity) * 100;
  sprintf(currentHumidityChar, "%0d.%d", (int)currentHumidity, currentHumidityDecimals);

  //publish readings into exposed variables
  currentTempString = String(currentTempChar);
