Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

python_systemair_saveconnect-3.0.0rc12-py2.py3-none-any.whl (26.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python_systemair_saveconnect-3.0.0rc12-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_systemair_saveconnect-3.0.0rc12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2377ca7e3544e85add4f9fe1f013fabfc23a5276eda045c59c87a1feb8dc4bca
MD5 5690b0df0ed5ed0cd75a1613dec2ad36
BLAKE2b-256 898dd8e0bc4b4b0d0fe28f32a9d30f41dc4a7c4b269a14f4fa9beceda25a3763

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page