Aioaseko 1.0.0 | Coderz Repository

aioaseko 1.0.0

Last updated:

0 purchases

aioaseko 1.0.0 Image
aioaseko 1.0.0 Images

Free

Languages

Categories

Add to Cart

Description:

aioaseko 1.0.0

aioAseko package

An async Python wrapper for the Aseko Pool Live API.
The library supports Aseko ASIN AQUA devices.
The Aseko ASIN Pool is partially supported.
The library is currently limited to a selection of features available on aseko.cloud.
Installation
pip install aioaseko

Usage
Import
from aioaseko import Aseko

Create an Aseko instance and login
api = Aseko("aioAseko@example.com", "passw0rd")
await api.login()

Example
from asyncio import run

from aioaseko import Aseko, InvalidCredentials, Unit

async def main():
api = Aseko("aioAseko@example.com", "passw0rd")
try:
await api.login()
except InvalidCredentials:
print("The username or password is wrong.")
return
units = await api.get_units()
for unit in units:
if isinstance(unit, Unit):
print(f"Unit: {unit.name} ({unit.serial_number})")
print(f"Air temperature: {unit.air_temperature}")
print(f"Water flow to probes: {unit.water_flow_to_probes}")
run(main())

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.