 unsigned long last_millis = 0;
 
 unsigned long last_pressed_at = 0;
-unsigned long minimal_delay   = 2000;
+unsigned long minimal_delay   = 1000;
 
 RestClient client = RestClient(OPENHAB_HOST, OPENHAB_PORT);
 

  }
}



  #ifdef DEBUG_SWITCHER
    //Serial.println(".");
  #endif
  
  delay(100);
  
  // send request to API if button pressed
  for (int i=0; i<buttons_count; i++) {
