You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In regards to the issue about motion detection not functioning on specific cameras (cough Tapo), I have done some further investigation. I have successfully replicated the problem using my own cameras using the same library which is being used in Scrypted (onvif), using Pullpoint communication. Upon inspecting the Scrypted source code, I observed (please correct me if I am mistaken) that it exclusively using Pullpoint communication for receiving motion detection events.
It is safe to say that the recent firmware update has, to the best of my ability to reproduce, has broken the camera's Pullpoint communication implementation. It is worth noting that TP-Link has not communicated any alterations in their implementation in the latest firmware updates. In response, I decided to experiment with Webhook communication, and I achieved positive results. Using a minimal server with Webhooks, I managed to receive both Motion and CellMotion detection events when motion initiated and ceased.
Regrettably, I have not yet found the time to look into the process of integrating this into Scrypted. However, given that Scrypted does not currently utilize Webhooks at all while most cameras are working just fine using Pullpoint communication, it might not be a good idea to entirely replace the existing implementation. Instead, a more viable approach might involve enabling Webhooks via a toggle in the dashboard.
I am willing to contribute to the project if it is seems to be a valuable addition to the ONVIF plugin. I'm leaving this open for further discussion.
The text was updated successfully, but these errors were encountered:
Interesting, thanks I was thinking about writing my own onvif library as the one I'm currently using is a bit of a dated mess. The main issue with this approach is that the server needs to have a reachable address, which should generally be straightforward. However, if the server is behind a nat from the camera, it will not work without forwarding.
It indeed is -- taking a look at some other ONVIF libraries, when not taking certificates and encryption into account, it doesn't seem to be too complex to get a basic module up and running. I'm free to help building the implementation, feel free to let me know if you're planning something. Regarding the server, an insecure server seems te be required as well, since the protocol doesn't seem te be able to handle to call a webhook behind a secure protocol.
no plans to implement this due to possible reachability issues and questionable additional value. I'll keep it in mind if/when I get to the onvif reimplementation.
In regards to the issue about motion detection not functioning on specific cameras (cough Tapo), I have done some further investigation. I have successfully replicated the problem using my own cameras using the same library which is being used in Scrypted (onvif), using Pullpoint communication. Upon inspecting the Scrypted source code, I observed (please correct me if I am mistaken) that it exclusively using Pullpoint communication for receiving motion detection events.
It is safe to say that the recent firmware update has, to the best of my ability to reproduce, has broken the camera's Pullpoint communication implementation. It is worth noting that TP-Link has not communicated any alterations in their implementation in the latest firmware updates. In response, I decided to experiment with Webhook communication, and I achieved positive results. Using a minimal server with Webhooks, I managed to receive both Motion and CellMotion detection events when motion initiated and ceased.
Regrettably, I have not yet found the time to look into the process of integrating this into Scrypted. However, given that Scrypted does not currently utilize Webhooks at all while most cameras are working just fine using Pullpoint communication, it might not be a good idea to entirely replace the existing implementation. Instead, a more viable approach might involve enabling Webhooks via a toggle in the dashboard.
I am willing to contribute to the project if it is seems to be a valuable addition to the ONVIF plugin. I'm leaving this open for further discussion.
The text was updated successfully, but these errors were encountered: