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
Close
Hashes for python-systemair-saveconnect-3.0.0rc3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0682d3339eb498ae29b1c41cc9a831056d34889e31305d6aa7d02a0aedb9f52 |
|
MD5 | f52ad135e66949e8ccac71cd145970c5 |
|
BLAKE2b-256 | ed3f1b26101ec066873521d46de3cfa58baac15b98bb1a3e9539195b16f5e5ab |
Close
Hashes for python_systemair_saveconnect-3.0.0rc3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7fa38c58fc0c9054ca4fdaa5afa6c201bd1aaad4778bdd13d63c40fde0c8f1 |
|
MD5 | 79bf16643f9df85cef45f7ec381a856f |
|
BLAKE2b-256 | 5ebe6151f2c9aafe1b019cff1d358d69549a2d8b2370d1ecd4e3d706af4981e8 |