Contributions

Contributions are appreciated and used to host this site. Thank You for your support.

Feature Products
  • Raspberry Pi with Java: Programming the Internet of Things (IoT)
    Raspberry Pi with Java: Programming the Internet of Things (IoT)
  • Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
    Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
  • Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
    Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
  • Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
    Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
  • Getting Started with Raspberry Pi
    Getting Started with Raspberry Pi
  • Raspberry Pi User Guide
    Raspberry Pi User Guide
  • PiBrella LED Add On Board
    PiBrella LED Add On Board
  • Diversitech® WS-1 - Wet Switch Flood Detector
    Diversitech® WS-1 - Wet Switch Flood Detector
  • Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
    Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
  • Floodstop Washing Machine Valve Shutoff Kit
    Floodstop Washing Machine Valve Shutoff Kit
  • Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
    Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
  • Floodstop Individual Water Appliance Additional Water Sensor XS-01
    Floodstop Individual Water Appliance Additional Water Sensor XS-01
  • Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
    Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
  • Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Metra 70-2002 Radio Wiring Harness for Saturn 00-05
    Metra 70-2002 Radio Wiring Harness for Saturn 00-05
  • Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
    Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
Wednesday
Nov212012

Twine + Floodstop = Alert me when a water leak is detected

Overview

In a previous article we used the output expansion port of the  Floodstop Washing Machine Valve Shutoff Kit  to interface with a Furman MP-20/MP-15 to not only shutdown the water supply, but also disconnect  power to the washing machine when a leak is detected.   Wouldn't it be additionally beneficial if we could be notified in real time when such a water leak condition occurs.  In this article we will use that same IO capability on the Floodstop water leak detector and connect it to a Twine device to provide email alerts, SMS text messages, and/or twitter notifications (tweets).

Shopping List

Wiring

Connecting the Floodstop to Twine is an extremely simple task.  The Floodstop unit comes with a short connector lead that plugs directly into the NO (normally-open) or NC (normally-closed) output ports.

Attach the two wires from this connector lead to the IN and GND (Ground) pins on the Twine Breakout board.  (It does not matter which lead wire is connected to which pin, either direction will work.)  Then plug the connector into the NO (normally-open) output port of the Floodstop unit.

NOTE:

If you are already using the NO (normally-open) port for use with the Furman power controller or for any other purpose, then alternatively use the NC (normally-closed) output port for the Twine connection and simply reverse the trigger condition logic of the rule in the Twine configuration section.

Below is a photograph of my Twine connected to my Floodstop unit.  

Configuring Twine 

If you have not previously performed the initial setup configuration on your Twine, then please visit this article and perform the configuration steps before continuing.

Also, your Breakout Board should already be connected to the Twine at this time.

Open a web browser and login to the Twine management web application:
https://twine.supermechanical.com/ 

Next, select the specific Twine device that you have connected to the Floodstop from the drop-down menu at the top of the screen.

Next, we are going to create a new RULE to issue notifications when the Floodstop detects a water leak.  If you have any existing rules defined, you may want to delete them first.  Use the Add Rule button to create a new rule.  Since we used the NO (normally-open) output port on the Floodstop we will define a Twine rule to take action when the circuit becomes closed.  The Floodstop will close the circuit when water is detected on its sensor pad.

The new rule should be applied as follows:

WHEN
> breakout  = "is closed"

THEN
> send email and/or text messages and/or twitter post1

( 1 Twitter posts will be available in the next version of the Twine web application software

An example of the rule I am using is displayed below.

After creating the rule, make sure to click the Save to Twine button at the bottom of the screen.  It will prompt you to flip the twine on its back to immediately save the new rule to the Twine unit.  Now just wait until the save is complete.  It takes around 20-30 seconds to complete.

You are done, that's all that is needed to setup notifications from the Twine. We will now move on to testing.

Testing

Now that we have everything wired and configured, let's test the system.  Just drip a few water drops on the Floodstop sensor pad and the Floodstop should sound its audible alarm and close the water valves.  Within a few minutes (or less) you should receive the email, text message, and/or twitter post from Twine.  

 

Verify that you received the SMS text message.


Verify that you received the email notitification.

Final Thoughts

This project turned out to be an extremely simple task due to the simplicity of the Twine hardware and software.  For permanent installations, you may want to consider powering the Twine via its micro USB connection with a permanently plugged in power supply so that the system does not fail to notify you becuase of dead batteries in the Twine.  I just don't like to rely on batteries for anything that is mission critical.   (Same goes for the Floodstop, power it locally in addition to the batteries.)  

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (6)

If you are already using the Furman CN-15MP MiniPort remote relay via the NO outputs on the Floodstop, is there any reason that you could not simply add the Twine (in parallel) to the same NO flood stop output that the Furman is currently wired to INSTEAD of following your instructions to wire it to the NC output? I ask mainly because the NEW (V4) version of Floodstop only offers the NO connection.

Also, It appears that the Twine Wifi Sensor is discontinued but (strangely) they still offer accessories for it (??selling out old stock??). I am thinking of buying a used one but wondering if the product still functions well as you have described in this article. My concern is that (I am guessing) that Twine uses Cloud Based (or some other company supported technology) to ensure it functions as described above. Is the company still supporting the item so it is able to actually deliver text messages or email to my phone? In other words... Does your Twine still work well with the Floodstop as you described in this article?

Your fast response is greatly appreciated (as I am on the verge of ordering and installing this with all the "Bells and whistles" ASAP).

May 4, 2016 | Unregistered CommenterJT

P.S.
I forgot to ask you if you are having to pay any monthly fees to Twine (or any other service) for the ability to have it text, tweet or email you?

May 4, 2016 | Unregistered CommenterJT

@JT

I know we have already followed up on this topic via email, but for the benefit of other readers ...

I plan to post a newer article soon on how to accomplish this same project using the newer Floodstop unit as well as replacement options for the Twine. Stay tuned ...

Also, the Twine does not have any subscription charges. Just the costs of the hardware.

Thanks, Robert

May 10, 2016 | Registered CommenterRobert Savage

Hi, love my floodstop V4 with my Furman CN-15MP. Any updates on Wifi/SMS notification now that the Twine is no longer available?

Thanks!

December 27, 2018 | Unregistered CommenterDAK
December 21, 2021 | Unregistered Commenterolwemi
December 21, 2021 | Unregistered Commenterolwemi

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
« Twine - Monitor Christmas Tree Water Level | Main | Twine - Unboxing, Setup and First Impressions »