IFTTT - Webhooks - Arduino Nano 33 IOT

Hello,

I have created a simple program for my Arduino 33 IOT in the Arduino IOT Cloud: When a switch is activated in the dashboard, a LED turns on.
Now I would like to add the functiono by sending an email every time the LED is switched on.
For this I use webhooks via IFFT.
I have created a new variable for IFFT and linked it to the webhook link from IFFT. The Link works!
However, I don't understand how to create the addition in the code for sending emails only when the led is turned on.

Regards
SKETCH

See example in GitHub - Rupakpoddar/ESP8266Webhook: Arduino library for ESP8266 to trigger events using Webhooks and IFTTT.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.