{"id":31942278,"url":"https://github.com/irahorecka/soil-moisture-display","last_synced_at":"2026-04-20T06:06:56.682Z","repository":{"id":111924418,"uuid":"330281780","full_name":"irahorecka/soil-moisture-display","owner":"irahorecka","description":"Transmit soil moisture status via Raspberry Pi","archived":false,"fork":false,"pushed_at":"2026-01-31T15:33:35.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-01T03:31:24.382Z","etag":null,"topics":["gpio","raspberry-pi","rpi3","soil-moisture-sensor"],"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/irahorecka.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-17T00:00:47.000Z","updated_at":"2023-08-01T18:15:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b11e1442-c426-4805-8895-be0d2623f78d","html_url":"https://github.com/irahorecka/soil-moisture-display","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/irahorecka/soil-moisture-display","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irahorecka%2Fsoil-moisture-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irahorecka%2Fsoil-moisture-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irahorecka%2Fsoil-moisture-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irahorecka%2Fsoil-moisture-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irahorecka","download_url":"https://codeload.github.com/irahorecka/soil-moisture-display/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irahorecka%2Fsoil-moisture-display/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32035278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gpio","raspberry-pi","rpi3","soil-moisture-sensor"],"created_at":"2025-10-14T09:41:41.074Z","updated_at":"2026-04-20T06:06:56.673Z","avatar_url":"https://github.com/irahorecka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"soil-moisture-display\n======================\n\nA Raspberry Pi project to detect and display my plants' soil moisture (`image \u003chttps://i.imgur.com/oF2Dy9f.jpg\u003e`__). My project is configured for the Raspberry Pi 3B+ using Python 3.7.3.\n\nRunning the application\n-----------------------\nIt's as simple as cloning this repository and running:\n\n.. code::\n\n    pip3 install -r requirements.txt\n\n    python3 main.py\n\nAPI\n---\nThis project is designed to provide a fairly simple API out of the box.\n\nFor example, let's set up this instance:\n    1. We want to set up 5 soil moisture sensors\n    2. We want these sensors to have callback (i.e. notify in real-time when soil moisture changes)\n    3. We want to display this information on a 16x2 I2C LCD display.\n\n\n.. code:: python\n\n    from soil import Soil, lcd\n    import time\n\n    # gpio channel: plant name\n    plant_map = {\n        16: \"Peace Lily\",\n        19: \"Prls/Jade Pothos\",\n        20: \"Calathea Mdln\",\n        21: \"Micans Pothos\",\n        26: \"Golden Pothos\",\n    }\n    my_plants = Soil(plant_map)\n    my_plants.setup(callback=True, display=\"lcd\")\n\n    if __name__ == \"__main__\":\n        try:\n            # let's display a welcome message for 5 seconds\n            lcd.display(\"Let's detect\", \"soil moisture!\", duration=5)\n            while True:\n                time.sleep(1)\n        except KeyboardInterrupt:\n            # clean up GPIO channels on application exit\n            my_plants.cleanup()\n\nHardware\n--------\nThe bare minimum hardware to run the example above are:\n    1. `Raspberry Pi 3B+ \u003chttps://www.adafruit.com/product/3775?gclid=CjwKCAiAxp-ABhALEiwAXm6IyX-H5MpH2sCIu2blt1z280QzN5u27OJqmXk_ahaWeyCdg-iEFa8j3BoCj8gQAvD_BwE\u003e`__\n    2. `Soil Moisture Sensor \u003chttps://www.amazon.com/KeeYees-Sensitivity-Moisture-Watering-Manager/dp/B07QXZC8TQ/ref=asc_df_B07QXZC8TQ/?tag=hyprod-20\u0026linkCode=df0\u0026hvadid=343238573411\u0026hvpos=\u0026hvnetw=g\u0026hvrand=8836444678364226758\u0026hvpone=\u0026hvptwo=\u0026hvqmt=\u0026hvdev=c\u0026hvdvcmdl=\u0026hvlocint=\u0026hvlocphy=9031923\u0026hvtargid=pla-757549749596\u0026psc=1\u0026tag=\u0026ref=\u0026adgrpid=71762478951\u0026hvpone=\u0026hvptwo=\u0026hvadid=343238573411\u0026hvpos=\u0026hvnetw=g\u0026hvrand=8836444678364226758\u0026hvqmt=\u0026hvdev=c\u0026hvdvcmdl=\u0026hvlocint=\u0026hvlocphy=9031923\u0026hvtargid=pla-757549749596\u003e`__\n    3. `16x2 I2C LCD Display \u003chttps://www.amazon.com/GeeekPi-Character-Backlight-Raspberry-Electrical/dp/B07S7PJYM6\u003e`__\n    4. `Jumper Wires \u003chttps://www.amazon.com/EDGELEC-Breadboard-Optional-Assorted-Multicolored/dp/B07GD2BWPY/ref=pd_bxgy_img_3/138-1998102-2136103?_encoding=UTF8\u0026pd_rd_i=B07GD2BWPY\u0026pd_rd_r=6ef1b01c-f0b3-41c0-9c3b-823a9ae973ec\u0026pd_rd_w=LuogT\u0026pd_rd_wg=IRWFy\u0026pf_rd_p=f325d01c-4658-4593-be83-3e12ca663f0e\u0026pf_rd_r=3Z5VTS5DNDF558PZ11KK\u0026psc=1\u0026refRID=3Z5VTS5DNDF558PZ11KK\u003e`__\n    5. `Bread Board \u003chttps://www.amazon.com/Breadboards-Solderless-Breadboard-Distribution-Connecting/dp/B07DL13RZH/ref=pd_bxgy_img_2/138-1998102-2136103?_encoding=UTF8\u0026pd_rd_i=B07DL13RZH\u0026pd_rd_r=7fc8bec8-868c-4966-a9bd-83c4ab8054ef\u0026pd_rd_w=kGG9s\u0026pd_rd_wg=Bs9Cl\u0026pf_rd_p=f325d01c-4658-4593-be83-3e12ca663f0e\u0026pf_rd_r=PXM8J6SEHKTEWA7HXFV3\u0026psc=1\u0026refRID=PXM8J6SEHKTEWA7HXFV3\u003e`__\n\nUseful Resources\n----------------\nListed are resources I found useful in setting up hardware:\n    1. `Wiring 16x2 I2C LCD Display \u003chttps://i.imgur.com/kSKlNOX.png\u003e`__\n    2. `Setting up soil moisture sensors w/ RPi \u003chttps://www.instructables.com/Soil-Moisture-Sensor-Raspberry-Pi/\u003e`__\n            \nContribute\n----------\n- `Issues Tracker \u003chttps://github.com/irahorecka/SoilMoistureDisplay/issues\u003e`__\n\nSupport\n-------\nIf you are having issues or would like to propose a new feature, please use the `issues tracker \u003chttps://github.com/irahorecka/SoilMoistureDisplay/issues\u003e`__.\n\nLicense\n-------\nThis project is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firahorecka%2Fsoil-moisture-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firahorecka%2Fsoil-moisture-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firahorecka%2Fsoil-moisture-display/lists"}