Novedad: el cortafuegos de IA supervisa toda la plataforma y explica cada incidente con palabras sencillas. Vea cómo funciona

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