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 out-of-the-box Frigate PTZ support #1312

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Add out-of-the-box Frigate PTZ support #1312

merged 2 commits into from
Oct 30, 2023

Conversation

dermotduffy
Copy link
Owner

@dermotduffy dermotduffy commented Oct 29, 2023

@dermotduffy dermotduffy added enhancement breaking Breaking Changes labels Oct 29, 2023
@dermotduffy dermotduffy merged commit 45d2e64 into dev Oct 30, 2023
2 checks passed
@dermotduffy dermotduffy deleted the ptz-revamp branch October 30, 2023 09:04
@Sidonai-1
Copy link

Sidonai-1 commented Aug 28, 2024

Hi!, I'm trying to use the card built-in controls without having to write a long yaml, but the options don't appear in the menu, is there some reason this could be? With the yaml it works, and it works correctly in frigate.

Edit: I am using the last version of the card

Thanks.

@dermotduffy
Copy link
Owner Author

@Sidonai-1 The code is not yet in an official release, so you'd need to be using the dev branch for this to work out of the box. See here if you'd like to install your own from the dev branch, otherwise wait for an official release.

@Sidonai-1
Copy link

I see, that makes sense. I mistakenly thought it was on the main branch already from reading the commits.

Thank you very much!

@awh018
Copy link

awh018 commented Oct 3, 2024

I've installed the latest dev version 6.0.0-beta 5 and I cannot seem to figure out the built in PTZ. Do I need to modify the YAML, or should I be able to configure everything within the config? Thanks for your awesome work on this.

@dermotduffy
Copy link
Owner Author

If you visit the Frigate UI, can you control the camera from there? If yes, then zero extra configuration should be necessary on the card for PTZ. For example, here's a test config I just make that shows PTZ controls on a Frigate camera:

type: custom:frigate-card
cameras:
  - camera_entity: camera.office
    live_provider: go2rtc

If your camera does not have PTZ support in Frigate, but is a PTZ camera that is controllable via Home Assistant, you could manually configure PTZ. See docs: https://card.camera/#/examples?id=ptz-control

@awh018
Copy link

awh018 commented Oct 3, 2024

Thanks for the response. Yes the camera is perfectly controllable in Frigate. Using your example does get the PTZ controls to show, but they don't move the camera at all. I had it working before with ONVIF but would prefer to use the built in PTZ.

@dermotduffy
Copy link
Owner Author

Please file a new issue and be sure to include the diagnostics (hold down the Frigate button for a few seconds and paste the result). Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants