I am new to blynk and am working with a soil sensor. I want to set a specific percentage that is to be entered through the blynk app to esp 32. According to this percentage the water pump will start working. Is this thing possible can esp 32 receive a percentage (float) from BLYNK app by the user?
Yes, of course.
Create a virtual datastream with appropriate min/max values and attach it to your widget.
In your sketch, the BLYNK_WRITE(vPin) callback for your virtual pin will be triggered when you change the widget value.
The param.asFloat()
method can be used to obtain the current value from the datastream.
Pete.