Benutzer-Werkzeuge

Webseiten-Werkzeuge


raspberry_pi:wateringpi

Dies ist eine alte Version des Dokuments!


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)

The Board


WateringPi Installation

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

sudo bash\\
raspi-config\\


- Menu 4 → set „Timezone“
- Menu 4 → set „Keyboard Layout“
- Menu 4 → set „Wifi Country“
- Menu 5 → enable „I2C“
- „Finish“ without reboot

Step2:

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


Step3:
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/


Step 4:

cd /opt/WateringPi
./install.sh
reboot


Step 5:
Connect you to the Hotspot named „WateringPi“ with PSK „1234567890“ and open a Webbrowser with „http://wateringpi.box

Source for the AutoHotspot

Software


raspberry_pi/wateringpi.1489961338.txt.gz · Zuletzt geändert: 2017/03/19 22:08 von timo