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 Distribution

python-systemair-saveconnect-3.0.0rc2.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_systemair_saveconnect-3.0.0rc2-py2.py3-none-any.whl (24.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python-systemair-saveconnect-3.0.0rc2.tar.gz.

File metadata

File hashes

Hashes for python-systemair-saveconnect-3.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 4772194471c26e71ec7aec6be60b666922fa11958e998404b24c2386a0e30f4f
MD5 511ad48bf4b40829bcc80c5f20ad86a7
BLAKE2b-256 689024d791fa4498c76e9c7575df72c6fd03f4fcbf51470d7dc3c61ae5250c42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_systemair_saveconnect-3.0.0rc2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9f7d5cc7da0a955fcf95f2cece6511da81cbae17b3fb79847319936ddf45bd1
MD5 27af89e3a368fb4f86645bf4723204b7
BLAKE2b-256 a76781fc9748414caa0568e16741769602ba3f23ed0aa60b6ceda8b8683f1c4c

See more details on using hashes here.

Supported by

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