Introduction: ESP8266 WiFI Water Leak Sensor
In this tutorial we will show how to build ESP8266 WiFi water leak sensor with ESP8266, Arduino and EasyIoT server. We can also use this sensor as soil moisture sensor or as rain sensor. You can add more different sensor to EasyIoT server (see other my instructables).
See more tutorials at http://iot-playground.com/build
Step 1: Materials
EasyIoT server (Raspberry Pi or Windows computer)
Step 2: Build Sensor
Next we connect Ardino and water sensor. We connect Arduino VCC and GND to water sensor VCC and GND. Arduino digital Pin 2 is connected to digital out pin of water sensor.
After we connect wires we load program to Arduino. Program is available on GitHub ESP8266 Water leak sensor. Don't forget to set server IP, AP and AP username and password in Esp8266EasyIoTConfig.h.
Step 3: Build EasyIoT Server
Step 4: Configure EasyIoT Server
Last step is to configure EasyIoT server. We add new sensor to EasyIoT server. In browser we enter IP address of EasyIoT server. Use default username admin and password test. Then we go to Configuration->Drivers->ESP8266 and AddNode. Then we switch on new sensor node. If everything is OK sensor will be added to EasyIoT server. New sensor we add also to group to see on front page.