ESP8266 i get command but payload is empty

@Raymond_phillips,

When debugging hardware issues, it’s helpful to isolate where the problem may be. In this case, your code does a lot more than simply connecting to Losant and receiving commands. Since the issue you’re communicating is about the device not receive the command, if you started from the example code, Do you get the same result? :

Next, after reading your message again, this sparked interest:

If you see the name of the command, you’re getting to this part of the code:

Serial.print("Command received: ");
Serial.println(command->name);

I grabbed it from here:

To help figure out what’s supposed to happen, what are you expecting to see when your command is run? Currently, you only have it configured to print and empty quote Serial.println("");.