This project contains a simple solution that allows Farmers to use water efficiently on their farms.
When a harsh drought hit any region, access to water is limited. And, farmers tend to over (or) under utilize available water resulting in lesser yeilds.
FarmBuddy assist farmers to maximize yeild by closely monitoring soil moisture and air temperature to regulate the water usage.
1. Monitoring soil moisture content using sensor and arduino kit
2. and report sensor data back to cloud
3. Retrieve weather data for the location over a period of years (like average precipitation etc.,)
4. Based on the soil nature, moisture on the soil and with historic weather data for the month suggest farmers how much to water to be used over SMS.
5. And, this will lead to optimal use of water and more yeilds.
For building and running the application you need:
This project can be built with Apache Maven.
Use the following steps to run the application locally:
-
Execute full Maven build to create the
target/farm-buddy-0.0.1-SNAPSHOT.jar
file:mvn clean install
-
Execute and start application using,
mvn spring-boot:run
Once the server is running, the application will be available under http://localhost:8080/
Request
http://localhost:8080/predict?crop=Paddy&mobile=<mobile#>
Response
{
"data": {
"type": "report",
"id": "686160b0-5e35-4e94-ad91-47c7a887509d",
"attributes": {
"mobile": "<mobile#>",
"crop": "Paddy",
"soilMoisture": 67,
"avgPrecipitation": 94,
"avgEvapotranspiration": 5,
"message": "Water required for your Paddy field is 94 litres per day for an Acre"
}
}
}