Nouveau : le pare-feu IA surveille toute la plateforme et explique chaque incident en termes simples. Découvrez comment ça marche

Reply To: NodeMCU gets the command as byte* payload and atoi gives me 0

Even with a null at the end, atoi on {« method »:… gives 0 because the first character is a brace. You need to parse the JSON.

If it isn't logged, it didn't happen.
♥ 0