 
 void SecRelais1(char mode){
   /*
-   * Relais 1 with state check
+   * Relais 1 with state check (DOWN)
    */
   if (mode == "ON") {
     if (S1State == false && S2State == false) {
       S1State=true;
+      //liftdown=true;
+      //liftup=false;
       digitalWrite(S1, LOW);
-    } else if (S1State == false && S2State == false) {
+    } else if (S1State == false && S2State == true) {
       digitalWrite(S2, HIGH);
       S2State=false;
+      //liftup=false;
       delay(80);
       S1State=true;
+      //liftdown=true;
       digitalWrite(S1, LOW);
     } else if (S1State == true && S2State == false) {
       // do nothing


void SecRelais2(char mode){
  /*
   * Relais 2 with state check
   */
  if (mode == "ON") {
    if (S2State == false && S1State == false) {

 * GND = GND
 * PB1 = Transistor (PNP)
 * PB2 = DATA (433Mhz Empfänger)
 * PB3 = Relais 1 (AB)
 * PB4 = Relais 2 (AUF)
 * 
 * Info:
 * Falls ein anderer Arduino Controller verwendet wird, muss man die Pins anpassen.
