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

Allow passthrough of api call to camera #11531

Closed
Xelaph opened this issue May 26, 2024 · 2 comments
Closed

Allow passthrough of api call to camera #11531

Xelaph opened this issue May 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Xelaph
Copy link

Xelaph commented May 26, 2024

Describe what you are trying to accomplish and why in non technical terms
I want my camera's to be on a separate physical network from the normal network for security reasons. We have a Hikvision doorbell and to locally detect if the button of the doorbell is pushed, you can curl a request to camera_ip/ISAPI/VideoIntercom/callStatus?format=json. I'd like to automate this using Home Assistant, so I can get a notification if the doorbell is pushed. Currently this is possible because the doorbell is on the same network as my Home Assistant instance, but in the future I want to put the cameras on a separate network.

Describe the solution you'd like
The ideal solution is an option to pipe api calls for the camera through frigate to the camera. I don't know if this is possible.

Describe alternatives you've considered
An ability to read this through MQTT would be a great alternative.

Additional context

@Xelaph Xelaph added the enhancement New feature or request label May 26, 2024
@NickM-27
Copy link
Sponsor Collaborator

NickM-27 commented May 26, 2024

This doesn't seem like something that is actually a frigate use case, more like something for home assistant that wants to be channeled through frigate due to a desired network topology

@NickM-27 NickM-27 closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2024
@jftanner
Copy link
Contributor

My suggestion, @Xelaph, would be to run a tiny proxy on whatever box you use for Frigate. If you're using Docker, for example, you could spin up an NGINX container that can relay only specific calls (such as your callStatus endpoint).

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

3 participants