   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
   

void LightOn(){
  Serial.println("Light on, Good morning!");
  Nexa.Device_On(0);
}

// Light timer
void LightOff(){
  Serial.println("Light Off, Good nights!");
  Nexa.Device_Off(0);
}

void ForcedTimer(){

    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()
