Skip to main content

Python control of selve devices through USB-RF Gateway

PyPI version

A simple Python API for controlling RF Blinds / shutters / awning from selve using a USB-RF Gateway. At present, only Iveo devices are supported.

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.

Metadata

Release files for python-selve 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-selve 1.4.1
File Size Uploaded
python_selve-1.4.1.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-selve 1.4.1
File Interpreter ABI Platform
python_selve-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.2 kB

Release files / python_selve-1.4.1.tar.gz

Download URL python_selve-1.4.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
75f9fe8b1bf2bd1bae5b7f1e99d4838750a68e1e1df17aab1112dae64cced2d0
BLAKE2b-256 checksum
How to use checksums
8b5b858f0f7ccd80802c4f26c374415aa2055d65fdc8a98684c2f8cb1dfc38be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / python_selve-1.4.1-py3-none-any.whl

Download URL python_selve-1.4.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6357b007a2d760813481346e24ffd2caf4b896370cb81c381f53d31f2e1ed19
BLAKE2b-256 checksum
How to use checksums
0c7b642d45b3bd4645bf295320a80b4699b4eb545a0379861dc0133d3b71b1eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page