Yeni: Yapay zekâ güvenlik duvarı tüm platformu izliyor ve her olayı sade bir dille açıklıyor. Nasıl çalıştığını görün

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