Inhaltsverzeichnis

WateringPi


About the Project

This Project can control eight Gardena or Rainbird 24V solenoid valves (maybe other vendors too). It is possible to cascade in the next release two boards to control up to 16 solenoid valves.

Requirements

- „Raspberry Pi Zero W“ or „Raspberry Pi 3“
- Rasbian Release Jessi (or higher)
- RTC Modul (fe. ZS-042)
- „The Board“
- DC-DC Downstepper
- female-female jumper cable
- mircoUSB connector
- some other cables :)
- 8 LEDs (optional)
- 9 Switches (optional)

for initial Internet Access on RPI Zero (W):
- OTG Adapter + USB Ethernet Adapter
or
- microUSB Ethernet Adapter

The Board

(designed with Eagle)
Board v2
Schema v2

WateringPi Installation

Step1:

- download Rasbian Jessi
- install it on a microSD card
- startup the RPi
- login as user „pi“

sudo bash
raspi-config

- Localisation Options → set „Timezone“
- Localisation Options → set „Keyboard Layout“
- Localisation Options → set „Wifi Country“
- Interfacing Options → enable „I2C“
- „Finish“ without reboot


Step2:

sudo bash
apt-get update
apt-get upgrade
reboot



Step3:

sudo bash
apt-get install -y hostapd dnsmasq iw i2c-tools libi2c-dev apache2 libapache2-mod-php5 php5
systemctl disable hostapd
systemctl disable dnsmasq
echo "tmpfs     /tmp    tmpfs   defaults,size=20%       0       0" >> /etc/fstab



Step4:
Download the WateringPi package from here: wateringpi_0.9_full.tgz

wget -O WateringPi_latest.tgz https://www.bsosp.de/lib/exe/fetch.php?media=raspberry_pi:wateringpi_0.9_full.tgz

Now extract the tgz file.

tar -xzvf WateringPi_latest.tgz -C /opt/
cd /opt/WateringPi
./install.sh
reboot


How to use

Connect your mobile device to the Hotspot named „WateringPi“ with PSK „1234567890“.
Open a webbrowser and navigate to the URLhttp://wateringpi.box