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

Support ONVIF exceptions when sending pan-tilt commands #10777

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

faurel
Copy link
Contributor

@faurel faurel commented Apr 1, 2024

Issue
Uncatched ONVIF library exceptions makes Frigate disconnecting from MQTT.

Analysis
When used with some cameras like Tapo C210, the ONVIF library raises unknown exceptions when moving camera up/down or left/right and reaching the limits.

Solution
Catch any ONVIF exception when sending move commands via PTZ.

Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit 3c2179c
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/660aeb0e1146330008138c6a

@NickM-27
Copy link
Collaborator

NickM-27 commented Apr 1, 2024

need to fix formatting

@faurel
Copy link
Contributor Author

faurel commented Apr 1, 2024

@NickM-27 PR corrected

@NickM-27 NickM-27 merged commit a886b6a into blakeblackshear:dev Apr 1, 2024
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.

4 participants