Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Aquarea devices #310

Open
sockless-coding opened this issue Sep 23, 2024 · 20 comments
Open

Support for Aquarea devices #310

sockless-coding opened this issue Sep 23, 2024 · 20 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sockless-coding
Copy link
Owner

sockless-coding commented Sep 23, 2024

To add support for Aquarea devices I need help.
Version 2024.9.1 has some extra logging that provides some extra logs that I need before I can add the support.

There should now be several new warning logs looking like:

Found 2 unknown device(s):
{...}
{...}
Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310
Got aquarea device info for: {...}:
{...}
Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310
@stevocz
Copy link

stevocz commented Sep 26, 2024

new log from 2024.9.3

2024-09-26 10:12:44.063 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Starting Session
2024-09-26 10:12:44.099 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Loaded settings from '/root/.panasonic-settings'
2024-09-26 10:12:44.100 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Access token is not valid
2024-09-26 10:12:44.101 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicauthentication] Refreshing token
2024-09-26 10:12:44.999 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Access token is valid
2024-09-26 10:12:44.999 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.ccappversion] Fetching latest app version from play store
2024-09-26 10:12:45.003 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Saved settings to '/root/.panasonic-settings'
2024-09-26 10:12:45.281 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.ccappversion] Found app version: 1.21.1
2024-09-26 10:12:45.286 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Saved settings to '/root/.panasonic-settings'
2024-09-26 10:12:46.175 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"a2wStatus":{"statusCode":200},"uiFlg":false,"groupCount":1,"groupList":[{"groupId":1552406,"groupName":"My House","pairingList":[],"deviceList":[{"deviceGuid":"B123456789","deviceType":"2","deviceName":"Doma","connectionStatus":0,"operationMode":1,"zoneStatus":[{"zoneId":1,"operationStatus":0,"temperature":0},{"zoneId":2}],"tankStatus":{"operationStatus":1,"temperature":50}}]}]}
2024-09-26 10:12:46.175 WARNING (MainThread) [custom_components.panasonic_cc.pcomfortcloud.apiclient] Found 1 unknown device(s):
{"deviceGuid": "B123456789", "deviceType": "2", "deviceName": "Doma", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 0, "temperature": 0}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 50}}
Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310
2024-09-26 10:12:46.354 WARNING (MainThread) [custom_components.panasonic_cc.pcomfortcloud.apiclient] Failed to get aquarea device info for B123456789
Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 121, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 186, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'
2024-09-26 10:12:46.377 DEBUG (MainThread) [custom_components.panasonic_cc.config_flow] Not devices found

@akc-kyiv
Copy link

akc-kyiv commented Oct 6, 2024

Another log for Aquarea Heat Pump

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:118
integration: Panasonic Comfort Cloud ([documentation](https://github.com/sockless-coding/panasonic_cc/), [issues](https://github.com/sockless-coding/panasonic_cc/issues))
First occurred: 14:37:40 (2 occurrences)
Last logged: 14:39:15
Found 1 unknown device(s): {"deviceGuid": "B625308938", "deviceType": "2", "deviceName": "\u0422\u041d", "connectionStatus": 0, "operationMode": 2, "zoneStatus": [{"zoneId": 1, "operationStatus": 0, "temperature": 14}, {"zoneId": 2, "operationStatus": 0, "temperature": 18}], "tankStatus": {"operationStatus": 1, "temperature": 47}} Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310
Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:124
integration: Panasonic Comfort Cloud ([documentation](https://github.com/sockless-coding/panasonic_cc/), [issues](https://github.com/sockless-coding/panasonic_cc/issues))
First occurred: 14:37:40 (2 occurrences)
Last logged: 14:39:15
Failed to get aquarea device info for B625308938 Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310

Traceback (most recent call last):
  File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea
    aqua_device = await self.get_aquarea_device(device)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device
    device_id = id_response.cookies.get("selectedDeviceId").value
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

@panmanvk
Copy link

panmanvk commented Oct 6, 2024

Home assistant give me the following errors:

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:118
integration: panasonic_cc (documentation, issues)
First occurred: 11:19:51 PM (2 occurrences)
Last logged: 11:28:34 PM

Found 1 unknown device(s): {"deviceGuid": "B029605707", "deviceType": "2", "deviceName": "Casa", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 0, "temperature": 0}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 48}} Submit this log to #310

This error originated from a custom integration.

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:124
integration: panasonic_cc (documentation, issues)
First occurred: 11:19:51 PM (2 occurrences)
Last logged: 11:28:34 PM

Failed to get aquarea device info for B029605707 Submit this log to #310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

Thanks

@DavidMenting
Copy link

For a WH-MDC09J3E5 air to water heatpump I get the following response:

Found 1 unknown device(s): {"deviceGuid": "B967354086", "deviceType": "2", "deviceName": "Pana 9kW", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 18}, {"zoneId": 2}], "tankStatus": {}} Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310

@bauwelp-awv
Copy link

WH-SDC0709J3E5 air to water heatpump

Found 1 unknown device(s): {"deviceGuid": "B216834177", "deviceType": "2", "deviceName": "Koralowa", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 25}, {"zoneId": 2}], "tankStatus": {"operationStatus": 0, "temperature": 50}}

@nianj
Copy link

nianj commented Oct 27, 2024

WH-SDC09H3E5 + WH-UD09HE5 (one is the name of the outside unit, the other the unit inhouse. I don't know which is relevant for you)

Found 1 unknown device(s): {"deviceGuid": "B560329121", "deviceType": "2", "deviceName": "Aquarea 9k", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 0}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 52}} Submit this log to #310

@c4weddell
Copy link

c4weddell commented Oct 31, 2024

For a WH-MDC07J3E5 air to water heatpump I get the following response:

Found 1 unknown device(s): {"deviceGuid": "B156470826", "deviceType": "2", "deviceName": "Our ASHP", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 0}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 55}} Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310

Failed to get aquarea device info for B156470826 Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310 Traceback (most recent call last): File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea aqua_device = await self.get_aquarea_device(device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device device_id = id_response.cookies.get("selectedDeviceId").value ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'value'

@SirGorn
Copy link

SirGorn commented Nov 3, 2024

Panasonic Aquarea M heat pump

Found 1 unknown device(s): {"deviceGuid": "B084363150", "deviceType": "2", "deviceName": "Panas M", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 29}, {"zoneId": 2}], "tankStatus": {"operationStatus": 0, "temperature": 45}}

@jakubdusek
Copy link

For B635717730 i get this logs.

This error originated from a custom integration.

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:124
integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 1:03:29 PM (1 occurrences)
Last logged: 1:03:29 PM

Failed to get aquarea device info for B635717730 Submit this log to #310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

and

This error originated from a custom integration.

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:118
integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 1:03:29 PM (1 occurrences)
Last logged: 1:03:29 PM

Found 1 unknown device(s): {"deviceGuid": "B635717730", "deviceType": "2", "deviceName": "U Du\u0161k\u016f", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 0}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 53}} Submit this log to #310

@KrzysztofMaciejewski
Copy link

Hi - no devices problem - please help :)

log:
2024-11-09 13:42:51.588 WARNING (MainThread) [custom_components.panasonic_cc.pcomfortcloud.apiclient] Found 1 unknown device(s): {"deviceGuid": "B194694239", "deviceType": "2", "deviceName": "S31", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 0}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 45}} Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310 2024-11-09 13:42:51.751 WARNING (MainThread) [custom_components.panasonic_cc.pcomfortcloud.apiclient] Failed to get aquarea device info for B194694239 Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310 Traceback (most recent call last): File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea aqua_device = await self.get_aquarea_device(device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device device_id = id_response.cookies.get("selectedDeviceId").value ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'value'

@pvameln
Copy link

pvameln commented Nov 13, 2024

No Device found by Login

Found 1 unknown device(s): {"deviceGuid": "B306587586", "deviceType": "2", "deviceName": "WP_Aquarea", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 1}, {"zoneId": 2}], "tankStatus": {}} Submit this log to #310

Second Warning

Failed to get aquarea device info for B306587586 Submit this log to #310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

@dneimanis
Copy link

Unable to add integration, getting this in the logs:

This error originated from a custom integration.

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:118
integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 14:52:06 (7 occurrences)
Last logged: 20:06:11

Found 1 unknown device(s): {"deviceGuid": "B328033601", "deviceType": "2", "deviceName": "Heat pump", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 22}, {"zoneId": 2}], "tankStatus": {}} Submit this log to #310

@pribasv
Copy link

pribasv commented Dec 19, 2024

No devices found for Aquarea Heat Pump:

`Este error se originó a partir de una integración personalizada.

Registrador: custom_components.panasonic_cc.pcomfortcloud.apiclient
Fuente: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:124
integración: Panasonic Comfort Cloud (documentación, problemas)
Ocurrió por primera vez: 09:51:25 (2 ocurrencias)
Última vez registrado: 13:44:00

Failed to get aquarea device info for B981155477 Submit this log to #310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'`

`Este error se originó a partir de una integración personalizada.

Registrador: custom_components.panasonic_cc.pcomfortcloud.apiclient
Fuente: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:118
integración: Panasonic Comfort Cloud (documentación, problemas)
Ocurrió por primera vez: 09:51:24 (2 ocurrencias)
Última vez registrado: 13:43:59

Found 1 unknown device(s): {"deviceGuid": "B981155477", "deviceType": "2", "deviceName": "Casa", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 1, "temperature": 55}, {"zoneId": 2}], "tankStatus": {"operationStatus": 0, "temperature": 50}} Submit this log to https://github.com/sockless-coding/panasonic_cc/issues/310`

@Max6025
Copy link

Max6025 commented Jan 5, 2025

Dieser Fehler stammt von einer benutzerdefinierten Integration

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Quelle: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:124
Integration: Panasonic Comfort Cloud (Dokumentation, Probleme)
Erstmals aufgetreten: 15:49:23 (3 Vorkommnisse)
Zuletzt protokolliert: 15:51:39

Failed to get aquarea device info for B926575037 Submit this log to #310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 124, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 189, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

@pablo-cascales
Copy link

Este error se originó a partir de una integración personalizada.

Registrador: custom_components.panasonic_cc.pcomfortcloud.apiclient
Fuente: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:123
integración: Panasonic Comfort Cloud (documentación, problemas)
Ocurrió por primera vez: 04:09:25 (2 ocurrencias)
Última vez registrado: 04:10:55

Found 1 unknown device(s): {"deviceGuid": "B933913411", "deviceType": "2", "deviceName": "Aquarea", "connectionStatus": 0, "operationMode": 1, "zoneStatus": [{"zoneId": 1, "operationStatus": 0, "temperature": 23}, {"zoneId": 2}], "tankStatus": {"operationStatus": 1, "temperature": 48}} Submit this log to #310

@flix4f
Copy link

flix4f commented Jan 10, 2025

Logfile for an Aquarea AIO:

This error originated from a custom integration.

Logger: custom_components.panasonic_cc.pcomfortcloud.apiclient
Source: custom_components/panasonic_cc/pcomfortcloud/apiclient.py:129
integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: January 9, 2025 at 2:40:13 PM (1 occurrences)
Last logged: January 9, 2025 at 2:40:13 PM

Failed to get aquarea device info for a2w37815 Submit this log to #310
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 129, in check_aquarea
aqua_device = await self.get_aquarea_device(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/apiclient.py", line 194, in get_aquarea_device
device_id = id_response.cookies.get("selectedDeviceId").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

@sockless-coding
Copy link
Owner Author

Give version 2025.1.1 a try I've added basic support for Aquarea devices.
Since I don't have access to a Aquarea device myself, I would like to get some feedback if it's working.

@flix4f
Copy link

flix4f commented Jan 13, 2025

After the 2025.1.2 update the Aquarea device is found and appears with three entities. Climate, Water heater and Temperature outside sensor. Also no problems with the other integration that I was already running (Comfort Cloud). Neither one seems to log out the other one.
Similar to the previous integration, the device becomes unavailable from time to time, which I assume has to do with a timed logout from the cloud service.
image

@pkaras62a
Copy link

Most of the time the climate entities settings on aquarea heat pump have no effect, even when changed, they revert back after refreshing. Despite enabling debug log, this is the only info:
2025-01-13 22:58:25.813 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Finished fetching Aquarea Device Coordinator data in 0.805 seconds (success: True)

@pkaras62a
Copy link

And an attempt to use Panasonic Comfort Cloud app on a mobile gives these entries immediately in the log:

2025-01-13 23:16:15.382 WARNING (MainThread) [aioaquarea] <aioaquarea.core.Client object at 0x7f9e66eca660>: Auth Error: 1001-0001 - You have been logged out due to inactivity. Please log in again..
2025-01-13 23:16:15.382 WARNING (MainThread) [aioaquarea] <aioaquarea.core.Client object at 0x7f9e66eca660>: Trying to login again.

Seems like integration session is logged out when the app session logs in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests