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 MQTT topic for active autotracking #8419

Merged
merged 4 commits into from Nov 1, 2023

Conversation

hawkeye217
Copy link
Collaborator

This PR adds an MQTT topic (frigate/<camera>/ptz_autotracker/active) to publish ON and OFF when an object is being actively autotracked. The ptz_tracking_active event metric can also be used in the codebase anywhere that PTZMetrics are imported to determine if an active tracking session is in progress. The ptz_stopped metric was also renamed to ptz_motor_stopped for clarity.

This can aid in user automations with spotter cameras so as to not "call away" the PTZ when it's actively autotracking another object.

Copy link

netlify bot commented Nov 1, 2023

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit 7d807b1
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/6542c112ca86720007557553

@blakeblackshear blakeblackshear merged commit 6eff08e into blakeblackshear:dev Nov 1, 2023
10 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants