How soil moisture sensor show output on dashbord

how soil moisture sensor show output on dashboard.

1 Like

Hi, just define an output resource for the sensor value, and attach it to a dashboard widget. If your paste the basic code for reading the soil moisture sensor, I can provide you a sketch for thinger.

Bests.

thank you for response. Actually i want to show analog output of soil moisture sensor on thinger dashboard,but for this i am not getting command.
please help

here the command for soil moisture analog sensor
thing[“moisture”] >> [](pson & out) {
out = map(analogRead(A0), 0, 1023, 0, 100);

put this command in void setup()
its shows the current moisture value in dashboard.