This is a Node-RED node to get readings from the Grove Capacitive Moisture Sensor(https://wiki.seeedstudio.com/Grove-Capacitive_Moisture_Sensor-Corrosion-Resistant/) connected to the Grove Base Hat for Raspberry Pi (https://wiki.seeedstudio.com/Grove_Base_Hat_for_Raspberry_Pi/).
To get it working you have to install it in Node-RED at least ;-)
After this realize the new node "grove-capacitive-moisture-sensor" in the group "grove". Drop it on your flow and add a trigger to its input and connect a debug node afterwards. Happily watch the actualy measured values of the sensor in a nice way.
The rest is up to you!