-->
Page 1 of 1

how send data as command on webserver

PostPosted: Wed Aug 28, 2019 1:49 pm
by Saeed
Hello,

I built a temperature sensor that sends Temprator every 10 minutes to my thingspeak.com 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 thingspeak.com? 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,

thank,

Re: how send data as command on webserver

PostPosted: Sat Aug 31, 2019 8:41 am
by quackmore
have a look to this to get inspiration:

Control a Light with TalkBack on Arduino