Smartthings & Moisture Sensors

I hope you guys do not mind I document the moisture sensor and what It takes to get up to the point that @Alwas is running.

First, the wiring.

The sensor will have pads marked and the Moisture Sensor V1.2 also marked. I recommend to follow the marking just to be on the save side.

  1. Connect Ground To ground
  2. Connect 5V on my sensor to the VDD on the 1.2 Moisture sensor.
  3. Connect AI (analog input) on my sensor to Aout on 1.2 Mositure sensor.

Drivers:

Download the following driver to your IDE.

And

Once you do this, you can use your phone to pair the Environment Sensor.

  1. Go to you phone and add device as usual steps of adding device.
  2. Once the sensor is found. Name the sensor to any name you like.
  3. You will have a new device with the given name on step 2. Please go into the device page. You will find the following screen.
  4. Click on the preference button on top right. You will get the following screen.

    Enable the Analog Input and Enter Water Sensor in Analog Input Handler.
  5. Once you are done click save on the top right side of the screen. You will see a new device in your things.
  6. Enter into the new device and click on the preference page.
  7. In the preference page, you will find screen like below.

    You can give the device a name. The threshold is used to determine when you consider it is a dry condition. You should play around with this value. Please note that the drier it is, the higher the voltage. The voltage should be between 1.2 for wet and 2.7 for dry in ideal water dip and dried sensor.

I will be happy to improve the display to show percentage rather than voltage if there is any demand on it. I am not an expert in gardening where these sensors are used. I suppose some of us interested on Wet/Dry only. Some will be interested on the percentage for historical and prediction. I am open to suggestions.

BTW, if you are interested on my Environment Sensor, it is on sale in Ebay check out this thread.

Thanks
Iman

2 Likes