Skip to content

TP-Link Smart Home: Cameras constantly lose authentication. Reauthenticate sporadically #135596

Open
@warthog10

Description

The problem

Using the TP-Link integration I have loaded four (4) C120 Cameras and one (1) C520WS Camera easily enough; however, on a daily basis I receive a notification that "Integration requires reconfiguration At least one of your integrations requires reconfiguration to continue functioning. [Check it out]" When I check the Settings page, I will have one or more of the cameras listed for repair that say "Authentication expired for C120" with being what I have named the camera based on its location in the house. I can load my Username and Password on the first camera I click on, but it will not allow me to update any others. When I click on them, I receive the message "Config flow could not be loaded: {"message":"Invalid flow specified"}." Looking at the integration documentation, I know the C120 camera is not listed as supported, but they have been working previously. Also, the C520WS is supported, and it is one of the cameras that is experiencing this issue.

What version of Home Assistant Core has the issue?

core-2025.1.2

What was the last working version of Home Assistant Core?

core-2025.1.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

TP-Link Smart Home

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tplink

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: config_entries.py:668
First occurred: 7:45:25 AM (4 occurrences)
Last logged: 7:45:25 AM

Config entry 'Garage C120' for tplink integration could not authenticate: Invalid password hash in handshake2 for 192.168.##.##
Config entry 'Backyard C520WS' for tplink integration could not authenticate: Invalid password hash in handshake2 for 192.168.##.##
Config entry 'Front Porch C120' for tplink integration could not authenticate: Invalid password hash in handshake2 for 192.168.##.##
Config entry 'Right Side C120' for tplink integration could not authenticate: Invalid password hash in handshake2 for 192.168.##.##

Logger: kasa.transports.sslaestransport
Source: components/tplink/coordinator.py:49
First occurred: 7:46:10 AM (13 occurrences)
Last logged: 8:04:12 AM

Device 192.168##.## received unknown error code: -40214
Device 192.168.##.## received unknown error code: -40214
Device 192.168.##.## received unknown error code: -40214
Device 192.168.##.## received unknown error code: -40214
Device 192.168.##.## received unknown error code: -40214

Logger: homeassistant.components.tplink.entity
Source: components/tplink/entity.py:226
integration: TP-Link Smart Home (documentation, issues)
First occurred: 7:46:15 AM (13 occurrences)
Last logged: 8:04:13 AM

Bad logger message: 'SmartErrorCode' object is not subscriptable
Unable to read data for <DeviceType.Camera at 192.168.##.## - Front Porch (C120)> switch.front_porch_baby_cry_detection: Error accessing module data in BabyCryDetection (error_code=INTERNAL_QUERY_ERROR)
Unable to read data for <DeviceType.Camera at 192.168.##.## - Garage (C120)> switch.garage_baby_cry_detection: Error accessing module data in BabyCryDetection (error_code=INTERNAL_QUERY_ERROR)
Unable to read data for <DeviceType.Camera at 192.168.##.## - Driveway (C120)> switch.driveway_baby_cry_detection: Error accessing module data in BabyCryDetection (error_code=INTERNAL_QUERY_ERROR)
Unable to read data for <DeviceType.Camera at 192.168.##.## - Right Side (C120)> switch.right_side_baby_cry_detection: Error accessing module data in BabyCryDetection (error_code=INTERNAL_QUERY_ERROR)

Additional information

No response

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions