 
 // See https://mailman.makerspaceleiden.nl/mailman/private/deelnemers/2019-February/019837.html
 //
-#define DOOR_SENSOR       (34)
-#define DOOR_IS_OPEN      (LOW)
-// #define AARTLED_GPIO      (16) // weggehaald, maar 2019, Lucas
+// #define DOOR_SENSOR       (34)
+// #define DOOR_IS_OPEN      (LOW)
+// #define AARTLED_GPIO      (16) // weggehaald, maart 2019, Lucas
+
+// Introduced by alex - 2020-01-8
+#define GROTE_SCHAKELAAR_SENSOR       (34)
+#define GROTE_SCHAKELAAR_IS_OPEN     (LOW)
+#define GROTE_SCHAKELAAR_TOPIC      "makerspace/groteschakelaar"
+
+int last_grote_schakelaar = 2;
 
 #define BUZZ_TIME (5 * 1000) // Buzz 8 seconds.
 

  };
  stepper.disableOutputs();

  pinMode(DOOR_SENSOR, INPUT_PULLUP);

  ledcSetup(BUZ_CHANNEL, 2000, 8);
  ledcAttachPin(BUZZER_GPIO, BUZ_CHANNEL);


  reader.onSwipe([](const char * tag) -> ACBase::cmd_result_t {

    if (machinestate > CHECKINGCARD) {
      Debug.printf("Ignoring a normal swipe - as we're still in some open process.");
      return ACBase::CMD_CLAIMED;
