The use of the ESP8266 in the world of IoT

User avatar
By Saeed
#83595 Hello,

I built a temperature sensor that sends Temprator every 10 minutes to my panel and i see data by internet. using Site API.

on the side this I want Turn On or Of a lamp on this board by web request or get or post a request through the internet,

now how I can turn ON/OFF LED by if not, how can do this: for example, I design a PHP page that have form field by post method, I want when type "1" in this field, LED on my board Turn ON and when enter "2" turn OFF or use a button for this action.

if you have other easy way or advise to do this goal please point it,