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

Expose additional control APIs as Home Assistant services #690

Closed
rgregg opened this issue Jun 28, 2024 · 1 comment
Closed

Expose additional control APIs as Home Assistant services #690

rgregg opened this issue Jun 28, 2024 · 1 comment
Labels

Comments

@rgregg
Copy link

rgregg commented Jun 28, 2024

Is your feature request related to a problem? Please describe.
I'm looking to setup some automations in Home Assistant via the Frigate API - for example, using an IR motion sensor to trigger an event in the NVR. I can do this manually by configuring a RESTful command pointed at the Frigate API - but it would be so much easier if the integration published these as services that can be invoked directly from Home Assistant.

Describe the solution you'd like
Have the Frigate integration publish services for the Frigate APIs, specifically:

  • Create Event (POST /api/events/<camera_name>//create)
  • End Event (PUT /api/events/<event_id>/end)
  • Restart Frigate (POST /api/restart)

Describe alternatives you've considered
Manually adding these into my configuration as RESTful Commands enables my scenario, but it requires keeping the configuration in sync with any future API changes and doesn't expose the variables in APIs as cleanly as the integration could do it.

@rgregg rgregg changed the title Expose control APIs as Home Assistant services Expose additional control APIs as Home Assistant services Jun 28, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jul 29, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant