# No-Code WipperSnapper Water Detection

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/105/848/medium800/sensors_IMG_9490.jpg?1634926359)

Is there a leak in the basement? Did a pipe burst? Is the AC dripping? Before you run down to check, what if instead you received an alert on your phone? Using an Adafruit FunHouse, a water sensor, and WipperSnapper, this can be accomplished **in minutes (and with no coding)!**

![](https://cdn-learn.adafruit.com/assets/assets/000/105/684/medium800/sensors_IMG_9402_2.jpg?1634758510 Adafruit AC room)

In this guide, we’ll set up a water sensor inside Adafruit’s factory. In the AC (Air Conditioning) room, the units drip lots of water in the summertime. We’ll place our water sensor and FunHouse inside the room under one of the units, then if the floor is ever wet, the facilities team will get an email notification alerting the presence of water. This will help prevent water damage before it’s too late. And it can be done **without a single line of code** thanks to WipperSnapper and AdafruitIO.

## Prerequisite Guide:

**WipperSnapper** &nbsp;is an interface for&nbsp;[Adafruit IO, Adafruit's](https://learn.adafruit.com/welcome-to-adafruit-io/what-is-adafruit-io)[incredibly easy-to-use IoT platform](https://learn.adafruit.com/welcome-to-adafruit-io/what-is-adafruit-io), designed to turn any WiFi-capable board into an IoT device without programming a single line of code.

If you've never used WipperSnapper, click below to read through the Quickstart WipperSnapper guide before continuing.

[Quickstart: Adafruit IO WipperSnapper](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)
## Project Materials

**Software:**

In order to send email notifications within AdafruitIO, you will need an [AdafruitIO Plus account](https://io.adafruit.com/plus). There are two options to choose from, a monthly or yearly membership. There is a way to do this project without a Plus membership but it is not recommended.

[Sign up for AdafruitIO Plus](https://io.adafruit.com/plus)
## Parts
### Adafruit FunHouse - WiFi Home Automation Development Board

[Adafruit FunHouse - WiFi Home Automation Development Board](https://www.adafruit.com/product/4985)
Home is where the heart is...it's also where we keep all our electronic bits. So why not wire it up with sensors and actuators to turn our house into an electronic wonderland. Whether it's tracking the environmental temperature and humidity in your laundry room, or notifying you when...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4985)
[Related Guides to the Product](https://learn.adafruit.com/products/4985/guides)
![Top-down video of Adafruit Funhouse PCB. The TFT display shows a data readout, and the NeoPixel LEDs glow rainbow colors.](https://cdn-shop.adafruit.com/product-videos/640x480/4985-00.jpg)

### Simple Water Detection Sensor with Digital Output

[Simple Water Detection Sensor with Digital Output](https://www.adafruit.com/product/4965)
Keep wet things wet&nbsp;and dry things dry by detecting when the dry things get wet by accident! This palm-sized cherry-red water sensor is simple and easy to implement in your wet-dry-sensing project.

Usage is very simple: connect the minus (-) pin to ground, connect the plus (+) pin...

In Stock
[Buy Now](https://www.adafruit.com/product/4965)
[Related Guides to the Product](https://learn.adafruit.com/products/4965/guides)
![Video of someone dunking the water sensor into a glass of water. The TFT on the FunHouse displays a wetness gauge that goes from 0 to 100.](https://cdn-shop.adafruit.com/product-videos/640x480/4965-03.jpg)

### STEMMA JST PH 2mm 3-Pin to Female Socket Cable - 200mm

[STEMMA JST PH 2mm 3-Pin to Female Socket Cable - 200mm](https://www.adafruit.com/product/3894)
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" female header sockets on the end. We're carrying these to match up with our Hallowing, for extending and connecting sensors or LEDs - and the wires are even color coded!

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/3894)
[Related Guides to the Product](https://learn.adafruit.com/products/3894/guides)
![Angled shot of STEMMA JST PH 3-Pin to Female Header Cable - 200mm.](https://cdn-shop.adafruit.com/640x480/3894-03.jpg)

### Premium Female/Male 'Extension' Jumper Wires - 40 x 6" (150mm)

[Premium Female/Male 'Extension' Jumper Wires - 40 x 6" (150mm)](https://www.adafruit.com/product/826)
Handy for making wire harnesses or jumpering between headers on PCB's. These premium jumper wires are 6" (150mm) long and come in a 'strip' of 40 (4 pieces of each of ten rainbow colors). They have 0.1" male header contacts on one end and 0.1" female header contacts...

Out of Stock
[Buy Now](https://www.adafruit.com/product/826)
[Related Guides to the Product](https://learn.adafruit.com/products/826/guides)
![Angled shot of Premium Female/Male 'Extension' Jumper Wires - 40 x 6 (150mm)](https://cdn-shop.adafruit.com/640x480/826-04.jpg)

### Mini Magnet Feet for RGB LED Matrices (Pack of 4)

[Mini Magnet Feet for RGB LED Matrices (Pack of 4)](https://www.adafruit.com/product/4631)
Got a glorious&nbsp;RGB Matrix project you want to mount and display in your workspace or home? If you have one of the matrix panels listed below, you'll need a pack of these **Mini-Magnet Feet.** &nbsp;We got these specifically&nbsp;for our RGB LED Matrices, which no longer...

In Stock
[Buy Now](https://www.adafruit.com/product/4631)
[Related Guides to the Product](https://learn.adafruit.com/products/4631/guides)
![Angled shot of four magnet feet.](https://cdn-shop.adafruit.com/640x480/4631-00.jpg)

### USB Type A to Type C Cable - approx 1 meter / 3 ft long

[USB Type A to Type C Cable - approx 1 meter / 3 ft long](https://www.adafruit.com/product/4474)
As technology changes and adapts, so does Adafruit. This&nbsp;&nbsp; **USB Type A to Type C** cable will help you with the transition to USB C, even if you're still totin' around a USB Type A hub, computer or laptop.

USB C is the latest industry-standard connector for...

In Stock
[Buy Now](https://www.adafruit.com/product/4474)
[Related Guides to the Product](https://learn.adafruit.com/products/4474/guides)
![Angled shot of a coiled black, USB-C to USB-A cable.](https://cdn-shop.adafruit.com/640x480/4474-02.jpg)

### 5V 2A Switching Power Supply w/ USB-A Connector

[5V 2A Switching Power Supply w/ USB-A Connector](https://www.adafruit.com/product/1994)
Our 5V 2A USB power adapter is the perfect choice for powering single-board computers like Raspberry Pi, BeagleBone, or anything else that's power-hungry!

This adapter was specifically designed to provide 5.25V, not 5V, but we still call it a 5V USB adapter. We did this on purpose to...

In Stock
[Buy Now](https://www.adafruit.com/product/1994)
[Related Guides to the Product](https://learn.adafruit.com/products/1994/guides)
![5V 2A Switching Power Supply with  USB-A Connector](https://cdn-shop.adafruit.com/640x480/1994-01.jpg)

### Adafruit IO+ 1 Year Subscription Card

[Adafruit IO+ 1 Year Subscription Card](https://www.adafruit.com/product/3980)
It's the Internet of the Things!&nbsp;[Adafruit IO+](https://io.adafruit.com/plus) is the easiest way to stream, log, and interact with your data. Whether you're interesting in&nbsp;datalogging or communicating with your microcontroller over the web, Adafruit IO is our cloud...

In Stock
[Buy Now](https://www.adafruit.com/product/3980)
[Related Guides to the Product](https://learn.adafruit.com/products/3980/guides)
![ Credit card sized Adafruit IO+ Subscription Card $99."ONE FULL YEAR" against circuit board paper backing.](https://cdn-shop.adafruit.com/640x480/3980-03.jpg)

 **Other materials:**

- Scotch tape or similar
- Power extension cable
- Zip ties

# No-Code WipperSnapper Water Detection

## Add the Water Sensor

Plug the jumper extension cables into the pins of the water sensor. Connect the other ends of the jumper cable to the jumper end of the Stemma cable.

- Be sure to connect the corresponding water sensor pins to the correct color of the stemma pins.
- The **(-)** pin on the sensor connects to the **BLACK** cable from the stemma connector for **GND**
- The (+) pin connects to the **RED** cable for **POWER**
- The **(S)** pin connects to **WHITE** cable for **DATA**.

![sensors_IMG_9413.jpg](https://cdn-learn.adafruit.com/assets/assets/000/105/687/medium640/sensors_IMG_9413.jpg?1634758900)

![sensors_IMG_9400_2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/105/690/medium640/sensors_IMG_9400_2.jpg?1634759004)

- Plug the stemma cable into the **A2** slot at the bottom right side of the back of the board.
- The front will have the input labeled as **A2**.

![sensors_IMG_9401_2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/105/686/medium640/sensors_IMG_9401_2.jpg?1634758899)

![sensors_IMG_9414.jpg](https://cdn-learn.adafruit.com/assets/assets/000/105/691/medium640/sensors_IMG_9414.jpg?1634759367)

## How does it work?

The sensor has a very lightly biased transistor that is connected to two long sets of interlocking traces. When a little bit of water/condensation lands on the PCB and touches two of the traces, the transistor will turn on, setting the output pin high.&nbsp;

# No-Code WipperSnapper Water Detection

## Set Up the FunHouse

Step 1 is to get your Funhouse set up in the&nbsp;**[Adafruit IO WipperSnapper page](https://io.adafruit.com/wippersnapper). Follow the instructions in the&nbsp;[previously mentioned Quickstart guide](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)&nbsp;to do this.&nbsp;**

![](https://cdn-learn.adafruit.com/assets/assets/000/105/692/medium800/sensors_Screen_Shot_2021-10-20_at_3.54.41_PM.png?1634759971)

## Set Up the Water Sensor
- From the WipperSnapper page, click "New Component"
- Select "Water Sensor"

![sensors_Screen_Shot_2021-10-20_at_3.54.49_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/696/medium640/sensors_Screen_Shot_2021-10-20_at_3.54.49_PM.png?1634760119)

![sensors_Screen_Shot_2021-10-20_at_3.55.07_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/702/medium640/sensors_Screen_Shot_2021-10-20_at_3.55.07_PM.png?1634760151)

- Name the sensor
- Choose **A2** from the drop-down list

![sensors_Screen_Shot_2021-10-20_at_3.55.33_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/699/medium640/sensors_Screen_Shot_2021-10-20_at_3.55.33_PM.png?1634760199)

## Test the IR Sensor

Next, test out the water sensor to verify it's working properly.

- Try dipping the tip of the sensor into a cup of water.
- Check the&nbsp;[WipperSnapper device page](https://io.adafruit.com/wippersnapper)&nbsp;to see if the value changes from wet to dry for your sensor.

![](https://cdn-learn.adafruit.com/assets/assets/000/105/782/medium800thumb/sensors_gif_dry_wet_unopt.jpg?1634850238)

## Troubleshooting the Sensor

If you are not receiving feedback from the sensor verify the following:

- The sensor is correctly wired according to the directions on the "Add the Water Sensor" page
- The Stemma cable is connected to the **A2** pin on the FunHouse

# No-Code WipperSnapper Water Detection

## Set Up Email Notifications

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
Info: 

- 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.

![sensors_Screen_Shot_2021-10-22_at_11.01.23_AM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/809/medium640/sensors_Screen_Shot_2021-10-22_at_11.01.23_AM.png?1634915494)

![sensors_Screen_Shot_2021-10-22_at_11.13.52_AM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/810/medium640/sensors_Screen_Shot_2021-10-22_at_11.13.52_AM.png?1634915649)

- 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"

![sensors_Screen_Shot_2021-10-22_at_11.15.31_AM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/813/medium640/sensors_Screen_Shot_2021-10-22_at_11.15.31_AM.png?1634915806)

![sensors_Screen_Shot_2021-10-22_at_10.40.36_AM.png](https://cdn-learn.adafruit.com/assets/assets/000/105/814/medium640/sensors_Screen_Shot_2021-10-22_at_10.40.36_AM.png?1634915856)

## Test it Out

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

![](https://cdn-learn.adafruit.com/assets/assets/000/105/817/medium800thumb/sensors_notify_gif_v2.jpg?1634916163)

## Can't Upgrade to IO+?

If you can't upgrade to IO+, you can use the website [If This Then That](https://ifttt.com/) 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.**

# No-Code WipperSnapper Water Detection

## Place the Sensor

Find a good spot to place the sensor wherever you'd like to check for water.

![](https://cdn-learn.adafruit.com/assets/assets/000/105/826/medium800/sensors_IMG_9487.jpg?1634918226)

In the summer in NYC, the AC in the building housing Adafruit can release quite a bit of water from under each unit. The metal barrier around the unit is designed to keep the water from leaking out and the white pump sucks out the water that's contained. On especially humid days in the summer, the water can sometimes overflow out of this chamber faster than the pump can handle. It will be helpful to have an alert system set up the moment water starts to pool so that any water damage from a potential overflow can be prevented quickly.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/105/825/medium800/sensors_IMG_9485.jpg?1634918118)

Here's a good spot to place the FunHouse. The magnetic feet that screw onto the back effectively hold the FunHouse where we'd like it.

## Power

After picking a good spot for the sensor, consider where the nearest outlet is. You will likely need an extension cable to power the sensor where you're planning to place it.

Try to avoid running the cable on the ground as any leaks may cause issues with power.

![](https://cdn-learn.adafruit.com/assets/assets/000/105/852/medium800/sensors_IMG_9496.jpg?1634926510)

Once you know far it is from the outlet to your sensor, lay the extension cable down. Use zip ties to lock the cable in place.

![](https://cdn-learn.adafruit.com/assets/assets/000/105/851/medium800/sensors_IMG_9492.jpg?1634926449)

Once the extension cable is in place, power up the FunHouse and zip tie the USB C cable in place.

![](https://cdn-learn.adafruit.com/assets/assets/000/105/854/medium800/sensors_IMG_9497.jpg?1634926968)

Use some tape to position the sensor so that it is just touching the floor but is upright.

![](https://cdn-learn.adafruit.com/assets/assets/000/105/850/medium800/sensors_IMG_9490.jpg?1634926426)

Once, it's all set up and powered on, make sure to check once more that the email system is working.&nbsp;

There you have it!


## Featured Products

### Adafruit FunHouse - WiFi Home Automation Development Board

[Adafruit FunHouse - WiFi Home Automation Development Board](https://www.adafruit.com/product/4985)
Home is where the heart is...it's also where we keep all our electronic bits. So why not wire it up with sensors and actuators to turn our house into an electronic wonderland. Whether it's tracking the environmental temperature and humidity in your laundry room, or notifying you when...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4985)
[Related Guides to the Product](https://learn.adafruit.com/products/4985/guides)
### Simple Water Detection Sensor with Digital Output

[Simple Water Detection Sensor with Digital Output](https://www.adafruit.com/product/4965)
Keep wet things wet&nbsp;and dry things dry by detecting when the dry things get wet by accident! This palm-sized cherry-red water sensor is simple and easy to implement in your wet-dry-sensing project.

Usage is very simple: connect the minus (-) pin to ground, connect the plus (+) pin...

In Stock
[Buy Now](https://www.adafruit.com/product/4965)
[Related Guides to the Product](https://learn.adafruit.com/products/4965/guides)
### STEMMA JST PH 2mm 3-Pin to Female Socket Cable - 200mm

[STEMMA JST PH 2mm 3-Pin to Female Socket Cable - 200mm](https://www.adafruit.com/product/3894)
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" female header sockets on the end. We're carrying these to match up with our Hallowing, for extending and connecting sensors or LEDs - and the wires are even color coded!

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/3894)
[Related Guides to the Product](https://learn.adafruit.com/products/3894/guides)
### Premium Female/Male 'Extension' Jumper Wires - 40 x 6" (150mm)

[Premium Female/Male 'Extension' Jumper Wires - 40 x 6" (150mm)](https://www.adafruit.com/product/826)
Handy for making wire harnesses or jumpering between headers on PCB's. These premium jumper wires are 6" (150mm) long and come in a 'strip' of 40 (4 pieces of each of ten rainbow colors). They have 0.1" male header contacts on one end and 0.1" female header contacts...

Out of Stock
[Buy Now](https://www.adafruit.com/product/826)
[Related Guides to the Product](https://learn.adafruit.com/products/826/guides)
### Mini Magnet Feet for RGB LED Matrices (Pack of 4)

[Mini Magnet Feet for RGB LED Matrices (Pack of 4)](https://www.adafruit.com/product/4631)
Got a glorious&nbsp;RGB Matrix project you want to mount and display in your workspace or home? If you have one of the matrix panels listed below, you'll need a pack of these **Mini-Magnet Feet.** &nbsp;We got these specifically&nbsp;for our RGB LED Matrices, which no longer...

In Stock
[Buy Now](https://www.adafruit.com/product/4631)
[Related Guides to the Product](https://learn.adafruit.com/products/4631/guides)
### USB Type A to Type C Cable - approx 1 meter / 3 ft long

[USB Type A to Type C Cable - approx 1 meter / 3 ft long](https://www.adafruit.com/product/4474)
As technology changes and adapts, so does Adafruit. This&nbsp;&nbsp; **USB Type A to Type C** cable will help you with the transition to USB C, even if you're still totin' around a USB Type A hub, computer or laptop.

USB C is the latest industry-standard connector for...

In Stock
[Buy Now](https://www.adafruit.com/product/4474)
[Related Guides to the Product](https://learn.adafruit.com/products/4474/guides)
### 5V 2A Switching Power Supply w/ USB-A Connector

[5V 2A Switching Power Supply w/ USB-A Connector](https://www.adafruit.com/product/1994)
Our 5V 2A USB power adapter is the perfect choice for powering single-board computers like Raspberry Pi, BeagleBone, or anything else that's power-hungry!

This adapter was specifically designed to provide 5.25V, not 5V, but we still call it a 5V USB adapter. We did this on purpose to...

In Stock
[Buy Now](https://www.adafruit.com/product/1994)
[Related Guides to the Product](https://learn.adafruit.com/products/1994/guides)
### Adafruit IO+ 1 Year Subscription Card

[Adafruit IO+ 1 Year Subscription Card](https://www.adafruit.com/product/3980)
It's the Internet of the Things!&nbsp;[Adafruit IO+](https://io.adafruit.com/plus) is the easiest way to stream, log, and interact with your data. Whether you're interesting in&nbsp;datalogging or communicating with your microcontroller over the web, Adafruit IO is our cloud...

In Stock
[Buy Now](https://www.adafruit.com/product/3980)
[Related Guides to the Product](https://learn.adafruit.com/products/3980/guides)

## Related Guides

- [Adafruit FunHouse](https://learn.adafruit.com/adafruit-funhouse.md)
- [Using ItsaSNAP for HomeKit PIR Motion Detection](https://learn.adafruit.com/itsasnap-homekit-pir-motion-detection.md)
- [Track a Turtle with WipperSnapper](https://learn.adafruit.com/track-a-turtle-with-wippersnapper.md)
- [Funhouse Door Alert with Email Notification](https://learn.adafruit.com/funhouse-door-alert-email-notification.md)
- [Pet Bowl Water Level Sensing](https://learn.adafruit.com/pet-bowl-water-level-sensing-with-the-funhouse-and-home-assistant.md)
- [Karel The Robot In CircuitPython](https://learn.adafruit.com/karel-the-robot-in-circuitpython.md)
- [No-Code WipperSnapper Action Counter](https://learn.adafruit.com/no-code-wippersnapper-action-counter.md)
- [CircuitPython Web Workflow Code Editor Quick Start](https://learn.adafruit.com/getting-started-with-web-workflow-using-the-code-editor.md)
- [No-Code WipperSnapper IoT Power Switch Outlet](https://learn.adafruit.com/no-code-wippersnapper-iot-power-switch-outlet.md)
- [FunHouse Parking Assistant](https://learn.adafruit.com/funhouse-parking-assistant.md)
- [Quickstart: Adafruit IO WipperSnapper ](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper.md)
- [Creating FunHouse Projects with CircuitPython](https://learn.adafruit.com/creating-funhouse-projects-with-circuitpython.md)
- [Using the Adafruit FunHouse with Home Assistant](https://learn.adafruit.com/using-the-adafruit-funhouse-with-home-assistant.md)
- [No-Code Room Occupancy Status ](https://learn.adafruit.com/no-code-room-occupancy-status.md)
- [FunHouse IoT Fume Extractor and Air Quality Sensor](https://learn.adafruit.com/funhouse-fume-extractor-iot-air-quality-sensor.md)
