In this application, the user can configure a set of custom alarms to be triggered, then the alarm history grid allows the user to display a recording from a Frigate NVR system based on the alarm timestamp.
Note
This application requires a Frigate NVR system to be set up and running. Please refer to the Frigate documentation for installation and configuration instructions. This project was tested with Frigate version 0.16.2-4d58206.
Model/FrigateConfiguration/ServerUrl: The base URL of the Frigate NVR server (e.g.,https://frigate.local/).Model/FrigateConfiguration/Username: The username for authenticating with the Frigate server (the user should have at least view access).Model/FrigateConfiguration/Password: The password for authenticating with the Frigate server.
Per each alarm instance (example: Alarms/FrigateAlarms/FrigateAlarmType1), the user can configure the camera name to be used for the recording lookup.
The main logic is in the UI/Templates/FrigateAlarmViewer/FrigateRecordingLogic script. The user can customize the logic to change how the recording is displayed or handled.
- Open the Optix project
- Configure the Frigate server settings in the
FrigateConfigurationmodel folder. - Set up one or more alarm instances in the
FrigateAlarmsfolder, specifying the desired camera for each alarm. - Start the runtime and trigger alarms as needed.
- Use the alarm history grid to view and select alarms, which will display the corresponding Frigate recording based on the alarm timestamp.
Rockwell Automation maintains these repositories for your convenience and that of other users. Although Rockwell Automation has the right at any time and for any reason to not access, edit, or remove content from this Repository, you acknowledge and agree to accept sole responsibility and liability for any Repository content posted, transmitted, downloaded, or used by you. Rockwell Automation has no obligation to monitor or update Repository content
The examples provided are to be used as a reference for building your own application and should not be used in production as-is. It is recommended to adapt the example for the purpose and observe the highest safety standards.