 
 void loop()
 {
+  digitalWrite(ledRed,LOW);
+
   for(int i=0;i<5;i++)
   {
     delay(50);

    if ((err >= 200) && (err < 300))
    {
      
      digitalWrite(ledRed,LOW);
      /* OK - TURN DOWN LED  03 */ 
      digitalWrite(errorLeds[2],LOW);
      

  Serial.println("end-ip");
  int err =0;

  Serial.println("Requesting new angle...");
  // We need to add &position=DDD&placeHash=40CHARS
  int apiPathSize = strlen(apiPath);
  int pathSize = apiPathSize+64;
  char path[pathSize];
  char *pathPointer = path;
  strncpy(path,apiPath,apiPathSize);
  char* queryString = strstr(apiPath,"?");
  pathPointer += apiPathSize;
  *pathPointer = '?';
  if (queryString) {
    *pathPointer = '&';
  }
  ++pathPointer;

  strcpy(pathPointer,"position=");
  pathPointer+=9;  
  char pos[4];
  sprintf(pos,"%d",actual);
  strcpy(pathPointer,pos);
  pathPointer += strlen(pos);
  
  strcpy(pathPointer,"&placeHash=");
  pathPointer+=11;
  strcpy(pathPointer,lastPlaceHash);
  pathPointer+=strlen(lastPlaceHash);
  
  Serial.print("Calculated path=");
  Serial.println(path);
  
  err = http.get(ip, apiHostname,apiPort, path, userAgent);
  if (err == 0)
  {
    
