     return;
   }
   // valeur de la pin à eteindre
-  String strLed = pin->valuestring;
-  int led = strLed.toInt();
+  /*String strLed = pin->valuestring;
+  int led = strLed.toInt();*/
+  int led = atoi(pin->valuestring);
   Serial.print(F("clignoter led="));
   Serial.println(led);
   

  // suivi
  Serial.print(F("reponse="));
  Serial.println(message);
}

// mémoire libre

  int l = commande.length();
  char cmd[l+1];
  commande.toCharArray(cmd, l+1);
  
  
  // on parse la commande JSON
  aJsonObject *json = aJson.parse(cmd);
  
