iaqualink


Nameiaqualink JSON
Version 0.5.0 PyPI version JSON
download
home_pageNone
SummaryAsynchronous library for Jandy iAqualink
upload_time2022-10-12 17:45:44
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords iaqualink
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Asynchronous library for Jandy iAqualink

Usage (using apython):

```python
>>> 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'})}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "iaqualink",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "iaqualink",
    "author": null,
    "author_email": "Florent Thoumie <florent@thoumie.net>",
    "download_url": "https://files.pythonhosted.org/packages/ed/c7/71c1b7c4d0a803b635e83a747781c13c40cfbf6091856f05e8d8cabb7639/iaqualink-0.5.0.tar.gz",
    "platform": null,
    "description": "# Asynchronous library for Jandy iAqualink\n\nUsage (using apython):\n\n```python\n>>> async with AqualinkClient('xxx@example.com', 'password') as c:\n...     s = await c.get_systems()\n...     print(s)\n...     d = await list(s.values())[0].get_devices()\n...     print(d)\n...\n{'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})}\n{'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'})}\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Asynchronous library for Jandy iAqualink",
    "version": "0.5.0",
    "project_urls": {
        "Homepage": "https://github.com/flz/iaqualink-py"
    },
    "split_keywords": [
        "iaqualink"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a58c6028d17bf58e480587e1b5a032389e991c9cb358af0dd0b6be7ffacbfa3f",
                "md5": "1bfcab608a5af9962bec29f0568ea284",
                "sha256": "766843041f47307aa0910fc9f3e6caf03f0bf8dd53133ea8a8f4d36f98f2c9af"
            },
            "downloads": -1,
            "filename": "iaqualink-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1bfcab608a5af9962bec29f0568ea284",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 13151,
            "upload_time": "2022-10-12T17:45:42",
            "upload_time_iso_8601": "2022-10-12T17:45:42.031472Z",
            "url": "https://files.pythonhosted.org/packages/a5/8c/6028d17bf58e480587e1b5a032389e991c9cb358af0dd0b6be7ffacbfa3f/iaqualink-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "edc771c1b7c4d0a803b635e83a747781c13c40cfbf6091856f05e8d8cabb7639",
                "md5": "0db65efd6c01d8d2a433284a146a7db1",
                "sha256": "dc3b232bac18c7d1e5b3b53cfffaa23d2ce6652ac14bcc3582418544f0daf7de"
            },
            "downloads": -1,
            "filename": "iaqualink-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0db65efd6c01d8d2a433284a146a7db1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 17068,
            "upload_time": "2022-10-12T17:45:44",
            "upload_time_iso_8601": "2022-10-12T17:45:44.275800Z",
            "url": "https://files.pythonhosted.org/packages/ed/c7/71c1b7c4d0a803b635e83a747781c13c40cfbf6091856f05e8d8cabb7639/iaqualink-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-10-12 17:45:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "flz",
    "github_project": "iaqualink-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "iaqualink"
}
        
Elapsed time: 3.43264s