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

Webhook variables. #40

Open
reguiny opened this issue Oct 30, 2023 · 1 comment
Open

Webhook variables. #40

reguiny opened this issue Oct 30, 2023 · 1 comment

Comments

@reguiny
Copy link

reguiny commented Oct 30, 2023

I have compiled the latest version and setup one camera as Cam1 to test. I am using this webhook to trigger a camera in blueiris:

With the camera name as Cam1 it works correctly and blueiris is triggering the correct camera.

I would like to use multiple cameras and have tried this webhock:

The problem is that the variable .Camera is not changed to Cam1 so blueiris reports camera=null.

Thanks.

@reguiny
Copy link
Author

reguiny commented Oct 30, 2023

update.

It works correctly with hikvision cameras the problem is with hisilicon!
I tested a hisiicon camera with telegram using your example and the message is: "Camera alert! cd26db65a40xxxxxx HumanDetect"

The hex number being picked up for hisilicon cameras is the "cloud id" of the cam. I tried using it as the camera name and everything works as expected.

It is possible to find the cloud id with VMS, in the camera info,

It would be easier to use a more descriptive name as with the hik cams but it works.

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

No branches or pull requests

1 participant