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

Add key functions 'SetPtzPreset' and 'GetAiState' #2

Open
sracing opened this issue May 22, 2022 · 1 comment
Open

Add key functions 'SetPtzPreset' and 'GetAiState' #2

sracing opened this issue May 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sracing
Copy link

sracing commented May 22, 2022

Hi,
First of all - thank you for your great work here! I would like to use cam2mqtt as a module in a Home Automation application (SmarthomeNG, see [https://www.smarthomeng.de/]. What I am missing are the following functions:

  • call a specific PTZ Position (Reolink Command "SetPtzPreset")
  • get the AI Alarm State (Reolink Command "GetAiState")

Is that something you could consider to add to your code?

Regards - Marcus

@berfenger
Copy link
Owner

Now with the last changes, when the motion is tracked through ONVIF events (onvif: monitor_events: true), the GetAiState is called periodically to check the AI state and send people and vehicle detection events to MQTT (only if the camera supports so).

@berfenger berfenger added the enhancement New feature or request label Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants