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.6.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file r2d7py-0.0.6.tar.gz
.
File metadata
- Download URL: r2d7py-0.0.6.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 | 1e6150d0e94764124358b82a5b7d18bbd2dfc46aa63f54c713a6ff822d9943ce |
|
MD5 | ca01e44ec07ba0dc07ac3aca78b50d76 |
|
BLAKE2b-256 | 958f8f4fde9e2423132f8bc8bb508333bdd70580a289b85892c36e5e6db1cc8c |
File details
Details for the file r2d7py-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: r2d7py-0.0.6-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 | f9afdfd86cb923461bba1a1946db2ffec7b91db5c4385a693f59aa9cf6f059f0 |
|
MD5 | f20de9bf7d11c18a98e8fc1b6453e336 |
|
BLAKE2b-256 | 2e255d203342ec2976a59b8ee3177c0f285eeaa33c2b6ba9ccd87817e8c82b87 |