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

two-factor authentication #121

Open
ultimo678 opened this issue Nov 6, 2024 · 20 comments
Open

two-factor authentication #121

ultimo678 opened this issue Nov 6, 2024 · 20 comments

Comments

@ultimo678
Copy link

I updated HA and strangely after the update the integration lost the connection to the panasonic cloud.
I entered the credentials as usual but strangely the procedure didn't work.
Connected through the aquarea-smart.panasonic.com website and I see that it now asks for two-factor authentication to log in. Could this be why I can't connect with the integration? How can I solve it?
Thanks in advance.

@SP2FET
Copy link

SP2FET commented Nov 6, 2024

I also noticed this issue, but I was not updating anything - unable to login via integration, but able to login via webpage with 2FA.
Here's log output from HA:

2024-11-06 09:23:02.698 ERROR (MainThread) [custom_components.aquarea.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/aquarea/config_flow.py", line 144, in _validate_input
await self._api.login()
File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 274, in login
await self.__login_production()
File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 334, in __login_production
csrf = response.cookies.get("_csrf").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

@vukisz
Copy link

vukisz commented Nov 6, 2024

Same for started happening for "Panasonic Comfort Cloud" AC integration: sockless-coding/panasonic_cc#331
Most interesting is post of owner with a panasonic changes: sockless-coding/panasonic_cc#331 (comment)
Probably this issue comes from supporting library: https://github.com/cjaliaga/home-assistant-aquarea

@sokrates209
Copy link

Same here. Just stop working and app is asking for 2FA each time I log in.
image
image

@develvic
Copy link

develvic commented Nov 6, 2024

Similar on my side:
2024-11-06 10:59:48.446 ERROR (MainThread) [custom_components.aquarea.config_flow] Unexpected exception Traceback (most recent call last): File "/config/custom_components/aquarea/config_flow.py", line 144, in _validate_input await self._api.login() File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 274, in login await self.__login_production() File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 334, in __login_production csrf = response.cookies.get("_csrf").value ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'value' 2024-11-06 11:00:04.939 ERROR (MainThread) [custom_components.aquarea.config_flow] Unexpected exception Traceback (most recent call last): File "/config/custom_components/aquarea/config_flow.py", line 144, in _validate_input await self._api.login() File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 274, in login await self.__login_production() File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 334, in __login_production csrf = response.cookies.get("_csrf").value ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'value'

@Szakiati
Copy link

Szakiati commented Nov 6, 2024

Same issue :(

@amaretto4u
Copy link

same here

This error originated from a custom integration.

Logger: custom_components.aquarea.config_flow
Source: custom_components/aquarea/config_flow.py:144
integration: Aquarea Smart Cloud (documentation, issues)
First occurred: 11:27:57 (1 occurrences)
Last logged: 11:27:57

Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/aquarea/config_flow.py", line 144, in _validate_input
await self._api.login()
File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 274, in login
await self.__login_production()
File "/usr/local/lib/python3.12/site-packages/aioaquarea/core.py", line 334, in __login_production
csrf = response.cookies.get("_csrf").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

@mirddin
Copy link

mirddin commented Nov 6, 2024

another vendor "improvement" :(

@dberschneider
Copy link

Same here. While the login to the Smart Cloud is wonky and barely working, Service Cloud is fortunately still working.

@Andkago
Copy link

Andkago commented Nov 6, 2024

1 up

@agnarvold
Copy link

Same here. While the login to the Smart Cloud is wonky and barely working, Service Cloud is fortunately still working.

Are you using "service cloud" with a heatpump-system? I have successfully created a service cloud account myself, but I have an installer watching my system, and I am not able to add my system on service cloud (I suppose it is only possible with 1 service cloud account watching/controlling a system..?). I was in contact with panasonic and they said service cloud is for installers only and not end-user.

@dberschneider
Copy link

Are you using "service cloud" with a heatpump-system? I have successfully created a service cloud account myself, but I have an installer watching my system, and I am not able to add my system on service cloud (I suppose it is only possible with 1 service cloud account watching/controlling a system..?). I was in contact with panasonic and they said service cloud is for installers only and not end-user.

I don't have an active installer and registered myself as an installer.

@Poziomkowy
Copy link

I don't know what happened, but integration is working properly again.

@develvic
Copy link

develvic commented Nov 6, 2024 via email

@vukisz
Copy link

vukisz commented Nov 6, 2024

Yep started working for me also.
panasonic_cc (air conditioning) still does not work

@sokrates209
Copy link

Confirmed, started working for heat pump after HA restart

@develvic
Copy link

develvic commented Nov 6, 2024 via email

@cjaliaga
Copy link
Owner

cjaliaga commented Nov 6, 2024

Hello everyone, thanks for reporting it! It looks again a temporary outage from the auth system that has been resolved 🥲.

@fatmacheto
Copy link

Maybe this is related but since this morning I start receiving hundreds of emails that I login to the Panasonic accounts ….

IMG_5438
IMG_5439

@amaretto4u
Copy link

Confirm. Working normally again.

@viliusdidit
Copy link

can also confirm it stared working again. did receive 300 emails this morning, made a mistake by setting up 2fa.
looks like Panasonic backtracked the 2fa/blocking. was able to login using just email/password in incognito browser.

btw, started looking into apple/google login which might be a long term solution to have as a fallback. Anyone familiar enough to hell out implement these? maybe separate thread is better for this subj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests