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

Retrieving Camera status before initiating preset move #91

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

janmn
Copy link
Collaborator

@janmn janmn commented Dec 12, 2024

Added a function is_on() that returns the current status of the camera.

This function is called before the camera should be moved to a preset, in case the camera is in Standby and has to be turned on before it can record.

This fixes #88.

@janmn janmn requested a review from mheyen December 12, 2024 10:10
@janmn
Copy link
Collaborator Author

janmn commented Dec 12, 2024

Should this PR also include the metrics export for the camera status?

@janmn
Copy link
Collaborator Author

janmn commented Dec 20, 2024

This now also includes a metric for the camera's status

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.

Delay in camera wake-up causes camera position change to fail
1 participant