Git Product home page Git Product logo

irrigation-system's Introduction

irrigation-system

Build Status Codacy Badge

A DIY smart irrigation system for Raspberry Pi built with Next.js, TypeScript, Socket.io and Redis. Inspired by this guide on Instructables, Raspberry Pi Controlled Irrigation System. See full project description here.

Image of Irrigation System UI

Hardware Requirements

For the full circuit components list see the Instructables project.

System Requirements

Getting Started

# install dependencies
npm ci

# start redis
npm run redis:start

# start development
npm run dev

# compile for prod
npm run build

# start prod 
npm start 

Env Vars

Add 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.

Tokens

If you want to use SMS notifications with Twilio, sign up on their platform and add account tokens to the .env.

You will need an API token from Open Weather Map. 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.

Note

This project is still a work-in-progress. There is plenty of room for improvement. PR's welcome.

irrigation-system's People

Contributors

drewalth avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.