Asynchronous library to retrieve details of your Aquacell water softener device. This API is reverse engineered from the official Android application. Credentials used can be verified in the APK (res\raw\amplifyconfiguration.json).
- aiohttp
- aiobotocore
- requests_aws4auth
- pycognito
- aws_request_signer
- botocore
- botocore3
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())
refresh_token = "<refresh token>"
api = AquacellApi()
await api.authenticate(refresh_token)