Skip to content

Authentification not possible since today #1368

Description

@lweberru

Description

I can no longer authenticate myself with my cloud account. During reconnection I am getting:


Camera requires your cloud password for control.
This is the password which you used with your email when signing into the Tapo app.
Ensure you have Third-Party compatibility turned on in Tapo App (Me -> Tapo Lab -> Third-Party Compatibility - On).

Tapo Care paid subscription is not required.
Unless you used the same password for cloud as for your Camera account, this password is not the same.
Email is not needed and all communication is still fully local. 
Ungültiges Cloud-Passwort. Stelle sicher, dass du das Passwort für dein Cloud-Konto eingibst und NICHT das Passwort, das du in den Kameraeinstellungen erstellt hast (es sei denn, sie sind identisch). Du musst das Passwort eingeben, das du zusammen mit deiner E-Mail-Adresse bei der Anmeldung in der Tapo App verwendet hast. Stelle sicher, dass die Kompatibilität mit Drittanbietern in der Tapo App aktiviert ist (Ich -> Tapo Labor -> Kompatiblität mit Drittanbietern - Aktiviert).

I double checked the third party config setting and I can login to the tado app, using the same credentials.

I already restarted the camera.

Regards
Lukas

Reproduction Steps

Nothing special

Expected behavior

Integration connects and loads the camera.

If applicable, add error logs.

Logfile says:

2026-07-07 12:27:05.881 ERROR (MainThread) [custom_components.tapo_control] Invalid authentication data
2026-07-07 12:41:17.988 ERROR (MainThread) [custom_components.tapo_control] Authentication to Tapo camera failed. Please restart the camera and try again.
  File "/config/custom_components/tapo_control/utils.py", line 1996, in update_listener

Device Firmware

1.9.2 Build 260519 Rel.13997n

Integration Version

7.1.2.4

Last known working integration version

7.1.2.4

Using stream component

Yes

Does camera work via official integrations?

Yes

HASS Environment

Docker

Search for similar issues

Yes

Additional information

No response

Debug Logs (Required)

.
2026-07-07 14:55:11.939 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Showing config flow for reauth - cloud.
2026-07-07 14:55:13.580 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Testing control of camera using Cloud Account.
2026-07-07 14:55:13.581 DEBUG (SyncWorker_46) [custom_components.tapo_control] Creating Tapo controller with transport method None.
2026-07-07 14:55:13.581 DEBUG (SyncWorker_46) [custom_components.tapo_control] [pytapo] _isKLAP: Finding out whether device is KLAP...
2026-07-07 14:55:13.700 DEBUG (SyncWorker_46) [custom_components.tapo_control] [pytapo] _isKLAP: Device is not KLAP: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2026-07-07 14:55:13.700 DEBUG (SyncWorker_46) [custom_components.tapo_control] [pytapo] Transport method determined: pytapo
2026-07-07 14:55:13.700 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Refreshing stok...
2026-07-07 14:55:13.700 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] _isSecureConnection called
2026-07-07 14:55:13.700 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] secure connection is not cached
2026-07-07 14:55:13.700 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Checking for secure connection...
2026-07-07 14:55:13.701 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] New request:
2026-07-07 14:55:13.701 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin', 'cnonce': 'REDACTED'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'keep-alive', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2026-07-07 14:55:13.945 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Response status code: 200
2026-07-07 14:55:13.945 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Response:
2026-07-07 14:55:13.945 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] {'error_code': -40211}
2026-07-07 14:55:13.946 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Connection is insecure.
2026-07-07 14:55:13.946 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] New request:
2026-07-07 14:55:13.946 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'hashed': True, 'password': 'REDACTED', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'keep-alive', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2026-07-07 14:55:14.164 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Response status code: 200
2026-07-07 14:55:14.164 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Response:
2026-07-07 14:55:14.164 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] {'error_code': -40211}
2026-07-07 14:55:14.164 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Status code: 200
2026-07-07 14:55:14.164 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] _isSecureConnection called
2026-07-07 14:55:14.164 DEBUG (SyncWorker_57) [custom_components.tapo_control] [pytapo] Unexpected response (-40211), raising Exception: {'error_code': -40211}
2026-07-07 14:55:14.164 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Invalid cloud password provided.
2026-07-07 14:55:14.164 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Showing config flow for reauth - cloud.
2026-07-07 14:55:16.232 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Testing control of camera using Cloud Account.
2026-07-07 14:55:16.233 DEBUG (SyncWorker_59) [custom_components.tapo_control] Creating Tapo controller with transport method None.
2026-07-07 14:55:16.233 DEBUG (SyncWorker_59) [custom_components.tapo_control] [pytapo] _isKLAP: Finding out whether device is KLAP...
2026-07-07 14:55:16.269 DEBUG (SyncWorker_59) [custom_components.tapo_control] [pytapo] _isKLAP: Device is not KLAP: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2026-07-07 14:55:16.269 DEBUG (SyncWorker_59) [custom_components.tapo_control] [pytapo] Transport method determined: pytapo
2026-07-07 14:55:16.270 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Refreshing stok...
2026-07-07 14:55:16.270 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] _isSecureConnection called
2026-07-07 14:55:16.270 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] secure connection is not cached
2026-07-07 14:55:16.270 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Checking for secure connection...
2026-07-07 14:55:16.271 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] New request:
2026-07-07 14:55:16.271 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin', 'cnonce': 'REDACTED'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'keep-alive', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2026-07-07 14:55:16.492 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Response status code: 200
2026-07-07 14:55:16.492 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Response:
2026-07-07 14:55:16.492 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] {'error_code': -40211}
2026-07-07 14:55:16.498 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Connection is insecure.
2026-07-07 14:55:16.504 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] New request:
2026-07-07 14:55:16.504 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'hashed': True, 'password': 'REDACTED', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'keep-alive', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2026-07-07 14:55:16.730 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Response status code: 200
2026-07-07 14:55:16.730 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Response:
2026-07-07 14:55:16.730 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] {'error_code': -40211}
2026-07-07 14:55:16.730 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Status code: 200
2026-07-07 14:55:16.730 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] _isSecureConnection called
2026-07-07 14:55:16.730 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] Unexpected response (-40211), raising Exception: {'error_code': -40211}
2026-07-07 14:55:16.731 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Invalid cloud password provided.
2026-07-07 14:55:16.731 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][kamera.clue.de] Showing config flow for reauth - cloud.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions