{"id":23358083,"url":"https://github.com/barqawiz/iot_watering_system","last_synced_at":"2025-08-22T13:34:33.140Z","repository":{"id":268296252,"uuid":"879974333","full_name":"Barqawiz/iot_watering_system","owner":"Barqawiz","description":"A home-based IoT irrigation system for efficient plant care.","archived":false,"fork":false,"pushed_at":"2025-01-02T13:18:32.000Z","size":41837,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T23:29:07.989Z","etag":null,"topics":["arduino","iot","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Barqawiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-28T22:11:48.000Z","updated_at":"2025-02-04T20:10:47.000Z","dependencies_parsed_at":"2024-12-15T21:30:48.176Z","dependency_job_id":"79e51003-2d10-4482-954e-3c23a5757b2c","html_url":"https://github.com/Barqawiz/iot_watering_system","commit_stats":null,"previous_names":["barqawiz/iot_watering_system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barqawiz%2Fiot_watering_system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barqawiz%2Fiot_watering_system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barqawiz%2Fiot_watering_system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barqawiz%2Fiot_watering_system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Barqawiz","download_url":"https://codeload.github.com/Barqawiz/iot_watering_system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238741414,"owners_count":19522773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","iot","python","raspberry-pi"],"created_at":"2024-12-21T10:36:47.178Z","updated_at":"2025-02-13T21:48:00.837Z","avatar_url":"https://github.com/Barqawiz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Watering System - IoT Project\n\nAn automated plant watering system that reads soil moisture levels and activates a water pump to provide optimal hydration for plants. It can be built using platforms like **Raspberry Pi** or **Arduino** and communicates with a mobile application or self-hosted dashboard.\n\n# Key Features\n- Soil Moisture Monitoring.\n- Pump Control.\n- Configurable Thresholds.\n- Logging.\n- Monitoring dashboard.\n- Mobile notification.\n\n# Watering System Code\n\n### Raspberry Pi with Sunfounder PCF8591 Module \n\nThe watering system logic, including the moisture sensor readings, threshold comparison, and pump control, is implemented in the following file:\n```bash\npython sunfounder_component/watering_system.py\n```\n\n\u003cimg src=\"sunfounder_component/plant_motor_in_action.gif\" height=\"450px\"/\u003e\nNote: To ensure long-term reliability of the setup, consider using a cooling fan.\n\n### Raspberry Pi 5 with Adafruit ADS1115 Module and Bluetooth\nTo run the moisture reader using the Adafruit component, prepared with mobile integration using Bluetooth channel:\n```bash\npython adafruit_component/MoistureTimer.py\n```\n### Arduino UNO R4 Wifi\nThe Arduino Uno is an affordable option for managing multiple plants. Each plant can have a dedicated Arduino that communicates with a central Raspberry Pi. For more details check the setup code in\n`arduino/` directory.\n\n# Dashboard\n\n\u003cimg src=\"dashboard/dashboard_screen2.png\" width=\"750px\" /\u003e\n\n### Run the dashboard\n```bash\ncd dashboard\npython3 -m http.server 8000\n```\n# Dart \u0026 Flutter Application\nIf you would like to connect and view your moisture information through bluetooth to a cell phone, we also created a basic dart application for showing that data.\n\n### To set it up:\n- install and enable dart and flutter on your PC (this typically does require setting up Visual Studio Code, Visual Studio (Community version), and Android Studio)\n- build the flutter application in the \"DartApp\" folder\n- deploy the MoistureTimedBluetooth.py file to your Pi, adjust the \"interval\" to your preferred update time for the moisture sensor\n\n  \n# Disclaimer\nThis project is published under the MIT license. \nAny third-party libraries and modules used in this project are subject to their respective licenses.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarqawiz%2Fiot_watering_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarqawiz%2Fiot_watering_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarqawiz%2Fiot_watering_system/lists"}