I'm working on Nodemcu esp8266 and flame sensor
i used "if this then that" site to email me if detect fire so now i have a url when i access it ,the site notify me by sending massage to me via email
now i want to make esp access this url when detect fire or any condition happened
int sensorPin = 2;
int buzzer = 13;
boolean val;
void setup() {
pinMode(sensorPin, INPUT);
pinMode(buzzer, OUTPUT);
Serial.begin(9600);
}
void loop() {
val = digitalRead(sensorPin);
Serial.println(val);
if(val==1)
{
digitalWrite (buzz,HIGH);
}
else
{
digitalWrite (buzz,LOW);
}
}