I have got a program which is for a nodemcu esp 8266, gas sensor, and ifttt (email).
I have changed the gas sensor for a pir sensor in the program. The first problem i have is i received over 100 emails in about 3 mins. Emails were still coming through after i disconnected the power to the nodemcu. "Is this a problem with the program or with the setup of ifttt?".
The second problem i have is.... I want to add a led light to the program but don't know where to add the code for the led into the program. I want the led light to be activated for 3-5 secs when the pir is activated. This only needs to happen once. I want to be notified of movement only the first time the pir is activated. Should I program the pir to power off after one activation?
Sorry for the long post, i have so many questions.
Thank you
Noobie