-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Tapo Cameras: Motion sensor gets stuck #92604
Tapo Cameras: Motion sensor gets stuck #92604
Comments
Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) onvif documentation |
Digging through the logs some more it seems that the more frequent renewals trigger the loop bug in these cameras. I don’t think we can get rid of them though as we know the subscription will stop working on cameras that don’t have this bug if we don’t renew it before it expires. |
I would say that I hope tplink can fix the underlying problem with the firmware but my experience with the Kasa line is that things usually get worse and not better for local control options with firmware updates |
We found the root cause. The camera has a bug where interrupts 10 minutes as 10 seconds so the subscription gets canceled prematurely. If we express the time in seconds everything works |
The problem
Tapo C200 | HW 1.0 | 1.1.16
*I also see this on HW 3.0 1.3.4, but providing logs/info/images for 1.1.16
2023.5.1_1.1.16.log
PR #92551
This PR introduces retry functionality to retry failed renewals. @bdraco reports that it has made his HW 3.0 1.3.4 and C320WS work flawlessly like before. I tried this, and it made my HW 3.0 1.3.4 time out and gets stuck in Detected. On my 1.1.18 HW 1.0 it behaves first the same as on stable version of HA (2023.5.1) but after a while gets into infinite event receival loop. This can be noticed at
:53:57
-- the time when it started looping through ports again, starting with port 1024 for the second time in the run. Loop continues and happens even if there is no movement.417d46_1.1.18.log
Side note
I am developer of https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/ . Several users reported this behaviour, for example here or here.
I was able to restore original flawless working functionality on all of my cameras(*except the ones with unrelated firmware issue) by including the old version 0e8f139) of onvif integration (I use EventManager from it) along with onvif-zeep-async==1.2.11.
This is really not a long term solution, and we should work on getting this fixed upstream -- here.
What version of Home Assistant Core has the issue?
core-2023.5.1
What was the last working version of Home Assistant Core?
core-2023.4.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
onvif
Link to integration documentation on our website
https://www.home-assistant.io/integrations/onvif/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: