{"id":19544829,"url":"https://github.com/drewalth/irrigation-system","last_synced_at":"2026-04-18T07:36:29.284Z","repository":{"id":51181591,"uuid":"347468061","full_name":"drewalth/irrigation-system","owner":"drewalth","description":"A Next.js app to drive a Raspberry Pi-controlled DIY irrigation system.","archived":false,"fork":false,"pushed_at":"2021-05-20T15:45:15.000Z","size":11841,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T19:22:12.365Z","etag":null,"topics":["irrigation-controller","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/drewalth.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2021-03-13T20:07:39.000Z","updated_at":"2021-05-20T15:45:18.000Z","dependencies_parsed_at":"2022-08-30T13:51:14.413Z","dependency_job_id":null,"html_url":"https://github.com/drewalth/irrigation-system","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Firrigation-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Firrigation-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Firrigation-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Firrigation-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewalth","download_url":"https://codeload.github.com/drewalth/irrigation-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240801039,"owners_count":19859727,"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":["irrigation-controller","raspberry-pi"],"created_at":"2024-11-11T03:32:20.534Z","updated_at":"2026-04-18T07:36:24.244Z","avatar_url":"https://github.com/drewalth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# irrigation-system\n\n[![Build Status](https://travis-ci.com/drewalth/irrigation-system.svg?branch=main)](https://travis-ci.com/drewalth/irrigation-system) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/7c069ab53e41404798e0ead12ca9d1d9)](https://www.codacy.com/gh/drewalth/irrigation-system/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=drewalth/irrigation-system\u0026amp;utm_campaign=Badge_Grade)\n\nA DIY smart irrigation system for Raspberry Pi built with [Next.js](https://nextjs.org/), [TypeScript](https://www.typescriptlang.org/), [Socket.io](https://socket.io/) and [Redis](https://redis.io/). Inspired by this guide on Instructables, [Raspberry Pi Controlled Irrigation System](https://www.instructables.com/Raspberry-Pi-Controlled-Irrigation-System/). See full project description [here](https://www.drewalth.com/irrigation).\n\n![Image of Irrigation System UI](https://www.drewalth.com/static/irrigation-04-acd9fe22dc775a1a48842b37b54ba552.png)\n\n## Hardware Requirements\n\n- [Raspberry Pi - 4b](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/)\n- [Soil Moisture Sensors](https://www.amazon.com/gp/product/B07QXZC8TQ/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8\u0026psc=1)\n- [Rain Sensors](https://www.amazon.com/gp/product/B01DK29K28/ref=ppx_yo_dt_b_asin_image_o00_s00?ie=UTF8\u0026psc=1)\n\nFor the full circuit components list see the [Instructables project](https://www.instructables.com/Raspberry-Pi-Controlled-Irrigation-System/).\n\n## System Requirements\n\n- [Node.js](https://nodejs.org/en/)\n- [Docker](https://docs.docker.com/get-docker/)\n\n## Getting Started\n\n```bash\n# install dependencies\nnpm ci\n\n# start redis\nnpm run redis:start\n\n# start development\nnpm run dev\n\n# compile for prod\nnpm run build\n\n# start prod \nnpm start \n```\n\n## Env Vars\n\nAdd the latitude and longitude of where you're going to be running the system to the `.env.local` file. This is a helpful site to get lat + long from the address: [latlong.net](https://www.latlong.net/convert-address-to-lat-long.html).\n\n## Tokens\n\nIf you want to use SMS notifications with [Twilio](https://www.twilio.com/), sign up on their platform and add account tokens to the `.env`.\n\nYou will need an API token from [Open Weather Map](https://openweathermap.org/api). If you decide to use another weather API, you'll most likely have to change the logic around chance-of-precipitation to make it work.\n\n## Note\n\nThis project is still a work-in-progress. There is plenty of room for improvement. PR's welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewalth%2Firrigation-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewalth%2Firrigation-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewalth%2Firrigation-system/lists"}