node-red-contrib-grove-capacitive-moisture-sensor

A Node-RED grove capacitive moisture sensor node connected to a Grove Base HAT for Raspberry Pi.

Usage no npm install needed!

<script type="module">
  import nodeRedContribGroveCapacitiveMoistureSensor from 'https://cdn.skypack.dev/node-red-contrib-grove-capacitive-moisture-sensor';
</script>

README

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!

The included javascript handles the communication between Node-RED and the python script and hands over the msg.payload.

January 2021