Skip to content

FactoryTalk-Optix/Optix_Sample_AlarmsToFrigateRecording

Repository files navigation

Optix alarms to Frigate recording

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.

Configuration

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.

Additional customization

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.

Usage

  1. Open the Optix project
  2. Configure the Frigate server settings in the FrigateConfiguration model folder.
  3. Set up one or more alarm instances in the FrigateAlarms folder, specifying the desired camera for each alarm.
  4. Start the runtime and trigger alarms as needed.
  5. Use the alarm history grid to view and select alarms, which will display the corresponding Frigate recording based on the alarm timestamp.

Disclaimer

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.

About

How to correlate Optix alarms to Frigate recordings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages