Custom Alerts #21929
-
|
Is there any way to setup a custom alert? I'd like to know if a person is detected in my driveway zone between midnight and 6am. This detection would ideally trigger a push notification via NTFY or something similar. My initial thought is to simply reprocess the go2rtc stream with JavaCV/FFmpeg using a frame grabber and AI to check for human proximity to my vehicles. If there's an existing canned solution I'd love to hear about it as that would be preferable over developing my own. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, Frigate has built-in support for zone-based alerts that you can configure directly without needing to reprocess the stream. You can configure alerts to only trigger when a person is detected in your driveway zone by setting cameras:
your_camera_name:
review:
alerts:
required_zones:
- driveway
labels:
- person
zones:
driveway:
coordinates: 0.000,0.000,1.000,0.000,1.000,1.000,0.000,1.000
objects:
- personFor the time-based filtering (midnight to 6am), Frigate doesn't have native time-of-day filtering in the configuration.(2) However, Frigate publishes MQTT events for all detections, which you can use with Home Assistant or another automation platform to add time-based logic.(2) Frigate publishes to MQTT topics like
Then trigger your NTFY notification from your automation platform when both conditions are met. This approach uses Frigate's existing detection and zone capabilities rather than requiring you to reprocess the stream yourself. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Yes, Frigate has built-in support for zone-based alerts that you can configure directly without needing to reprocess the stream.
You can configure alerts to only trigger when a person is detected in your driveway zone by setting
required_zonesunder the alerts configuration.(1) Here's how to set it up:(2)(3)(1)
For the time-based filtering (midnight to 6am), Frigate doesn't have native time-of-day filtering in the configuration.