Now that we have the sensor set up, it is time to link it to an email to get notifications when there's a leak.

Create a New Action

Triggers were renamed to Actions in Adafruit IO.
  • From the WipperSnapper device page, click the "Actions" selection from the navigation bar on the top of the page.
  • Now click the "View All" link.
  • Click "New Action" to add a new action.
  • Select "Reactive Action" and hit create.
  • For the "If" selection, pick the name of your water sensor.
  • Next choose "greater than", adding a 0 for the value below.
  • For the next section, choose "email me (IO+ only)"
  • Lastly, choose the name of the sensor again for the "value and time"

Test it Out

Try dipping the sensor in the water again, and you should get an email!

Can't Upgrade to IO+?

If you can't upgrade to IO+, you can use the website If This Then That to send yourself an email when the sensor is triggered. The main downside is that the email does not reliably get sent at the moment the sensor is triggered. Sometimes there can be a delay of multiple hours or more, so it is not recommended.

This guide was first published on Oct 22, 2021. It was last updated on Mar 08, 2024.

This page (Set Up Email Notifications) was last updated on Mar 08, 2024.

Text editor powered by tinymce.