Simple Supla's OpenAPI wrapper
Project description
PySupla
A simplistic (and incomplete!) wrapper for Supla's OpenAPI, used mainly for HomeAssistant integration.
I'm in no way affiliated with Supla and Zamel: I love their devices, but prefer to use all my Smart Home devices from one app.
See tests directory for usage examples.
Currently, there are only integration tests: to run them, you have to export the following environmental variables:
-
SUPLA_SERVER - an address of Supla's cloud server you want to test against (ex. srv1.supla.org, or (better) your own test instance).
-
SUPLA_PERSONAL_ACCESS_TOKEN - a personal access token you can get here (if you use Supla's server of course). PySupla currently does not support OAuth2.
-
SUPLA_SHUTTER_ID - an ID of a shutter type device to test against (this is what I'm mainly using Supla for).
Contributors welcome!
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
Built Distribution
File details
Details for the file pysupla-0.0.5.tar.gz
.
File metadata
- Download URL: pysupla-0.0.5.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a768d0637e90b68a6216d94a48c987a9d432f4d02560d65d681c344595827212 |
|
MD5 | fb660a883e1564a435601856fd28a6ee |
|
BLAKE2b-256 | 3e1f71df1a5339e7298140e707294970284bc7192afc7280fe9168f5e24863c7 |
File details
Details for the file pysupla-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: pysupla-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037a9d45d92d1550e3aaa889a8a718331b877be04fa538e3860cb97462b48cbb |
|
MD5 | 9c8dd493712fe285358e1d9ba05f2fd1 |
|
BLAKE2b-256 | 802bcfc9eb845c9f4c14868002adce7b401c717856fd9f8df9c64aabff9cb825 |