In Adafruit IO, Reactive Actions are a way to integrate basic logic into your IoT projects, without programming. At a basic level, they check if a feed's value is somehow comparable to a value or even another feed. If so, they can be configured to send an email notification, post a webhook, or even publish a message to another feed
Let's set up a Reactive Action to send an email when a new photo has been taken by the doorbell's camera.
On Adafruit.io, navigate to the actions page. From the actions page, click the "+ New Action" button.
On the next page, select the Reactive Action.
Configure the action to check if the camera feed has any new data (such as a new image posted to the feed).
At the bottom of the form, you can set the subject and body of the email.
The Limit Every option decides how often the action will run. If you want to receive an email every time the doorbell is pressed, set this option to run every Ten Seconds.
As an example, here's what my doorbell will email me when it is pressed:
After configuring the action, click Submit. The new action is listed on the Actions page with the status set to Active.
Since the camera feed hasn't received a value yet, this trigger has not been executed. We'll demonstrate this trigger on this guide's Usage page by pressing the doorbell button.
Text editor powered by tinymce.