automated-irrigation-system
This is the software of an open source automated irrigation system. The complete setup including hardware can be found in the README.
File Explorer
Download Latest Version (.zip)- ESP8622_moisture.ino.ino
- www
- irrigation-controller.js
- measurement-controller.js
- preference-controller.js
- sensor-controller.js
- daily-measurement.js
- hourly-measurement.js
- minutely-measurement.js
- secondly-measurement.js
- irrigations.js
- preferences.js
- index.js
- irrigation-service.js
- measurement-service.js
- preference-service.js
- sensor-service.js
- error.jade
- .gitignore
- app.js
- Dockerfile
- package-lock.json
- package.json
- software-architecture.drawio
- app-dark.png
- app-light.png
- hardware-architecture.png
- software-architecture.png
- bootstrap.css
- index.html
- logo.svg
- manifest.json
- IBMPlexMono-Bold.ttf
- IBMPlexMono-Medium.ttf
- logo.svg
- moon.svg
- sun.svg
- watering.svg
- ThemePicker.css
- ThemePicker.js
- Header.css
- Header.js
- IotButton.css
- IotButton.js
- LineChart.css
- LineChart.js
- Preferences.css
- Preferences.js
- SensorPicker.css
- SensorPicker.js
- Card.css
- Card.js
- index.js
- Main.js
- style.css
- theme.js
- .dockerignore
- .gitignore
- docker-compose.yml
- Dockerfile
- package-lock.json
- package.json
- README.md
# Installation Guide
git clone https://github.com/PatrickHallek/automated-irrigation-system
Downloads the entire project code from GitHub to your computer.
cd automated-irrigation-system
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- APT (Debian/Ubuntu ๊ณ์ด) Built into Debian/Ubuntu-based Linux distributions.
curl -sSL https://get.docker.com | sh
Downloads and runs the official install script in one line โ this handles the full setup automatically.
sudo apt-get install -y libffi-dev libssl-dev
Installs directly from the APT package repository (Debian/Ubuntu-based).
sudo apt-get install -y python3 python3-pip
Installs directly from the APT package repository (Debian/Ubuntu-based).
sudo apt install mongodb
Installs directly from the APT package repository (Debian/Ubuntu-based).
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
curl -sSL https://get.docker.com | sh
Downloads and runs the official install script in one line โ this handles the full setup automatically.
sudo usermod -aG docker pi
Type this command into your terminal and run it.
sudo pip3 install docker-compose
Runs the command against the services defined in the compose file.
sudo nano docker-compose.yml
Runs the command against the services defined in the compose file.
sudo docker-compose up
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
4. Node.js
Easynpm -v
Type this command into your terminal and run it.
npm install
Downloads and installs the libraries listed in package.json.
npm run build
Builds optimized production files.
npm start &
Starts the development/run server.
Pulled directly from this repo's README.
