aioaquarea-ng
Asynchronous Python library for Panasonic Aquarea heat pumps, through the Panasonic Aquarea Smart Cloud API. It powers the home-assistant-aquarea integration.
This is the maintained fork of cjaliaga/aioaquarea, originally written by Carlos J. Aliaga. Upstream has had no merges or releases since May 2026, and Panasonic has started enforcing multi-factor authentication on logins (cjaliaga/aioaquarea#92), so development continues here. The package name changed; the import name did not.
Installation
pip install aioaquarea-ng
import aioaquarea # same import name as the original package
Don't install it next to the original aioaquarea package: both provide the aioaquarea module.
Status
- Multi-factor authentication: accounts that get Panasonic's MFA challenge fail with
AuthenticationErrorcodeMFA_REQUIREDinstead of a confusing token error. Completing the challenge is in progress (#7). - Water pressure:
Device.water_pressure(bar), when the unit reports it.
Bug reports and pull requests are welcome in this repository.
Requirements
This library requires:
- Python >= 3.9
- asyncio
- aiohttp
Usage
The library supports the production environment of the Panasonic Aquarea Smart Cloud API and also the Demo environment. One of the main usages of this library is to integrate the Panasonic Aquarea Smart Cloud API with Home Assistant via home-assistant-aquarea
Here is a simple example of how to use the library via getting a device object to interact with it:
from aioaquarea import (
Client,
AquareaEnvironment,
UpdateOperationMode
)
import aiohttp
import asyncio
import logging
from datetime import timedelta
async def main():
async with aiohttp.ClientSession() as session:
client = Client(
username="USERNAME",
password="PASSWORD",
session=session,
device_direct=True,
refresh_login=True,
environment=AquareaEnvironment.PRODUCTION,
)
# The library is designed to retrieve a device object and interact with it:
devices = await client.get_devices(include_long_id=True)
# Picking the first device associated with the account:
device_info = devices[0]
device = await client.get_device(
device_info=device_info, consumption_refresh_interval=timedelta(minutes=1)
)
# Or the device can also be retrieved by its long id if we know it:
device = await client.get_device(
device_id="LONG ID", consumption_refresh_interval=timedelta(minutes=1)
)
# Then we can interact with the device:
await device.set_mode(UpdateOperationMode.HEAT)
# The device can automatically refresh its data:
await device.refresh_data()
Acknowledgements
The original library is by Carlos J. Aliaga (cjaliaga/aioaquarea), MIT licensed.
Big thanks to ronhks for his awesome work on the Panasonic Aquarea Smart Cloud integration with MQTT.
Metadata
Release files for aioaquarea-ng 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioaquarea_ng-1.2.0.tar.gz | 38.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioaquarea_ng-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.6 kB
Release files / aioaquarea_ng-1.2.0.tar.gz
| Download URL | aioaquarea_ng-1.2.0.tar.gz |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4cfb719e713991ab2abfceac9041fcf1cd632bd424feb48cbfaba814521b72b
|
|
BLAKE2b-256 checksum How to use checksums |
dfddd95b1022392bdb01d4fe1b461f0c82ae21e78bad059d3b2cbad33ec524d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logRelease files / aioaquarea_ng-1.2.0-py3-none-any.whl
| Download URL | aioaquarea_ng-1.2.0-py3-none-any.whl |
|---|---|
| Size | 34.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff04853da9a7044c5ffa79d49f6e2c09419292f323d1a2eef92d77bba87a162e
|
|
BLAKE2b-256 checksum How to use checksums |
c593a326fad9107b7f1da654f9eb146f2796b1b6a403a3394296b7afcb850a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency log