Skip to main content

Asynchronous library to retrieve details of your Aquacell water softener device

Project description

Aioaquacell

Asynchronous library to retrieve details of your Aquacell water softener device

Requirements

  • aiohttp
  • aioboto3
  • requests_aws4auth
  • pycognito
  • aws_request_signer
  • botocore

Usage

userName = "<email address>"
password = "<password>"


async def main():
    api = AquacellApi()
    await api.authenticate(userName, password)
    # Get the refresh token
    print(api.refresh_token)
    
    softeners = await api.get_all_softeners()
    for softener in softeners:
        print(softener.name)


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

Authenticate using refresh token

refresh_token = "<refresh token>"
api = AquacellApi()
await api.authenticate(refresh_token)

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

aioaquacell-0.1.6.tar.gz (9.3 kB view hashes)

Uploaded Source

Supported by

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