This page allows user to make changes to the schedule TAILDET-AI operates based on for a location, by adding, modifying and deleting "Runs". A run consists of the following elements:
Once the user has made modification to the schedule, the EventBridge Scheduler schedules associated with the locations will be updated, which runs a fargate container for the duration of the run. The fargate container reads from the IP camera and pushes the stream to Kinesis Video Stream, which persists the stream to be used by the Lambda function to create clips on entry. See Architecture to learn more about the architecture of the system.
Clicking on the Add run will open a modal that allows the user to add a new run. The user can select the start time and duration of the run.
This schedule editor will detect any invalid schedules and will immediately notify the user and will not allow the user to save the schedule if any. There are two types of invalid schedules:
In this case, the second run overlaps with the first run, as it starts at 13:00, which is within the duration of the first run (09:00 to 17:00).
Similarly, the following example will also be invalid:
In this case, the second run overlaps with the first run, as it starts at 01:00, which is within the duration of the first run (20:00 to 04:00).