Skip to main content

Python library for interfacing with selve devices using the USB-RF controller; forked from GPULIDO

Project description

PyPI version

A simple Python API for controlling RF Blinds / shutters / awning from selve using a USB-RF Gateway. All devices according to the specification are supported. Olso integrated are two Threads which monitor an in- and output queue. If you want to send an asyn command, just use the writeQueue. readQueue momentarily only reads events from the serial port and does not process them (tbd).

The complete protocol specification can be found at selve

Example of use

Create a new instance of the gateway:

gat = Gateway(portname)

portname is the name of the serial port where the usb rf gateway is listed on the os. Please refer to the serial library documentation.

By default the gateway will discover all Iveo devices already registered onto the gateway.

To access them:

gat.devices()

Will return a list of IveoDevices()

Each IveoDevice can be controlled by using the already defined commands: stop() moveUp() moveToIntermediatePosition1() and moveToIntermediatePosition2()

The library also allows to send directly commands to the gateway without the need of using the IveoDevice abstraction just create the command and execute using the gateway:

command = IveoCommandGetIds()
command.execute(gat)

Once executed the response is stored in the command instance for later user or just to discard.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-selve-new-1.0.5.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

python_selve_new-1.0.5-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file python-selve-new-1.0.5.tar.gz.

File metadata

  • Download URL: python-selve-new-1.0.5.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for python-selve-new-1.0.5.tar.gz
Algorithm Hash digest
SHA256 9571d981fad58f77f80a2651d02c71bc19f42141616a50045d745a7f6db36a15
MD5 69139d4768a970fdd1da7577b1f2df78
BLAKE2b-256 0f427501c78b9e1381365b5beeaf228f2906eafd98677482425b47dca4e97700

See more details on using hashes here.

File details

Details for the file python_selve_new-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: python_selve_new-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for python_selve_new-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 89bbf5628c5a4ac1c787ad431f82edd01585729b14765aa902fc41b6bd82dc0d
MD5 faa0565a64162dd2f0488c9af1c85094
BLAKE2b-256 741fe10134467d3aea440726128372b1dabcbc21c57c7e695561aa10c5509427

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