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

The payload isn’t null-terminated, so reading it as a C string runs past the end. That’s the random number.

Measure twice, poll once.
♥ 2