Moisture sensor error with node-RED and Raspi
I'm starting with grove sensor and node-RED with my Raspi 3.
I already installed node-RED server. I can connect actually :
DHT11 (temp and humidity)
Ds18b20 (temp)
Relay
remote to my phone
My problem is about moisture sensor, when I use "grove capacitive moisture sensor" node, my server crash and I can see an error on log :
error: command failed : python -u /home/pi/.node-red/node_modules/node-red-contrib-grove-capacitive-moisture-sensor/grove-capacity-moisture-sensor.py 4 at ChildProcess.exithandler (node:child_process:400:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1093:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) { code: 2, killed: false, signal: null, cmd: 'python -u /home/pi/.node-red/node_modules/node-red-contrib-grove-capacitive-moisture-sensor/grove-capacitive-moisture-sensor.py 4'
Sensor is connected to A4 like an analog sensor. I don't understand why doesn't work. I use timestamp on input like other sensor but you 're talking about trigger. Why we must to use trigger for input ? What is the the setup of the trigger ?
My setup :
Raspi 3 Grove base hat Node-RED server
Thanks for your return and your help