File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -133,3 +133,14 @@ agent_calendar_update_time{agent="test_agent"} 1.707571943100096e+09
133133# TYPE camera_position gauge
134134camera_position{camera="http://camera-2-panasonic.example.com"} 10.0
135135` ` `
136+
137+ # # Endpoints for switchting and checking the camera control status
138+
139+ The camera control status of a specific camera can be changed as follows :
140+ - Accessing the endpoint '/control/automatic/<camera_url>' sets the control status of the given camera to 'automatic'.
141+ - Accessing the endpoint '/control/manual/<camera_url>' sets the control status of the given camera to 'manual'.
142+ The default control status is 'automatic'.
143+
144+ The current control status of a specific camera can be requested by calling the endpoint '/control_status/<camera_url>'.
145+
146+ At 03:00 am, all cameras will be reset to automatic control. You may adjust the reset time in your configuration file.
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ def view_current_camera_control_status(req_camera_url):
8989
9090# expose camera control metrics
9191@app .route ('/metrics' )
92- @basic_auth .required
9392def metrics ():
9493 """ Endpoint for exposing the camera control metrics.
9594 """
You can’t perform that action at this time.
0 commit comments