   Serial.println(" -- buuld: " __DATE__ " " __TIME__ );
 
   pinMode(SOLENOID_GPIO, OUTPUT);
-  digitalWrite(SOLENOID_GPIO, 1);
+  digitalWrite(SOLENOID_GPIO, SOLENOID_OFF);
 
   WiFi.onEvent(WiFiEvent);
 

};

bool isOpen() {
  return digitalRead(SOLENOID_GPIO) == LOW;
}

bool isClosed() {

#define MFRC522_RSTO    (32)
#define MFRC522_3V3     /* 3v3 */

#define SOLENOID_GPIO     (4)
#define SOLENOID_OFF      (LOW)
#define SOLENOID_ENGAGED  (HIGH)
#define AARTLED_GPIO     (16)

#define DOOR_OPEN_DELAY         (10*1000)   //  10 seconds -- how long to hold the relay engaged; in milli seconds.
#define CACHE_FALLBACK_TIMEOUT  (500)       // 0.5 second  -- how long to wait for a reply before checking the cache.
