-
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
Camera needs to be reconfigured when Home Assistant restarts #453
Comments
Are the other cameras using the new firmware as well? |
No. 2 are on 1.3.7, the third on 1.3.2 |
Come to think of it, problem occurred after update, a couple of days ago |
Try to factory reset the camera and remove and add to ha. Does the problem still happen? |
I 'll give it a go tomorrow and will provide feedback |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
hello, I have the same problem with my two c210 cameras on the latest firmware 1.3.9 with the latest version available under hacs from tapo control |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
I have the same issue with FW 1.3.9. Not sure it's the correct log row though. |
Did that, problem still there. Has to be a firmware issue. |
Is it possible to downgrade the camera firmware? |
Hello, |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ryann72 you are overloading the camera. It supports max 2 concurrent streams. This topic is not for your issue and it is not integration issue at all. |
@joebar38 |
On my part, it happens when home assistant starts |
I will need a camera with ports 443 and 554 port forwarded along with all credentials so that I can debug this as I do not currently own camera with this firmware. Contact me via [email protected]. |
Sometimes AT start, but frequently some Time running as well |
This comment was marked as off-topic.
This comment was marked as off-topic.
you can try factory reset |
I already tried. I also completely removed the integration and completely reconfigured, but same problem |
I just factory reset it but the same firmware 1.3.9 is still there, this error started today or yesterday for me.
It was working fine with the Firmware: 1.3.7 Build 230823 Rel.55314n(4555), we better leave the auto update disabled for sure. |
Make sure you update the "Tapo: cameras control" to the latest version 5.4.4. I had version 5.1 (manuall install, not by HACS). |
Error this morning without reboot during night : |
I have 4 camera C200 and 2 camera c310. With the last firware 1.3.7 no problem. Since the c200 camera update to 1.3.9 i also have problems and need to reconfigure and sometimes to disconnect the power off one or other camera. So i decide to wait for upgarding the firware of the c310 camera. Problems arrive sometimes when HA reboot or sometimes when it is runnnig since a few days. i don't detect a specific action for having the problem. |
I was already on 5.4.4 version when the problem occurred with fw 1.3.9 |
This comment was marked as off-topic.
This comment was marked as off-topic.
I received the update today and my C200 v3.0 works flawlessly (even with 2 HA instances hitting it at the same time!) so far (few minutes :-) ). I will keep it running and see if I notice anything suspicious. Unless someone else can find the issue, as I said yesterday, I will need a camera with ports 443 and 554 port forwarded along with all credentials so that I can debug this as I do not currently own camera experiencing this issue. Contact me via [email protected]. Further comments "me too" providing no new information will be hidden. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Upgrade to 5.4.6. Add following to configuration.yaml:
Post full log in case of an error. If you see |
Another error for me with 5.4.6 :
|
@JurajNyiri I have just emailed over to you a couple of log traces
Hopefully this helps, I have the full log files but they were massive so I tried scoping them down to roughly the interesting area, but let me know if you need anything more. Going to disable debug logging for now as it's writing a ton. Note that restarting Home Assistant seems to temporarily mitigate the issue, as does re-authing, but it comes back. No results in log for |
Thank you, I will need to add more logs into pytapo to find the reason of "Invalid authentication data" as from these logs it could be either https://github.com/JurajNyiri/pytapo/blob/main/pytapo/__init__.py#L408 or https://github.com/JurajNyiri/pytapo/blob/main/pytapo/__init__.py#L389 or even https://github.com/JurajNyiri/pytapo/blob/main/pytapo/__init__.py#L317 in theory. |
Please download and install https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/pytapo_3.3.12 manually. Add following to configuration.yaml:
Post full log in case of an error, now we will know what exactly happened during auth. |
I wasn't too sure how to install the custom version and I don't have direct file access so I applied the changes in this commit in the folder in custom_components and restarted Home Assistant (with the debug logging back on) Hopefully that does the job but not too sure how HA installs python dependencies for custom components |
That should do it! It installs from manifest.json*, if you did the change *Except some unsupported setups users are running where the pytapo version can be older and it does not install automatically... that is why I added the check recently. |
Yep I did that change as well, and it's up and currently working - so fingers crossed! I'll hang tight for it to request re-auth again and pop over the logs as before, might be tomorrow we'll see how fast it comes up. |
This comment was marked as duplicate.
This comment was marked as duplicate.
@JurajNyiri we've had two cameras (out of 3) fail overnight, I've sent over hopefully the relevant parts of the logs - let me know if you need anything else! |
Thank you @MattJeanes ! It looks like it is failing with -40413: INVALID_NONCE I will put in additional refresh and lets see if it solves the issue. |
@MattJeanes Please download and install https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/fix_453 manually. (Change pytapo references to Add following to configuration.yaml:
Please share logs in case of issue persisting or confirm if the issue is no longer present. Edit: Added one more area for retry that I encountered during resolving unrelated issue, use 3.3.15. |
Applied pytapo 3.3.15 and rebooted now - I'll let you know! If it doesn't do it within 2 days then that's probably done it :) |
Oh no, it blew up already! I've sent over the full log since startup although I think I accidentally disabled the debug logging before I went through the re-auth flow again, some interesting errors from that too right at the bottom. |
|
Fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.8. If not, we will reopen. |
I still have the problem with version 5.4.8. After a certain amount of time, I have no stream from the camera (C200, hw 1.0, firmware 1.3.9). Problem can be solved only by rebooting the camera and reintroducing the credentials in HA. |
This issue solves control issues, not stream. Read FAQ for stream issue. |
I'm on 5.4.8 now and still been getting issues and I've managed to grab some more debug level logs. I can see that there is 5.4.10 out now which I'm just updating to now, but I thought I'd send them over anyway in case they are useful to you. I'll let you know if I see anything further on 5.4.10. |
Hello @ All, i need your help :) i cant see and configure a live view from my tapo doorbell d230s1 hub h200 is with the ethernet cable wired to the fritzbox... |
Description
Using 4 tapo C310 cameras. 3 are working great. Fourth needs to be reconfigured every time ha restarts. Camera uses firmware 1.3.9 and it's hardware version 1.0. All 4 cameras using same credentials.
Reproduction Steps
Expected behavior
Work with no need of reconfiguration
If applicable, add error logs.
Logger: homeassistant.config_entries
Source: config_entries.py:426
First occurred: 8:10:06 PM (1 occurrences)
Last logged: 8:10:06 PM
Config entry '192.168.1.49' for tapo_control integration could not authenticate: Invalid authentication data
This error originated from a custom integration.
Logger: custom_components.tapo_control
Source: custom_components/tapo_control/init.py:760
Integration: Tapo: Cameras Control (documentation, issues)
First occurred: 8:10:06 PM (1 occurrences)
Last logged: 8:10:06 PM
Unable to connect to Tapo: Cameras Control controller: Invalid authentication data
Device Firmware
1.3.9 Build 231024 Rel. 73362n(4555)
Integration Version
5.4.4
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
HAOS bare metal x86
Search for similar issues
Yes
Additional information
No response
The text was updated successfully, but these errors were encountered: