Real-time alert system for smart rice paddy field monitoring — part of a government-funded agricultural automation project.
IrrigationAlert is an Android application developed as part of a government-funded project aimed at revolutionizing agricultural field monitoring through automation and real-time communication.
It works alongside a rover deployed in rice paddy fields that autonomously patrols the area and detects potential issues such as low irrigation, crop stress, or environmental anomalies. When an issue is detected, the rover triggers an alert function that immediately sends a push notification with an alert sound to this mobile app, enabling farmers to take timely action.
- 🔔 Instant Alert Notifications: Get real-time push notifications from the rover when issues are detected in the field along with time the alert was generated.
- 🎵 Audio Alert: Each notification is accompanied by an audible alert to ensure it is noticed quickly.
- 🤖 Rover Integration: Designed to work seamlessly with a Raspberry Pi-powered rover that analyzes field conditions.
- 📲 Minimal UI, Maximum Impact: Lightweight and focused interface for fast and easy alert handling.
- 🔐 Firebase Backend: Powered by Firebase Cloud Messaging (FCM) for reliable and secure data delivery.
This app was developed as part of a government-funded agricultural automation project. The goal is to modernize traditional farming methods using autonomous rovers and IoT technologies to reduce manual effort and respond quickly to field anomalies.
The rover traverses rice fields, collecting sensor data and detecting issues. Upon identifying a problem (like low irrigation levels), it triggers this Android app to notify the farmer immediately.
- Android (Java)
- Firebase Cloud Messaging
- Raspberry Pi Rover (for backend alerting – external to this repo)
- Gradle build system
IrrigationAlert/
└── app/
├── src/main/
│ ├── java/com/example/irrigationalert/
│ │ ├── MainActivity.java
│ │ └── MyFirebaseMessagingService.java
│ └── res/
│ └── drawable, layout, values, etc.
├── AndroidManifest.xml
└── release/
└── app-release.apk
-
Clone the repository:
git clone https://github.com/yourusername/IrrigationAlert.git cd IrrigationAlert/IrrigationAlert -
Open in Android Studio.
-
Set up Firebase:
- Add your
google-services.jsontoapp/. - Add your
google-services.jsontoalert1/andalert2/files also.
- Add your
-
Connect device and run the app.
-
Deploy rover in the field and wait for alerts!
-
You can directly install the app from "install apk" folder
✅ Saves time and manual effort in inspecting large fields
✅ Provides timely updates that help prevent crop loss
✅ Promotes digital adoption among farmers
- Display sensor data (e.g., temperature, moisture) alongside alerts
- Add alert history and visualization dashboard
- Expand to other crop types and terrains
- Faiz Ali – Android Developer & Project Contributor
(In collaboration with Indian Institute of Science Education and Research(IISER), Thiruvananthpuram)
Licensed under the MIT License.
💡 This app is part of a broader mission to empower farmers through technology. Star 🌟 this repo if you'd like to support smart agriculture!

