Closed sca075 closed 1 year ago
The issue is in upstream onvif (and poor firmware). I am working with @bdraco to fix this.
After investigating this further with great help of @bdraco we found out that:
SUBSCRIPTION_TIME
and SUBSCRIPTION_RELATIVE_TIME
override, maybe some other methods too? This has disadvantage that if user restarts HA too much during one day camera will stop sending events, until it is restarted (like it was always before). This would still leave official onvif with the bug.Same here for a Tapo C110 with firmware 1.1.12
. Since the HA update 2023.5 the motion sensor will be triggered just once and stays on forever, i.e. until restart of HA or the camera itself.
Thanks a lot @JurajNyiri and @bdraco for looking into this!
@JurajNyiri
Thanks really much Man! it works like a charm now :)
Problem renewed ? My C100, both of them, motion detecttions are constantly on ...
Problem renewed ? My C100, both of them, motion detecttions are constantly on ...
I stuck to 5.2.3 there the motion sensor works fine.
Description
Since the fix for HA 2023.5 the C100 motion sensor become duplicated and remain always in ON, the TAPO app send the notification of motion detected, but it seams there is no feedback when the motion ended. Would be happy to help to fix this issue but I didn´t get how this part in your code is working..
Reproduction Steps
1.Reload the component 2.Delete the duplicate motion sensor entity.
Expected behavior
normal detection state as before.
If applicable, add error logs.
No response
Device Firmware
1.1.15
Using stream component
Yes
Does camera work via official integrations?
N/A
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker
Search for similar issues
No
Additional information
No response