Alarms are a separate database record of Events with the added benefit of logging notes and which videos are associated. And when an Event Trigger occurs on a camera a popup will appear showing the Live Stream of the triggered camera as well as a short video clip of what caused the trigger.
Within this popup you can add notes and change the status of this Alarm, Mainly to show if an operator has acknowledged the Trigger Event but you may use these additional details however you wish.
Additionally, If you choose to make it so a camera triggers a PTZ movement based on the Event Trigger of a different camera it will be displayed in the popup mentioned above.
Events are a listing of all Triggers. They cannot be edited and hold all relevant data related to the event, like bounding boxes. Videos created during this time are not referenced with the Events. The Dashboard provided with Shinobi uses the times of Events and times of Videos to associate them with each other when they are loaded.
Currently this feature is in a beta phase, it may change in operation or appearance as user input is provided. With that being the case it is not enabled by default and must be engaged by adding the following to your Shinobi configuration (conf.json). You can make this change in your Superuser panel or in Terminal. Add the following to Line 2 of the conf.json and Save.
"alarmManagement": true,
The default location of Shinobi's conf.json is "/home/Shinobi/conf.json".
In Superuser panel you will need to edit the raw JSON and add the line. Save on the raw file edit, then Save on tab.
Once the change is made to the Shinobi configuration you will need to restart Shinobi once for it to take effect. You can restart Shinobi core from the Superuser panel or run the following in terminal (as the Terminal user that started Shinobi).
pm2 flush && pm2 restart camera && pm2 logs
Previous Alarms can be reviewed in a listing similar to "Videos" and the preview video will be the video that was recorded during the Event Trigger. To view these Alarms just open the "Alarms" tab show in the left side menu.
Within the Alarms tab of the Dashboard you will find a submenu once you have opened it. Similar to the submenu for Live Grid.
Toggle "Event Opens Alarm" to enable the popup.
The API Endpoints are noted in our Document website. Please follow the link below.