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 <https://www.selve.de/de/service/software-updates/service-entwicklungstool-commeo-usb-rf-gateway/>`_
Example of use
--------------
Create a new instance of the gateway:
.. code-block:: python
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:
.. code-block:: python
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:
.. code-block:: python
command = IveoCommandGetIds()
command.execute(gat)
Once executed the response is stored in the command instance for later user or just to discard.
.. |PyPI version| image:: https://badge.fury.io/py/python-selve.svg
:target: https://badge.fury.io/py/python-selve
Raw data
{
"_id": null,
"home_page": "https://github.com/gpulido/python-selve",
"name": "python-selve",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "selve blind awning shutter usb rf",
"author": "Gabriel Pulido",
"author_email": "gabriel.pulidodetorres@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/8b/5b/858f0f7ccd80802c4f26c374415aa2055d65fdc8a98684c2f8cb1dfc38be/python_selve-1.4.1.tar.gz",
"platform": null,
"description": "Python control of selve devices through USB-RF Gateway\n======================================================\n\n|PyPI version|\n\nA simple Python API for controlling RF Blinds / shutters / awning from selve using a USB-RF Gateway.\nAt present, only Iveo devices are supported.\n\nThe complete protocol specification can be found at `selve <https://www.selve.de/de/service/software-updates/service-entwicklungstool-commeo-usb-rf-gateway/>`_\n\nExample of use\n--------------\n\nCreate a new instance of the gateway:\n\n.. code-block:: python\n\n gat = Gateway(portname)\n\n\nportname is the name of the serial port where the usb rf gateway is listed on the os. Please refer to the serial library documentation.\n\nBy default the gateway will discover all Iveo devices already registered onto the gateway.\n\nTo access them:\n\n.. code-block:: python\n\n gat.devices()\n\nWill return a list of IveoDevices()\n\nEach IveoDevice can be controlled by using the already defined commands: stop() moveUp() moveToIntermediatePosition1() and moveToIntermediatePosition2()\n\nThe 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:\n\n.. code-block:: python\n\n command = IveoCommandGetIds()\n command.execute(gat)\n\nOnce executed the response is stored in the command instance for later user or just to discard.\n\n.. |PyPI version| image:: https://badge.fury.io/py/python-selve.svg\n :target: https://badge.fury.io/py/python-selve\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Python library for interfacing with selve devices using the USB-RF controller",
"version": "1.4.1",
"project_urls": {
"Homepage": "https://github.com/gpulido/python-selve"
},
"split_keywords": [
"selve",
"blind",
"awning",
"shutter",
"usb",
"rf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0c7b642d45b3bd4645bf295320a80b4699b4eb545a0379861dc0133d3b71b1eb",
"md5": "de0ebe908da024956485e9a5c27113f7",
"sha256": "a6357b007a2d760813481346e24ffd2caf4b896370cb81c381f53d31f2e1ed19"
},
"downloads": -1,
"filename": "python_selve-1.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "de0ebe908da024956485e9a5c27113f7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8645,
"upload_time": "2024-07-17T22:51:13",
"upload_time_iso_8601": "2024-07-17T22:51:13.569525Z",
"url": "https://files.pythonhosted.org/packages/0c/7b/642d45b3bd4645bf295320a80b4699b4eb545a0379861dc0133d3b71b1eb/python_selve-1.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8b5b858f0f7ccd80802c4f26c374415aa2055d65fdc8a98684c2f8cb1dfc38be",
"md5": "f1be29c6a9c0c90c4f682ba09bc5aa4c",
"sha256": "75f9fe8b1bf2bd1bae5b7f1e99d4838750a68e1e1df17aab1112dae64cced2d0"
},
"downloads": -1,
"filename": "python_selve-1.4.1.tar.gz",
"has_sig": false,
"md5_digest": "f1be29c6a9c0c90c4f682ba09bc5aa4c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8553,
"upload_time": "2024-07-17T22:51:14",
"upload_time_iso_8601": "2024-07-17T22:51:14.918079Z",
"url": "https://files.pythonhosted.org/packages/8b/5b/858f0f7ccd80802c4f26c374415aa2055d65fdc8a98684c2f8cb1dfc38be/python_selve-1.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-17 22:51:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gpulido",
"github_project": "python-selve",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pySerial",
"specs": []
},
{
"name": "pybase64",
"specs": []
},
{
"name": "untangle",
"specs": []
}
],
"lcname": "python-selve"
}