 
     aJsonObject *root;
     root = aJson.createObject();
-    addLightJson(root, numberOfTheLight);
+    addLightJson(root, numberOfTheLight+1, rgb); // FIXME: This does not give the new color while an animation is still running
     sendJson(root);
   }
 

  ipString = StringIPaddress(WiFi.localIP());
  netmaskString = StringIPaddress(WiFi.subnetMask());
  gatewayString = StringIPaddress(WiFi.gatewayIP());
    
  Serial.print("Starting HTTP at ");
  Serial.print(WiFi.localIP());
  Serial.print(":");

  // From https://github.com/pubnub/msp430f5529/blob/master/msp430f5529.ino
  char *msgStr = aJson.print(root);
  aJson.deleteItem(root);
  Serial.println(millis());
  Serial.println(msgStr);
  HTTP.send(200, "text/plain", msgStr);
  free(msgStr);
