JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
947 stars 80 forks source link

Authetification problem #574

Closed Frazou1 closed 1 month ago

Frazou1 commented 1 month ago

Description

My integration tapo stop working

Reproduction Steps

Try to reauthentified in the integration and receive error : Invalid cloud password. Make sure you are entering the password for your cloud account and NOT the password which you created via the camera settings (unless they are the same). You need to enter password which you used with your email when signing into the Tapo app.

Expected behavior

The integration work

If applicable, add error logs.

2024-05-24 10:56:11.154 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Showing config flow for reauth - cloud. 2024-05-24 10:56:12.717 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Testing control of camera using Cloud Account. 2024-05-24 10:56:12.717 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Refreshing stok... 2024-05-24 10:56:12.718 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] New request: 2024-05-24 10:56:12.718 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-05-24 10:56:13.565 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] 200 2024-05-24 10:56:13.565 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-05-24 10:56:13.566 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Connection is secure. 2024-05-24 10:56:13.566 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] New request: 2024-05-24 10:56:13.566 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-05-24 10:56:14.162 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] 200 2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Status code: 200 2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Processing secure response. 2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Validating device confirm. 2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Incorrect device_confirm value, raising Exception. 2024-05-24 10:56:14.164 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Invalid cloud password provided. 2024-05-24 10:56:14.164 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Showing config flow for reauth - cloud.

Device Firmware

1.39

Integration Version

5.4.18

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HA Appliance

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 1 month ago

This issue was automatically closed because it is a duplicate.

The issue you are searching for:

And a warning was sent a month ago as an update via HACS.

You can find it at https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551.

Please do not post me too comments or any other comment that does not provide any value to the discussion as everyone monitoring it gets notified. If the comments with no value continue maintainer will be forced to lock the issue to contributors only.

JurajNyiri commented 1 month ago

We have a bot now 👍 .

Screenshot 2024-05-24 at 18 15 53