A python interface for the SaveConnect API
Project description
python-systemair-saveconnect
This is a simple package that expose the SaveConnect API as a python module.
Installation
pip install python-systemair-saveconnect
Example
from systemair.saveconnect import SaveConnect
email = ""
password = ""
sc = SaveConnect(
email=email,
password=password,
ws_enabled=True,
update_interval=60,
refresh_token_interval=300
)
# Authenticate
if not await sc.login():
raise RuntimeError("Could not connect to systemAIR")
# Refresh Token
await sc.auth.refresh_token()
devices = await sc.get_devices()
device_0 = devices[0]["identifier"]
device_0_data = await sc.read_data(device_id=device_0)
Version History
3.0.0 - Updated to work with SaveConnect
1.0.0 - Initial Version
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-systemair-saveconnect-3.0.0rc5.tar.gz.
File metadata
- Download URL: python-systemair-saveconnect-3.0.0rc5.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8261c5efad5191ae58d39919dac2178846c7298da181bc0de8a78eded738eec0
|
|
| MD5 |
542fe7db1bcc385f11d29b6a6036c84d
|
|
| BLAKE2b-256 |
3a3f1626352e9c838a6c0dbf7a36c36d91326b132bec0d60a6d73ff2baf7500c
|
File details
Details for the file python_systemair_saveconnect-3.0.0rc5-py2.py3-none-any.whl.
File metadata
- Download URL: python_systemair_saveconnect-3.0.0rc5-py2.py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86f98e9bcd216df951b13159bd123611e1468abe679af005fb3d9104ee3f6dec
|
|
| MD5 |
61b7c5c4342d08bea4986657402dbf68
|
|
| BLAKE2b-256 |
5fdfce216648f9532c3949b22e068135ed1835ca6195d9bab9c3fd3713d47baa
|