Introduction: How to Build Waterleak

Let's learn to build a Waterleak detector with an Intel Edison !

First of all, be sure to configure your Intel Edison with the getting started tutorial.

Then, get these add-ons :

  • Water Flow sensor
  • Solenoid valve (optional)
  • 2 leds (optional)
  • 1 switch (optional)

Now we're ready to start.

Step 1: Configure Intel Edison

Be sure to plug the sensors in.

Then, connect (with ssh or via an usb cable) to your Intel Edison.

You'll have to paste our nodeJS source code into it.

Then run npm install on the root to install the dependencies.

You're now done with configuration !

Step 2: Set a Database Cloud Service

We advise you to use a Microsoft Azure mobile service.

Then, import our model.

Step 3: Install It to Your Main Water Pipe

Plug the water sensor to your main water pipe. Be sure to cut your main water flow before it.

Step 4: Run WaterFlow !

Now that everything is ready, just run WaterFlow with this command :

node app.js

You'll now receive a notification push into your Windows Phone, Android, and web browser.
Enjoy !

You can support us by following us on Twitter.