-
Notifications
You must be signed in to change notification settings - Fork 91
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
Continued Errors After HA Restart #472
Comments
Same issue here. The camera settings and network setup did not change all the time. Here are the relevant states from developer tools => states if this helps: I wonder what “restored: true” means? I had the impression that removing the cameras from the integration and adding them again gets the sensors back – but they still disappear again after a few hours. The cameras do detect motion and noise as I receive notifications from the tapo app regularly. Will be happy to provide additional information if needed. |
Just tried removing and adding the cameras with "binary_sensor.[…]_motion_alarm" and "binary_sensor.[…]_noise" shown as "unavailable". One camera (#4) has both sensors working. Removed and added the first camera and provoked noise and motion trigger: Removed and added camera 2 + 3 and trigeered motion and noise. Restarted HA: Cameras 1,3 and 4(!): both sensors "unavailable" (even after triggering the sensors multiple times. CONCLUSION:Restarting HA removes sensors that have been working fine before. |
Read FAQ in readme. |
Thanks for getting back on this. Sensors of all 4 cameras did work a couple of times, All cameras run the latest firmware version 1.3.9 Meanwhile camera #3 has both sensors back (without me doing anything). |
|
Sure, but as I said before: I triggerd motion and noise alarm on all cameras after restarting HA - to no avail. [binary_sensor.camera_eingang_motion_alarm] |
This integration reuses official onvif integration. See if it works there with no issues if you have tried everything else in the faq. You can also enable debug logs both for onvif and this integration to see what exactly is going on with onvif. |
Thanks again for the speedy reply! The debug log for the Tapo integration shows the same error for all cameras:
I will dig into the onvif logs now. |
That looks like something wrong with the environment. Try completely removing the cameras including entries for tapo_control inside .storage. Then add cameras back and it should be ok. |
Thanks, I will give that a try. Available sensors should stay available until a restart of HA, correct? |
Same problem here. Everything works for a few days then 1 of the 4 cams shows unavailable for the motion entity. Triggering it, reloading integration, rebooting cam, rebooting HA, nothing brings it back. Removing the cam and re-setting it up again, brings it back working for a few more days. Then start all over again with a different cam unavailable. All C110, All same FW, etc. can't see any reason why... |
Also, FYI, installed the ONVIF integration a few days ago and it works without issue. The motion sensors appear and they've never gone unavailable since I installed it. |
@falseunity interesting, I will try this out - thank you for sharing. |
I also have the same problem, 2 Tapo C200 on firmware 1.3.9 as well. Tried removing and adding them back, it worked for some time but then the issue came back. It seems the problem started after the update to the new firmware... |
I’ve tried the removal, including the .storage removal, and even removed the integration completely - still throws this error every restart. I’ve tried the ONVIF integration and it only exposes a fraction of the entities. So that’s not an option either. |
I agree with the ONVIF comment, it was just suggested we try it to see if the Motion Sensors do the same thing in there, and from my observations, they don't. But yes, ONVIF has many less entities that the Tapo integration for sure.... |
BTW, is there a way to revert to an older firmware? I'd like to try to understand if it might be related to firmware 1.3.9... |
Hmm I had completely stable environment with three C200's, and this week I pulled trigger for new firmware 1.3.9 and since then I am having same issues as others in this thread. I am now unable to move cameras - they cannot be put into patrol mode neither to preset. Here is what is in logger when I try to change the input_select field
And some other errors from reloading the integration.
|
I have started to reverting firmware (nervous-inhuman/tplink-tapo-c200-re#4) on my C200's back to 1.3.4 (and also 1.3.5) but patrol mode or Move to preset did not worked even while downgraded and Tapo Integration has been setup from scratch. But once I have downgraded them, I have recieved also new formware version |
Closing as this now looks to be fixed on new firmware. If issue persists, please open new issue. |
Description
After restarting, this integration throws errors for one of the cameras. Oddly enough, it is a bit random on which one it is. I have 3 Tapo cameras connected....
Camera 1
Camera 2
Camera 3
Camera 3 was recently updated to a new firmware and it seems to be the most stable. Camera's 1 and 2 randomly will throw an error and it impacts the motion detection, ,motion alarm and noise detection functionality when it does error. They become unavailable.
Reproduction Steps
Restart HA and it happens nearly every time.
Expected behavior
Restart HA and it not error out.
If applicable, add error logs.
debug logs.txt
Device Firmware
Firmware: 1.3.9 Build 231019 Rel.31045n(5553)
Integration Version
5.4.12
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
HA OS installed on a NUC with Google Coral TPU
Search for similar issues
Yes
Additional information
No response
The text was updated successfully, but these errors were encountered: