R2D7 shade controller over Ethernet
Project description
R2D7 Shade Controller Package
Package to control R2D7 shades through an Ethernet adaptor using Python.
Example:
from time import sleep
from r2d7py import *
hub = R2D7Hub( 'host.test.com', 4008 )
# Address=1, Unit=2, shade traversal time=14.2
shade = hub.shade( 1, 2, 14.2 )
# Open the shade
shade.open()
sleep(15.)
# Position the shade half way
shade.position = 50.
sleep(15.)
# Close the interface
hub.close()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
r2d7py-0.0.5.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file r2d7py-0.0.5.tar.gz
.
File metadata
- Download URL: r2d7py-0.0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afaf1cc8baec018f463cfe2567f8362ff70691f61f6f8c5e69e7286b5887e897 |
|
MD5 | b1465b1303ab9a7291b573bd3e5c8610 |
|
BLAKE2b-256 | bb52d754633a91d387c6118cca57ad2b9fc47dfa6070cb554a89f814f6c6f0cc |
File details
Details for the file r2d7py-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: r2d7py-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b631ac67b30590902c8a7926dbb6184f91d00699983f6b0ca833d8031c86dcf2 |
|
MD5 | 7be7cab33997fa3c68b2600faad3f732 |
|
BLAKE2b-256 | fb72c6026c7eebb38db3a01c6e122198c4ed4e8757200cf41eac2c388ea750ad |