Python library for interfacing with selve devices using the USB-RF controller
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:
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size python_selve-1.2.1-py3-none-any.whl (9.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size python-selve-1.2.1.tar.gz (7.3 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for python_selve-1.2.1-py3-none-any.whl