How soil moisture sensor show output on dashbord


#1

how soil moisture sensor show output on dashboard.


#2

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.


#3

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


#4

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.