A mobile interface for the OpenSprinkler irrigation device written in PHP. This program is no longer developed and is superseded by the Javascript app: https://github.com/salbahra/Sprinklers.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
img
js
locale
.gitignore
README.md
config-example.php
index.php
install.php
locale.php
main.php
sprinklers.php
watcher.php

README.md

Sprinklers-PHP

Warning: This app is no longer being developed. Please use the new Javascript based app, found here: https://github.com/OpenSprinkler/OpenSprinkler-App


A mobile interface for the OpenSprinkler irrigation device. Designed to allow manual control, program management (view, edit, delete and add), initiation of a run-once program, viewing device status, adjusting rain delay, viewing logs, and changing of OpenSprinkler settings. Screenshots available below.

Overview:

  • There is an authentication system in place and a guide on first run will assist in adding a new user along with any other required settings.

  • The application is written in PHP, Javascript, and HTML/CSS. This means a web server is required. Any web server supporting PHP should be supported. The default install instructions use Apache (default for most installs).

Install Instructions:

#create directory with write permissions
mkdir -m 777 /var/www/sprinklers

#install files
git clone https://github.com/salbahra/OpenSprinkler-Controller.git /var/www/sprinklers

If you don't have Git, you can download the ZIP file and extract to a local directory.

  • Now, visit the site using any browser (replacing IPAddr with the server IP): http://IPAddr/sprinklers
  • An installer will guide you through the rest of setup

See the Wiki - Install Instructions for additional documentation.

Update Instructions:

#change to the install directory
cd /var/www/sprinklers

#perform update
git pull