Skip to main content

A Systemair-savecair API Wrapper

Project description

# python-systemair-savecair

This is a simple package that expose the savecair API as a python module.

# Installation
```python
pip install python-systemair-savecair
```

# Example
```python
from systemair.savecair.client import SavecairClient
import asyncio
if __name__ == "__main__":

async def on_connect():
pass

async def on_disconnect():
pass

async def on_update():
pass

async def on_error():
pass

async def start(loop=asyncio.get_event_loop()):
x = SavecairClient(iam_id="xxxxx", password="xxxxx", loop=loop)
x.on_connect.append(on_connect)
x.on_disconnect.append(on_disconnect)
x.on_update.append(on_update)
x.on_error.append(on_error)

x.start()

loop = asyncio.get_event_loop()
loop.run_until_complete(start(loop))
loop.run_forever()
```

# Version History
1.0.0 - Initial Version

Project details


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python_systemair_savecair-1.0.1-py3-none-any.whl (3.1 kB) Copy SHA256 hash SHA256 Wheel py3
python-systemair-savecair-1.0.1.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page