     // For this to work we need a patched version of esp8266/libraries/ESP8266WebServer/src/Parsing.cpp which hopefully lands in the official channel soon
     // https://github.com/me-no-dev/Arduino/blob/d4894b115e3bbe753a47b1645a55cab7c62d04e2/hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/Parsing.cpp
     Serial.println(HTTP.arg("plain"));
-    int numberOfTheLight = atoi(subStr(requestedUri.c_str(), "/", 4)); // The number of the light to be switched; they start with 1
+    int numberOfTheLight = atoi(subStr(requestedUri.c_str(), "/", 4)) - 1; // The number of the light to be switched; they start with 1
     Serial.print("Number of the light --> ");
     Serial.println(numberOfTheLight);
 

    bool onValue = root["on"];
    Serial.print("I should --> ");
    Serial.println(onValue);
    if (onValue == true)
      strip.LinearFadePixelColor(transitionTime, numberOfTheLight - 1, white); // For now we ignore the color (FIXME)
    if (onValue == false)
      strip.LinearFadePixelColor(transitionTime, numberOfTheLight - 1, black);
    strip.Show();
  }

  else if (requestedUri == "/description.xml")

RgbColor black = RgbColor(0);
unsigned int transitionTime = 400; // by default there is a transition time to the new state of 400 milliseconds

NeoPixelBus strip = NeoPixelBus(pixelCount, pixelPin);
NeoPixelAnimator animator(&strip); // NeoPixel animation management object

/// X, Y, Z and x, y are values to desvribe colors
float X;
float Y;
