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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: r2d7py-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 8129da703320117de72d0227fd046fe8bf1917d634a6d043341d2b02c5a1cac3
MD5 41b27e7d264c1999130fb8345da685ad
BLAKE2b-256 412747147923f8d3aa819675c44575b3a2b4e69cf31efc709dae1d7fe31c3c9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: r2d7py-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2352e58cc68c34bbe42fa6fc1f44e2c39fbeaa324fefc5fdb9e35c542e8621d4
MD5 77e5a0c951bf1a6f76ba7912f8a07b68
BLAKE2b-256 612cfb445798b40d9d28d6172f36fa7fa542d961e0cb7265abe33202a511626f

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