-
Notifications
You must be signed in to change notification settings - Fork 95
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
Invalid authentication data #834
Comments
It started to work. No idea why. I tried various other options, also refreshed the webpage of HA and it stopped throwing those errors and started to work. Weird. |
OK again doesn't work, didn't change anything, just added an entity in the dashboard. |
I went on the device page, where you get all the entities of the Tapo Control camera, there I've changed and it first didn't work (same error) then it started to work. It's random, I can't see any pattern. |
The error codes are not described and we do not know what that specific error code is for. It is possible it’s not always able to activate the night vision mode for some reason. Authentication related message is probably related to camera being overloaded or buggy, see faq on that. I would not focus on that when figuring this out. |
Interesting, like it was getting/sending "" at some point instead of auto|on|off.
|
I get the same error, while not even trying to change something, with a vast increase of "authentication has expired" notifications - multiple times a day
|
@BambamNZ what is everything that is using the camera? Any scrypted, go2rtc, other HA integrations etc? |
I have 4 camera's and one 1 automation associated with one of the cameras, only integrations are the the Tapo: Camera Control & TP-Link Smart Home then used to display the Video Stream on a Dashboard card, that wasn't active / open during the time the errors was logged. The Automation wasn't triggered during that time either. Since my first post and this post the count has increased by 5 occurrences
I'm getting a array of error messages from the cameras - this all in the last 30 or so minutes |
Remove camera from TP-Link Smart Home. This is documented here https://github.com/JurajNyiri/HomeAssistant-Tapo-Control?tab=readme-ov-file#usage
|
Done, removed them from TP-Link Smart Home - Thank you for the advice Update - After 12+ hours no error messages, issues resolved for me - Thanks |
Description
I get a invalid authentication data error while changing Night Vision Switching on a C210 camera. If I enter the wrong cloud password in the configuration of the camera it doesn't allow me to save, so I know it's the right password, as it allowed me to save the configuration.
2025-01-22 10:28:26.923 ERROR (MainThread) [custom_components.tapo_control] Unexpected error fetching Tapo resource status data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 280, in _async_update_data return await self.update_method() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/tapo_control/__init__.py", line 614, in async_update_data raise e File "/config/custom_components/tapo_control/__init__.py", line 552, in async_update_data updateDataForAllControllers[controller] = await getCamData( ^^^^^^^^^^^^^^^^^ hass, controller ^^^^^^^^^^^^^^^^ ) ^ File "/config/custom_components/tapo_control/utils.py", line 723, in getCamData data = await hass.async_add_executor_job(controller.getMost) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.13/site-packages/pytapo/__init__.py", line 2152, in getMost results = self.performRequest(requestData) File "/usr/local/lib/python3.13/site-packages/pytapo/__init__.py", line 618, in performRequest self.refreshStok() ~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/pytapo/__init__.py", line 464, in refreshStok raise Exception("Invalid authentication data") Exception: Invalid authentication data
Reproduction Steps
Expected behavior
I expected for the mode to be changed and to not throw any errors.
If applicable, add error logs.
No response
Device Firmware
1.4.4 Build 241211 Rel.42339n
Integration Version
6.0.9
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker
Search for similar issues
Yes
Additional information
No response
The text was updated successfully, but these errors were encountered: