Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

OpenSprinkler Library

Project Description
Open Sprinkler Lib
==================
Open Sprinkler Lib provides an api for the RPi and Beagle Bone versions of the Open Sprinkler Project.

Features
-----------------
* Auto detects supported hardware platforms.
* RPi
* Beagle Bone (Needs testing)
* Mocks OpenSprinkler Hardware if no supported hardware platform detected for developing code on any computer.
* json config
* Support for per station master stations.

Todo
-----------------
* Add support for Rain Sensor

Configuration json format
-----------------
>stations: array
>>sid: int - Station ID (starts at 1)
>>name: str - Human readable name of station
>>description: str - Human readable description of station
>>type: str - acceptable values are "zone" and "master"
>>master: int - optional sid of master station, only required if zone has a master station.

Example Usage
-----------------
#!/usr/bin/env python
from opensprinklerlib import OpenSprinkler
controller = OpenSprinkler()
controller.load_config(open("config.json").read())
controller.enable_station(1)
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
OpenSprinklerLib-0.1.0.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Aug 20, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting