Sprinklers Pi is a sophisticated Irrigation control system for the Raspberry Pi. The system contains a built in mobile web page server that can be used to configure and monitor the system status from anywhere. It can also be cross compiled on an AVR/Arduino platform with appropriate networking and storage hardware.
- Fully contained system with control logic and web serving.
- Same code can be compiled to run on the Atmel/AVR/Arduino platform.
- Web based control (including mobile Android iOS)
- Automatic adjustment of intervals based on weather conditions. (weather underground API)
- Weather conditions can be pulled from individual personal weather stations or from general weather data based on zipcode.
- Manual Control
- Scheduled Control
- Quick Schedule
- Named Zones
- Full Graphing feature of historic logs
- Ability to run with OpenSprinkler module, direct relay outputs or an external script.
- Supports master valve/pump output
- Supports expansion zone board (up to 15 zones)
- Very simple installation
- Seasonal adjustment.
By default, we now ship with no weather provider enabled, and therefore no adjustment performed. Follow the directions below to enable a weather provider. If you change weather providers be sure to run "make clean" before rebuilding.
This is the current recommended free provider, however, it is currently unsupported on Arduino/AVR Platforms due to a dependence on curl and a JSON library that is currently untested on Arduino. It works on Linux devices including raspberry pi.
- Uncomment
#define WEATHER_OPENWEATHER
in config.h before building. - Build and start the server.
- Navigate to the Settings Page.
- Fill in API Secret with your api key from this page: https://home.openweathermap.org/api_keys
- Fill in Location in the format: lattidue,longitude (eg. "40.749748,-73.991618")
- Click "OK" at the top to save.
- Navigate to the Advanced -> Weather Provider Diagnostics page to test everything is working.
You can click on Advanced -> Weather Provider Diagnostics to verify your setup is working. See the wiki for more information: https://github.com/rszimm/sprinklers_pi/wiki/Weather-adjustments
make
sudo make install
NOTE: If you are running an older version of g++ compiler you may see the error unrecognized command line option '-std=c++11'
. You should either update to g++ version 4.8+, or if you are not using DarkSky as a weather provider, you can remove -std=c++11
at the end of line 8 in the Makefile. You can see what version of g++ you have by running g++ --version
.
sudo /etc/init.d/sprinklers_pi start
See the wiki for more information: https://github.com/rszimm/sprinklers_pi/wiki
A live demo site is available here: http://kilby.kewlshells.com:8080/ Please keep it clean.