Skip to content
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

support of ONVIF event such as visitor (ring bell), face detect, person detect, car detect, pet detect #26

Merged
merged 4 commits into from Mar 10, 2024

Conversation

t0urista
Copy link
Contributor

@t0urista t0urista commented Mar 7, 2024

No description provided.

@t0urista
Copy link
Contributor Author

t0urista commented Mar 7, 2024

update reolinkapicmd.json : create additionnal commands (info binary) for Reolink cameras to reflect the corresponding ONVIF events supported by the reolink video doorbell (POE) :

  • Event Motion (etat)
  • Event FaceDetect (etat)
  • Event PeopleDetect (etat)
  • Event VehicleDetect (etat)
  • Event DogCatDetect (etat)
  • Event MotionAlarm (etat)
  • Event Visitor (etat)
  1. and create 3 commands (string or binary) holding the last ONVIF event received. this allow to handle non pre-defined ONVIF events
  • last Onvif Event (full) : last ONVIF event name + state (string)
  • last Onvif Event (name) : last ONVIF event name (string)
  • Last Onvif Event (etat) : last ONVIF state (binary)

update jeeReolink.php

  • treat and update ONVIF events received and forwardered by the webhook to the daemon. update the corresponding ONVIF info commands from the REOLINK camera device

update camhook.py

  • treat ONVIF events received by the webhook and unmarshall them (JSON/XML decode) before sending event Name/event status to the daemon

@Jezza34000 Jezza34000 merged commit 1eea1eb into Jezza34000:master Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants