mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-31 19:00:30 +03:00
Add configurable notification TTL (#24829)
CI / AMD64 Build (push) Waiting to run
CI / AMD64 Smoke Test (push) Blocked by required conditions
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
CI / AMD64 Build (push) Waiting to run
CI / AMD64 Smoke Test (push) Blocked by required conditions
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
* add configurable ttl for active alert notifications Notifications sent while an alert was active always used a TTL of 0, so the push service dropped them if the device wasn't reachable at that moment and users only received the notification sent when the alert ended. A new `ttl` notifications option, settable globally or per camera, lets the push service retry these notifications for that many seconds. It defaults to 0, and the settings UI warns that a non-zero value can deliver stale notifications. * make notification ttl a global advanced setting - Read `ttl` from the global notifications config and hide it on the camera form - Show it under Advanced Settings on the Notifications page - Remove extra padding that misaligned the Notifications cards with the rest of the form - Shorten the ttl warning * tweaks * use enum instead of raw seconds value
This commit is contained in:
@@ -858,6 +858,10 @@
|
||||
"label": "Cooldown period",
|
||||
"description": "Cooldown (seconds) between notifications to avoid spamming recipients."
|
||||
},
|
||||
"ttl": {
|
||||
"label": "Notification TTL",
|
||||
"description": "How the push service handles a notification sent while an alert is active if your device can't be reached. Immediate delivers it right away or drops it. Reliable keeps retrying for up to 30 seconds. The notification sent when an alert ends is always kept for up to an hour."
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Original notifications state",
|
||||
"description": "Indicates whether notifications were enabled in the original static configuration."
|
||||
|
||||
@@ -154,6 +154,10 @@
|
||||
"label": "Cooldown period",
|
||||
"description": "Cooldown (seconds) between notifications to avoid spamming recipients."
|
||||
},
|
||||
"ttl": {
|
||||
"label": "Notification TTL",
|
||||
"description": "How the push service handles a notification sent while an alert is active if your device can't be reached. Immediate delivers it right away or drops it. Reliable keeps retrying for up to 30 seconds. The notification sent when an alert ends is always kept for up to an hour."
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Original notifications state",
|
||||
"description": "Indicates whether notifications were enabled in the original static configuration."
|
||||
|
||||
@@ -1934,6 +1934,10 @@
|
||||
"saved": "Saved"
|
||||
}
|
||||
},
|
||||
"notificationTtl": {
|
||||
"immediate": "Immediate",
|
||||
"reliable": "Reliable"
|
||||
},
|
||||
"retainMode": {
|
||||
"all": "All",
|
||||
"motion": "Motion",
|
||||
@@ -2051,7 +2055,8 @@
|
||||
"profileBaseDisabled": "Recording is disabled in this camera's base config, so enabling it in a profile has no effect. Enable recording in the base config and use a profile to disable it instead."
|
||||
},
|
||||
"notifications": {
|
||||
"profileBaseDisabled": "No cameras have notifications enabled in their base config, so enabling them in a profile has no effect. Enable notifications in the base config of at least one camera."
|
||||
"profileBaseDisabled": "No cameras have notifications enabled in their base config, so enabling them in a profile has no effect. Enable notifications in the base config of at least one camera.",
|
||||
"ttlDelay": "Notifications can arrive up to 30 seconds late and still link to the live view after the review item has ended."
|
||||
},
|
||||
"birdseye": {
|
||||
"objectTrackingDetectDisabled": "Birdseye includes tracked objects, but object detection is disabled for this camera. The camera will not appear in Birdseye.",
|
||||
|
||||
Reference in New Issue
Block a user