     }
 }
 
-int configureTime(String time)
-{
+int configureReminderTime(String time) {
+    // Keep the display on
+    displayTimerCounter = 0;
+
+    // Declare the variables of the parts of the String
+    String hourString, minuteString;
+    int hour, minute;
+    int delimeterPosition = time.indexOf(",");
+
+    if (delimeterPosition >= 0) {
+
+        hourString = time.substring(0, delimeterPosition);
+        minuteString = time.substring(delimeterPosition+1);
+        hour = hourString.toInt();
+        minute = minuteString.toInt();
+        reminderTime = { 0, hour, minute };
+
+        EEPROM.put(sizeof(reminderTime), reminderTime);
+
+        requestDisplayReminderTime = true;
+
+        return 1;
+    }
+    return -1;
+}
+
+int configureTime(String time) {
     // Keep the display on
     displayTimerCounter = 0;
 


struct ConfigurationTime {
    uint8_t version;
    int hour;
    int minute;
};

ConfigurationTime configurationTime;

const char *PUBLISH_EVENT_NAME = "status";



    // Register the configureTime as a cloud function
    Particle.function("time", configureTime);

    // Register the configureReminderTime as a cloud function
    Particle.function("reminderTime", configureReminderTime);

    // Register the startOpenOperation as a cloud function
    Particle.function("open", startOpenOperation);
