Output to esp screen status

Input

[ESP214]<Text> json=<no> pwd=<admin password>

  • json=no the output format can be in JSON or plain text

  • pwd= the admin password if authentication is enabled

  • Text

  • if Text is not empty, it will set the Text
  • if Text is empty, it will clear current Text

The text can also contain the following variables: * %ESP_IP% : the IP address of the ESP * %ESP_NAME% : the name of the ESP * %ESP_DATETIME% : the current date and time

Output

  • In json format
{
   "cmd":"214",
   "status":"ok",
   "data":"ok"
}
  • cmd Id of requested command, should be 214
  • status status of command, should be ok
  • data content of response, here ok