Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jluccisano/rpi-sprinkler-control
https://github.com/jluccisano/rpi-sprinkler-control
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jluccisano/rpi-sprinkler-control
- Owner: jluccisano
- License: mit
- Created: 2018-11-06T12:57:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-10T13:01:37.000Z (about 6 years ago)
- Last Synced: 2024-08-01T13:35:06.455Z (6 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - jluccisano/rpi-sprinkler-control - (Python)
README
# rpi-sprinkler-control
# Install
## Packaging
```python
python -m pip install --user --upgrade setuptools wheel
python setup.py sdist bdist_wheel
```##
# Usages
Get state of each valve
```python
python zone_control.py get
```
Get state of specific zone
```python
python zone_control.py get --zone 1
```
Set state of specific valve
```python
python zone_control.py set --zone 1 --state 1
```
Set state of each valve
```python
python zone_control.py set --state 1
```
Toggle state of specific valve
```python
python zone_control.py toggle --zone 1
```