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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: r2d7py-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 187f51258f4ed683b0a24f30d28e90269463455c92023c078c6c9a1c78449143
MD5 68eb632e4f69a3a9bcf250df913f5e44
BLAKE2b-256 c00666654696dc6c9e3845eeb3254bbd2b81521f6c6b087a494c661743c91688

See more details on using hashes here.

File details

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

File metadata

  • Download URL: r2d7py-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 094a0fe046caddafd376d348e628025d58738487b705484579e73c75ae0b549c
MD5 6ffbcbce7e20290c6d20cb935fa0dce5
BLAKE2b-256 0c8b55ba639386f93e93d3e5bb7066d334cff8d710e95b9584c8dfa6a0829176

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