   lcd.begin();
   lcd.backlight();
   
+  // Set data rate for communication with espXXX
+  com.begin(9600);
+  
   while (!Serial) ; // wait until Arduino Serial Monitor opens
   setSyncProvider(RTC.get);   // the function to get the time from the RTC
   

  // Light alarms
  Alarm.alarmRepeat(light_time_on[0], light_time_on[1], light_time_on[2], LightOn);
  Alarm.alarmRepeat(light_time_off[0], light_time_off[1], light_time_off[2], LightOff);
  
  // Make sure light is on/off as planned by the hour
  checkLight();
}

void  loop(){  

    lcd.print("Water off, OK   ");
    //Serial.println("Water off, all OK");
  }
}

void sendData(String value)
{
  static long last_transmit = millis();
  if ((millis() - last_transmit) >= 1000)
   { 
    com.print("set-property " + value + "\r\n");
    last_transmit = millis();
   }
}

void checkLight()
