Skip to main content

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.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

r2d7py-0.0.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file r2d7py-0.0.3.tar.gz.

File metadata

  • Download URL: r2d7py-0.0.3.tar.gz
  • Upload date:
  • Size: 3.0 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

Hashes for r2d7py-0.0.3.tar.gz
Algorithm Hash digest
SHA256 39d2bdce084a08fe02406c515040d072385f548a694886859a1283f561c81a95
MD5 cf60041a79985582dcbb7d5035e92327
BLAKE2b-256 58fc566dd92648d6a0b7c4f90f316512c7eda1499a9bd8c372aab92892e10d81

See more details on using hashes here.

File details

Details for the file r2d7py-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: r2d7py-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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

Hashes for r2d7py-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 868149d932e804c5c32a22d5c453b14137b24f889d5db1fada66f6a058584ba4
MD5 df2cbb5896736474e1b0bf4e64e2c160
BLAKE2b-256 c5a81fe9a154aa0ce0d8c26292c159a1ce98ceb829604436d21f891c7ca93bab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page