Page 1 of 1

Need help getting values from soil moisture sensor

Posted: 28 Oct 2023, 22:42
by lxbastler
Hi,
I have the following soil moisture sensor "giesomat": https://www.ramser-elektro.at/shop/baus ... chichtung/

There is also an arduino sketch to read the values: http://fam-haugk.de/giessautomat-fuer-pflanzen

I can't get meaningfull values out of this sensor with espeasy (on esp32). I tried to configure it as a pulse counter but with no success. I get values out of it but they do not seems to reflect changes in moisture.

Is this the right device-type?

From the arduino sketch I understand that it counts the rising edges for 40ms and then divides by 4 to get the number of oscillations per 10ms

Is this doable with espeasy? I'm fairly new to espeasy and have just used it with a dht11 until now, so any help is appreciated!
thank you!

Re: Need help getting values from soil moisture sensor

Posted: 28 Oct 2023, 23:22
by Ath
This type of moisture sensor is not supported by ESPEasy (yet). You could obtain one of the 2 supported moisture sensors, Catnip or BeFlE, that both use the I2C bus to provide their data.

Adding support for this Giesomat sensor would require a new plugin, specific to this device.

Re: Need help getting values from soil moisture sensor

Posted: 31 Oct 2023, 10:45
by lxbastler
Hi,

thank you for your reply. Ok, that is unfortunate, but good to know. I thought I could get it to work with some of the generic device types.

Just out of curiosity: do you know the Giesomat? Or is your answer based on the sketch / my provided information?

Re: Need help getting values from soil moisture sensor

Posted: 31 Oct 2023, 11:26
by Ath
I looked at the links you provided, and it talks about some pulse-sequence it tries to read, and that in itself is supported using the Pulse-counter plugin, but this sensor seems to encode the data in the pulses, and that part isn't supported. Copying an Arduino sketch isn't really working for an ESPEasy plugin, it needs to be specifically developed to work with this sensor.

Re: Need help getting values from soil moisture sensor

Posted: 31 Oct 2023, 16:31
by bidrohini
For Espeasy, you can either buy miceuz or BeFlE soil moisture sensor. You can find the details below.
https://espeasy.readthedocs.io/en/lates ... /P047.html
And if you ever consider buying an Arduino or Raspberry Pi-compatible soil moisture sensor for other projects, here are some choices for you.
https://www.theengineeringprojects.com/ ... -pi-4.html