


It is an easy and low-cost solution to transform a Raspberry Pi into a capable sprinkler controller with 8 zones for lawn and garden watering. OpenSprinkler Pi (OSPi) is an open-source sprinkler / irrigation extension board for the Raspberry Pi. I updated it JUL2021 to use latest build and newer hardware. The computer must be on the same network as the Raspberry Pi.This instructable was published in 2015. This will access the OpenSpinkler web interface.
Opensprinkler pi setup software#

Opensprinkler pi setup install#
Install GPIO Zero (optional, so you can run the pinout command later) sudo apt install python3-gpiozero.
Opensprinkler pi setup update#
Update/install any other packages you want For example:Īpt-get update apt-get upgrade Could update raspian: sudo apt-get dist-upgrade.Change the hostname, passwords, and configure it: run: sudo raspi-config Enable SSH permanently. Using Putty, open a remote session to the Raspberry Piĭefault hostname: raspberrypi user: pi pass: raspberry.Install and run Putty on your computer.Put the SD card in your Raspberry Pi and power it up.This will enable Secure Shell, which will allow you to connect to your Raspberry Pi from a remote computer. Add a file to enable SSH Create an empty file in the boot directory called ssh.Enter your WiFi details, replacing the placeholder text with your own details.Ĭountry=AU ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network= Create a file wpa_nf in the base directory of the SD card. Put the SD card into your card reader on your computer.

The following steps allow the Raspberry Pi access to your WiFi network and enable remote access. I recommend connecting the Raspberry Pi Zero to your wireless network and accessing it remotely from your computer. Since this is a Raspberry Pi Zero, I did not connect any monitors or keyboards to it. The SD card that I suggest comes pre-loaded with a 'lite' version of Raspian. The web page is accessible only on my home WiFi network. To schedule my sprinkler system, I access a web page served by the Raspberry Pi on my home network. In this project, I took a new Raspberry Pi, installed OpenSprinkler on it, and used a simple relay board to trigger my home sprinkler system. Replace the old sprinkler controller in your garage with a web-page based Raspberry Pi controller.
