Replies: 10 comments 37 replies
-
Does this replace the need for SGTBattens blueprint in 0.14? I added the automation portion of your code to my automations.yaml, and created a script using the script portion, but I can't get it to do anything. |
Beta Was this translation helpful? Give feedback.
-
@superdong69 |
Beta Was this translation helpful? Give feedback.
-
I need a set up guide for dummies 101. |
Beta Was this translation helpful? Give feedback.
-
What's the -verified part doing Nik? |
Beta Was this translation helpful? Give feedback.
-
From what I can tell, this is no longer the proper way to reference an event id for the purpose of pulling a thumbnail, snapshot, or clip in a Home Assistant notification. I might be misunderstanding the new system with reviews, but this id seems to refer to the overall review item (which can include multiple objects) and not a singular detection like in 0.13. To get a thumbnail in a notification like I would with the regular frigate/events topic, I need to set the variable to It would appear that what I'm familiar with as event id's are listed out under "detections" now as an array. This difference is likely why other users are unsuccessful in getting the template to produce a notification. I imagine (like myself), they used your template for the mqtt trigger and paired it with the provided "simple notification service" (which also uses a variable "label" instead of "objects"). These few tweaks seem to have my notifications working like before, but with customization of what causes a notification done through Frigate's alerts vs. detections instead of a bunch of conditions in Home Assistant. Really liking 0.14 so far and I hope this helps someone passing by! |
Beta Was this translation helpful? Give feedback.
-
Hi Nick, I cant seem to get the preview gif to load, even just as a url outside the notification. |
Beta Was this translation helpful? Give feedback.
-
Is this info still valid? I get an error when trying to call the
|
Beta Was this translation helpful? Give feedback.
-
Is there any way to get the before_zone and after_zone into this? I have notifications setup so that it only notifies me when something moves from one zone to another in a specific order - this way I don't get notifications for people leaving my house, or a parked car leaving my driveway. Instead I only get notifications for people and cars entering my driveway from an 'outside_driveway' zone etc. |
Beta Was this translation helpful? Give feedback.
-
Guys, please explain the logic of detection events in reviews, How can I determine which event in detections list is not removed and has a snapshot/video for end and update types (first|[0]/last/max/random)? Issue is once I get end/update event with alert severity some of the events in detection list (doesn;t matter before or after) are vanished (true for both before or after sections) and I cannot refer them in URL and getting empty snapshot in notification. |
Beta Was this translation helpful? Give feedback.
-
This is what I changed it to. Don’t know if it is correct, but the error went away.
`value_template: >-
{{ 'on' if (value_json['type'] == 'new' and
value_json['after']['severity'] == 'alert') or
(value_json['before']['severity'] != value_json['after']['severity']) or
(value_json['type'] == 'update' and value_json['after']['severity'] ==
'alert' and (now() | as_timestamp -
state_attr('automation.frigate_recent_review', 'last_triggered') |
as_timestamp > 20)) else 'off' }}`
Sent from AT&T Yahoo Mail for iPad
On Thursday, October 10, 2024, 2:29 AM, Morphy99 ***@***.***> wrote:
@ofcedwards I've just noticed this in my HA logs:
Template variable error: 'this' is undefined when rendering '{{ 'on' if (value_json['type'] == 'new' and value_json['after']['severity'] == 'alert') or (value_json['before']['severity'] != value_json['after']['severity']) or (value_json['type'] == 'update' and value_json['after']['severity'] == 'alert' and (now() | as_timestamp - this.attributes.last_triggered | as_timestamp > 20)) else 'off' }}'
The automation seems to be running OK and was wondering if you've got the same or if there's something different about my set up?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
As part of the new Frigate UI events are now intelligently organized into different categories and combined by times of activity. This means that a person delivering a package is one review item instead of having separate events for the person and the package. This behavior is often also desirable for notifications. In Frigate 0.14 there is a new
/reviews
MQTT topic that can be used for notifications as well.Automation YAML
Example Payload
Here is an example payload
Simple Notification Service
Reference the HomeAssistant notification docsfor how to customize these.
Beta Was this translation helpful? Give feedback.
All reactions