Skip to content

feat: add smart irrigation system with server-side logic and data models#1458

Merged
omroy07 merged 2 commits intoomroy07:mainfrom
Dbansal06:feature/smart-irrigation-system
Feb 11, 2026
Merged

feat: add smart irrigation system with server-side logic and data models#1458
omroy07 merged 2 commits intoomroy07:mainfrom
Dbansal06:feature/smart-irrigation-system

Conversation

@Dbansal06
Copy link
Contributor

Overview

This PR introduces a complete Smart Irrigation module. It follows the project's architecture by placing core logic within the server/ directory and integrating with the main Flask application.

File Structure & Changes

🎨 Frontend

  • irrigation.html: New dashboard for system monitoring.
  • css/irrigation.css: Styles for the irrigation interface.
  • js/irrigation.js: Frontend logic for real-time UI updates.

⚙️ Backend (Server-Side)

  • server/Routes/irrigation_routes.py: Handles API requests for the irrigation system.
  • server/Utils/irrigation_helper.py: Core logic for calculating optimal water flow.
  • server/models/irrigation_data.json: Storage for system configuration and state.

🧪 Testing & Integration

  • tests/test_irrigation.py: Unit tests for the irrigation helper functions.
  • app.py: Registered the new irrigation routes and initialized the module.

closes #1457
Please review and merge and let me know if there is any changes required please let me know.
Thanks!

@vercel
Copy link

vercel bot commented Feb 11, 2026

@Dbansal06 is attempting to deploy a commit to the Om Roy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@omroy07
Copy link
Owner

omroy07 commented Feb 11, 2026

Conflict

@Dbansal06
Copy link
Contributor Author

@omroy07 Can u please review it again now and if there is any changes required please let me know.

@omroy07 omroy07 merged commit d9d9576 into omroy07:main Feb 11, 2026
0 of 4 checks passed
@github-actions
Copy link

🎉 Congrats @Dbansal06 on getting your PR merged! 🙌
Thanks for the contribution — looking forward to more from you 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ISSUE: Implementation of Smart Irrigation Logic & Dashboard

2 participants