The page shows %TEMPERATURE% or --

  • ESP32

You may see

%TEMPERATURE%
%STATE%

Why it happens

  • The name between the % signs doesn't match the one in processor().
  • processor wasn't passed to send.
  • -- appears when the sensor reading failed.

How to fix it

  1. Match the names exactly, capitals too.
  2. Use request->send_P(200, "text/html", index_html, processor);.
  3. If it shows --, fix the sensor first.

It worked if: A number shows instead.

From how the part works. How the async template works; not run on a board.

Didn't help? Search another error or ask us.