Skip to content

Invalid cloud password / Invalid authentication data after HA 2026.6.0 and recent Tapo firmware updates #1320

@marcobto58

Description

@marcobto58

Description

Description

After recent updates, multiple Tapo cameras stopped authenticating in Tapo Camera Control.

The issue was noticed on the same morning Home Assistant was upgraded to 2026.6.0. One camera also received a recent firmware upgrade.

It is unclear whether this is caused by:

  • recent Tapo firmware authentication changes
  • Home Assistant 2026.6.0
  • Python 3.14
  • pytapo / python-kasa dependency behavior

Environment

  • Home Assistant Core: 2026.6.0
  • Tapo Camera Control: 7.1.14
  • pytapo: 3.4.14
  • python-kasa: 0.10.2
  • Installation: Docker
  • Python: 3.14

Affected cameras

Tapo C510W

Firmware: 1.3.4 Build 260523 Rel.33481n

Tapo C100

Firmware: 1.4.4 Build 260303 Rel.5638n

Symptoms

  • Tapo mobile app works normally.
  • RTSP works.
  • ONVIF works.
  • Cameras are reachable from the Home Assistant host.
  • Open ports: 443, 554, 1024, 2020, 8443, 8800.
  • Re-adding the camera fails with:

Invalid cloud password

Relevant log

Exception: Invalid authentication data

Traceback points to:

pytapo.transport.pytapo.pytapo._refreshStok()

Troubleshooting already performed

  • Removed and re-added cameras in Tapo app.
  • Recreated camera accounts.
  • Enabled Third-Party Compatibility.
  • Restarted cameras.
  • Reinstalled integration.
  • Verified LAN connectivity with nmap.
  • Verified pytapo version 3.4.14.
  • Verified python-kasa version 0.10.2.

Additional context

This may be related to issue #551, but this case involves Home Assistant Core 2026.6.0, Python 3.14, pytapo 3.4.14 and two different Tapo camera models.

Reproduction Steps

  1. Upgrade Home Assistant Core to 2026.6.0.
  2. Ensure Tapo Camera Control 7.1.14 and pytapo 3.4.14 are installed.
  3. Use a Tapo C510W running firmware 1.3.4 Build 260523 Rel.33481n or a Tapo C100 running firmware 1.4.4 Build 260303 Rel.5638n.
  4. Open Devices & Services and add the camera through Tapo Camera Control.
  5. Enter valid cloud account credentials and camera account credentials.
  6. Complete configuration.

Expected result:
Camera is added successfully.

Actual result:
Configuration fails with "Invalid cloud password".

Logs contain:
Exception: Invalid authentication data

Traceback points to:
pytapo.transport.pytapo.pytapo._refreshStok()

Expected behavior

The camera should authenticate successfully and be added to Home Assistant through Tapo Camera Control using valid credentials.

The integration worked previously with the same cameras and network configuration.

If applicable, add error logs.

Exception: Invalid authentication data

Traceback points to:

pytapo.transport.pytapo.pytapo._refreshStok()

Additional errors observed:

HTTPSConnectionPool(host='192.168.100.182', port=443):
Max retries exceeded with url: /
(Caused by NewConnectionError:
Failed to establish a new connection: [Errno 111] Connection refused)

Device Firmware

C510W: 1.3.4 Build 260523 Rel.33481n C100: 1.4.4 Build 260303 Rel.5638n

Integration Version

7.1.14

Last known working integration version

Unknown - issue appeared after firmware and/or Home Assistant update

Using stream component

Yes

Does camera work via official integrations?

Yes

HASS Environment

Docker on ubuntu 24.04 lts

Search for similar issues

Yes

Additional information

No response

Debug Logs (Required)

Tapo C510W (192.168.100.182)

2026-06-05 08:27:52
ERROR [custom_components.tapo_control]

HTTPSConnectionPool(host='192.168.100.182', port=443):
Max retries exceeded with url: /
(Caused by NewConnectionError(
HTTPSConnection(host='192.168.100.182', port=443):
Failed to establish a new connection:
[Errno 111] Connection refused
))

2026-06-05 08:28:44
ERROR [custom_components.tapo_control]
Unexpected error fetching Tapo resource status data

Traceback:

urllib3.exceptions.MaxRetryError:
HTTPSConnectionPool(host='192.168.100.182', port=443)

requests.exceptions.ConnectionError:
HTTPSConnectionPool(host='192.168.100.182', port=443)

File "/usr/local/lib/python3.14/site-packages/pytapo/transport/pytapo/pytapo.py", line 565
if self._isSecureConnection()

2026-06-05 10:02:51
ERROR [custom_components.tapo_control]
Unexpected error fetching Tapo resource status data

File "/usr/local/lib/python3.14/site-packages/pytapo/transport/pytapo/pytapo.py", line 763

Exception: Invalid authentication data

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