Capacitive Soil Moisture Sensor Wemos ESPeasy

Everything about esp8266 and more.

Moderator: leecollings

zavjah
Posts: 36
Joined: Tuesday 13 August 2019 10:20
Target OS: Raspberry Pi / ODroid
Domoticz version:

Re: Capacitive Soil Moisture Sensor Wemos ESPeasy

Post by zavjah »

Hello folks,

I am looking for a solution to measure the soil moisture in my outside garden and this seams to be a promising solution. I didn’t though understand two things:

1. How is this sensor being supplied with electricity? Battery or something else?
2. Is this combo suitable for outside, too, provided I make it water proof?

Thx,
Zavjah
acaonweb
Posts: 78
Joined: Thursday 23 March 2017 14:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Capacitive Soil Moisture Sensor Wemos ESPeasy

Post by acaonweb »

I can explain you how i set my sensor
1) flashed with easyesp
2) connected sensor as shown in the thread here before
3) create a device for A0 analog, setting two point calibration to 0 the sensor min value (wet point) and 100 to sensor max value (dry point)
set an interval (ie:5)
Give a name to the sensor (ie: soil) and a name to the value (ie.: cP) and set 0 as decimal
4) create in domoticz a dummy sensor soil moisture and remember idx (ie:1000)
5) add MQTT server in controller menu
5) enable rules and write this rule

Code: Select all

ON MQTT#Connected DO
    publish domoticz/in,'{"idx":1000,"nvalue":[soil#cP]}'
ENDON
6) in config menu set Sleep awake time to 10 and Sleep time 3600. it means that esp stay in deep sleep mode for 3600 seconds, wakes up, connect to network, connect to mqtt send value for 10 seconds and then go to sleep
7) with a jumper cable connect rat pin to gpio16 to enable deepsleep mode
8) connect 3 AAA battery to achieve 4.5V and connect esp to battery
9) reset the sensor et voilà


Ciao
Fabrizio
florin
Posts: 2
Joined: Sunday 27 December 2020 11:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Capacitive Soil Moisture Sensor Wemos ESPeasy

Post by florin »

hello,

i have 1 little problem.
in domoticz, how i add rules and set rules ?

https://ibb.co/0rPd67V

Image
EDsteve
Posts: 26
Joined: Thursday 13 October 2016 11:43
Target OS: Linux
Domoticz version:
Contact:

Re: Capacitive Soil Moisture Sensor Wemos ESPeasy

Post by EDsteve »

Hi,

i also use Domoticz. But your posted img doesn't look familiar to me. Are you sure you are using Domoticz?

In Domoticz you can add rules under:
Setup -> More Oprions -> Events
image_2021-04-01_173306.png
image_2021-04-01_173306.png (70.9 KiB) Viewed 1633 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest