Asynchronous library for Jandy iAqualink
Project description
Asynchronous library for Jandy iAqualink
Usage (using apython):
>>> async with AqualinkClient('xxx@example.com', 'password') as c:
... s = await c.get_systems()
... print(s)
... d = await list(s.values())[0].get_devices()
... print(d)
...
{'XXX': AqualinkPoolSystem(name='Pool' serial='XXX' data={'id': 1234, 'serial_number': 'XXX', 'created_at': '2017-09-23T01:00:08.000Z', 'updated_at': '2017-09-23T01:00:08.000Z', 'name': 'Pool', 'device_type': 'iaqua', 'owner_id': None, 'updating': False, 'firmware_version': None, 'target_firmware_version': None, 'update_firmware_start_at': None, 'last_activity_at': None})}
{'spa_temp': AqualinkSensor(name='spa_temp' data={'name': 'spa_temp', 'state': '100'}), 'pool_temp': AqualinkSensor(name='pool_temp' data={'name': 'pool_temp', 'state': ''}), 'air_temp': AqualinkSensor(name='air_temp' data={'name': 'air_temp', 'state': '76'}), 'spa_set_point': AqualinkThermostat(name='spa_set_point' data={'name': 'spa_set_point', 'state': '102'}), 'pool_set_point': AqualinkThermostat(name='pool_set_point' data={'name': 'pool_set_point', 'state': '84'}), 'cover_pool': AqualinkSensor(name='cover_pool' data={'name': 'cover_pool', 'state': ''}), 'freeze_protection': AqualinkBinarySensor(name='freeze_protection' data={'name': 'freeze_protection', 'state': '0'}), 'spa_pump': AqualinkPump(name='spa_pump' data={'name': 'spa_pump', 'state': '1'}), 'pool_pump': AqualinkPump(name='pool_pump' data={'name': 'pool_pump', 'state': '1'}), 'spa_heater': AqualinkHeater(name='spa_heater' data={'name': 'spa_heater', 'state': '0'}), 'pool_heater': AqualinkHeater(name='pool_heater' data={'name': 'pool_heater', 'state': '0'}), 'solar_heater': AqualinkHeater(name='solar_heater' data={'name': 'solar_heater', 'state': '1'}), 'spa_salinity': AqualinkSensor(name='spa_salinity' data={'name': 'spa_salinity', 'state': ''}), 'pool_salinity': AqualinkSensor(name='pool_salinity' data={'name': 'pool_salinity', 'state': ''}), 'orp': AqualinkSensor(name='orp' data={'name': 'orp', 'state': ''}), 'ph': AqualinkSensor(name='ph' data={'name': 'ph', 'state': ''}), 'aux_1': AqualinkAuxToggle(name='aux_1' data={'aux': '1', 'name': 'aux_1', 'state': '0', 'label': 'CLEANER', 'icon': 'aux_1_0.png', 'type': '0', 'subtype': '0'}), 'aux_2': AqualinkLightToggle(name='aux_2' data={'aux': '2', 'name': 'aux_2', 'state': '0', 'label': 'SPA LIGHT', 'icon': 'aux_1_0.png', 'type': '0', 'subtype': '0'}), 'aux_3': AqualinkLightToggle(name='aux_3' data={'aux': '3', 'name': 'aux_3', 'state': '0', 'label': 'POOL LIGHT', 'icon': 'aux_1_0.png', 'type': '0', 'subtype': '0'}), 'aux_4': AqualinkAuxToggle(name='aux_4' data={'aux': '4', 'name': 'aux_4', 'state': '0', 'label': 'AIR BLOWER', 'icon': 'aux_1_0.png', 'type': '0', 'subtype': '0'}), 'aux_5': AqualinkAuxToggle(name='aux_5' data={'aux': '5', 'name': 'aux_5', 'state': '0', 'label': 'SHEER DSCNT', 'icon': 'aux_1_0.png', 'type': '0', 'subtype': '0'})}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iaqualink-0.6.0.tar.gz.
File metadata
- Download URL: iaqualink-0.6.0.tar.gz
- Upload date:
- Size: 37.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b3010c122c530f7411e3e346e56747935e62412ba4f8170a28b32cb8f668a2
|
|
| MD5 |
540403d56bcdb4c66af7b9f37241f300
|
|
| BLAKE2b-256 |
ee98246e1c8449e65ea308020082e58c764ed26f74d0e8d38bbb77f8070df0aa
|
Provenance
The following attestation bundles were made for iaqualink-0.6.0.tar.gz:
Publisher:
release.yaml on flz/iaqualink-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iaqualink-0.6.0.tar.gz -
Subject digest:
18b3010c122c530f7411e3e346e56747935e62412ba4f8170a28b32cb8f668a2 - Sigstore transparency entry: 432915635
- Sigstore integration time:
-
Permalink:
flz/iaqualink-py@53bd317a95c5b7fb7b21d57ca1c18549956cfb07 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/flz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@53bd317a95c5b7fb7b21d57ca1c18549956cfb07 -
Trigger Event:
push
-
Statement type:
File details
Details for the file iaqualink-0.6.0-py3-none-any.whl.
File metadata
- Download URL: iaqualink-0.6.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d14c613342fbafe715b156fa2b7dd5f19ea483e1851c2a304b2c1a450b23cb7
|
|
| MD5 |
1b2a7ce350be15547f488654542f82d4
|
|
| BLAKE2b-256 |
912227b3629985c6d8df19d69bb6385712677abab7ec5cd398a26e42dc8786a7
|
Provenance
The following attestation bundles were made for iaqualink-0.6.0-py3-none-any.whl:
Publisher:
release.yaml on flz/iaqualink-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iaqualink-0.6.0-py3-none-any.whl -
Subject digest:
6d14c613342fbafe715b156fa2b7dd5f19ea483e1851c2a304b2c1a450b23cb7 - Sigstore transparency entry: 432915652
- Sigstore integration time:
-
Permalink:
flz/iaqualink-py@53bd317a95c5b7fb7b21d57ca1c18549956cfb07 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/flz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@53bd317a95c5b7fb7b21d57ca1c18549956cfb07 -
Trigger Event:
push
-
Statement type: