             if(httpCode == HTTP_CODE_OK) {
                 String payload = http.getString();
                 processServerResponse(payload);
+            } else {
+              Serial.printf("[HTTP] GET... failed, status: %s\n", http.errorToString(httpCode).c_str());
+              signalErrorBlick();
             }
         } else {
             Serial.printf("[HTTP] GET... failed, error: %s\n", http.errorToString(httpCode).c_str());
+            signalErrorBlick();
         }
 
         http.end();

    digitalWrite(GREEN_LED, LOW);
    digitalWrite(RED_LED, LOW);

    if (! connectWifi()) {
      Serial.println("Wifi connection error. Going to sleep.");
      signalErrorBlick();
      deepSleep(SLEEP_SECONDS);

  bool deepSleeped = true;
  system_rtc_mem_write(ESP_RTC_ADDRESS_DEEP_SLEEP_INDICATOR, &deepSleeped, 1);

  //ESP.deepSleep(seconds * 1000000, WAKE_RF_DISABLED);
  ESP.deepSleep(seconds * 1000000);
}

void signalWarnBlick() {
  for (int i = 0; i < 3; i++) {
    blick(RED_LED, 50);
    delay(50);
  }
}

/**
