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.7.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file r2d7py-0.0.7.tar.gz
.
File metadata
- Download URL: r2d7py-0.0.7.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 | 39b66752a93dde07e05f828dfffc702852e10ab36bcf9f18179e53ea9a73d0cc |
|
MD5 | b82df30a0e1088a08014ef290d6a9731 |
|
BLAKE2b-256 | e37830927f9c37a4d270a704074717a392449e3376db94fdabb582d39c83b1ff |
File details
Details for the file r2d7py-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: r2d7py-0.0.7-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 | dccf08565bcba728544bc7652b17044d29e4864dfe67278755ae0e3a406d431e |
|
MD5 | 7e07e501bfd05833c446b0f4df19bfb8 |
|
BLAKE2b-256 | 6982629438230a95c301d3b6c6aa3b83d100d95bb8f4c7d209f1f6e2603bb789 |