0b34b7010fb15293c5d36668fac3b69ada4ab3d6
piGarden
Bash script to manage an irrigation system built with a Raspberry Pi
Official documentation
Documentation of piGarden and build system irrigation with Raspberry Pi can be found on the www.lejubila.net/pigarden/
License
This script is open-sourced software under GNU GENERAL PUBLIC LICENSE Version 2
Installation to Raspbian Jessie
- Installs the necessary packages on your terminal:
sudo apt-get install git curl gzip grep sed ucspi-tcp
- Compile and install Jq (commandline JSON processor):
cd
sudo apt-get install flex -y
sudo apt-get install bison -y
sudo apt-get install gcc -y
sudo apt-get install make -y
sudo apt-get install libtool autoconf automake gettext autotools-dev -y
sudo apt-get install dh-autoreconf -y
wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz
tar xfvz jq-1.5.tar.gz
cd jq-1.5
autoreconf -i
./configure --disable-maintainer-mode
make
sudo make install
- Compile and install gpio program from WiringPi package:
cd
git clone git://git.drogon.net/wiringPi
cd wiringPi
git pull origin
./build
- Download and install piGarden in your home
cd
git clone https://github.com/lejubila/piGarden.git
Configuration
Copy configuration file in /etc
cd
sudo cp piGarden/conf/piGarden.conf.example /etc/piGarden.conf
Customize the configuration file. For more information see www.lejubila.net/2015/12/impianto-di-irrigazione-con-raspberry-pi-pigarden-lo-script-di-gestione-quinta-parte/
Languages
Python
59.2%
Shell
40.8%