Skip to main content
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)

Metadata

Release files for OpenSprinklerLib 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OpenSprinklerLib 0.1.0
File Size Uploaded Provenance
OpenSprinklerLib-0.1.0.tar.gz 5.6 kB Without provenance Details

Release files / OpenSprinklerLib-0.1.0.tar.gz

Download URL OpenSprinklerLib-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d04223a4a39a41cda815318f8869bb657dd1184486669b964845ef008cd628ae
BLAKE2b-256 checksum
How to use checksums
234785c8de4b930fa2c946e6eabdb922beaed78f4c20f1999026d3d3e17cb147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for OpenSprinklerLib 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page