   }
   // on mémorise l'id
   char strId[sizeof(id->valuestring)*2];
-  String(id->valuestring).toCharArray(strId, sizeof(strId));
+  String(id->valuestring).toCharArray(strId, sizeof(strId)); 
+  //char *strId = id->valuestring;
   
   // attribut action
   aJsonObject *action = aJson.getObjectItem(json, "ac");

  }
  // on mémorise l'action
  //String strAction = action->valuestring;
  char strAction[sizeof(action->valuestring)*2];
  String(action->valuestring).toCharArray(strAction, sizeof(strAction));
  
  // on récupère les parametres
  aJsonObject *parametres = aJson.getObjectItem(json, "pa");

  
// lecture d'une commande du serveur
String lireCommande(EthernetClient *client){
  String commande;
  while(client->available()) {
    char c = client->read();
    commande += c;
