Hey SgtBatten, I’m new to Frigate and the notification blueprint. I’m struggling to get the trigger zones working, I’m receiving notifications for all zones rather than my input zones. I just finished reading through the last 90+ days of this thread and have not found a solution. Any suggestions are appreciated. Below is an example of a camera, my notification config, and a trace changed variables from a notification I received.
Notification config:
alias: DrivePTZ North
description: Frigate DrivePTZ North
use_blueprint:
path: SgtBatten/frigate_0.11_notification.yaml
input:
camera: camera.driveptz_north
notify_device: 57615761db3c6e5da463ee14b683adac
zone_filter: true
zones:
- zone_yard
- zone_drain
- driveway
- walkway
- south_yard
This is the version I’m using: Frigate Notifications have moved · GitHub
And the output of a trace from a received notification:
this:
entity_id: automation.automation_8
state: 'on'
attributes:
last_triggered: '2022-11-17T02:17:45.630092+00:00'
mode: parallel
current: 0
max: 10
id: '1668525013015'
friendly_name: DrivePTZ North
last_changed: '2022-11-15T20:10:58.095313+00:00'
last_updated: '2022-11-17T02:17:48.917838+00:00'
context:
id: 01GJ1P1EWWQFQ5XDJBQS5GHF6N
parent_id: null
user_id: null
trigger:
id: frigate-event
idx: '1'
alias: null
platform: mqtt
topic: frigate/events
payload: >-
{"before": {"id": "1668652265.871272-t33dtv", "camera": "DrivePTZ_North",
"frame_time": 1668652265.871272, "snapshot_time": 0.0, "label": "car",
"sub_label": null, "top_score": 0.0, "false_positive": true, "start_time":
1668652265.871272, "end_time": null, "score": 0.71484375, "box": [482, 103,
561, 137], "area": 2686, "ratio": 2.323529411764706, "region": [364, 0, 684,
320], "stationary": false, "motionless_count": 0, "position_changes": 0,
"current_zones": [], "entered_zones": [], "has_clip": false, "has_snapshot":
false}, "after": {"id": "1668652265.871272-t33dtv", "camera":
"DrivePTZ_North", "frame_time": 1668652270.169331, "snapshot_time":
1668652270.169331, "label": "car", "sub_label": null, "top_score":
0.701171875, "false_positive": false, "start_time": 1668652265.871272,
"end_time": null, "score": 0.70703125, "box": [483, 104, 564, 136], "area":
2592, "ratio": 2.53125, "region": [372, 0, 692, 320], "stationary": false,
"motionless_count": 6, "position_changes": 1, "current_zones": ["street"],
"entered_zones": ["street"], "has_clip": true, "has_snapshot": true},
"type": "new"}
qos: 0
description: mqtt topic frigate/events
payload_json:
before:
id: 1668652265.871272-t33dtv
camera: DrivePTZ_North
frame_time: 1668652265.871272
snapshot_time: 0
label: car
sub_label: null
top_score: 0
false_positive: true
start_time: 1668652265.871272
end_time: null
score: 0.71484375
box:
- 482
- 103
- 561
- 137
area: 2686
ratio: 2.323529411764706
region:
- 364
- 0
- 684
- 320
stationary: false
motionless_count: 0
position_changes: 0
current_zones: []
entered_zones: []
has_clip: false
has_snapshot: false
after:
id: 1668652265.871272-t33dtv
camera: DrivePTZ_North
frame_time: 1668652270.169331
snapshot_time: 1668652270.169331
label: car
sub_label: null
top_score: 0.701171875
false_positive: false
start_time: 1668652265.871272
end_time: null
score: 0.70703125
box:
- 483
- 104
- 564
- 136
area: 2592
ratio: 2.53125
region:
- 372
- 0
- 692
- 320
stationary: false
motionless_count: 6
position_changes: 1
current_zones:
- street
entered_zones:
- street
has_clip: true
has_snapshot: true
type: new
input_camera: camera.driveptz_north
camera: driveptz_north
camera_name: Driveptz North
base_url: ''
critical: false
alert_once: false
update_thumbnail: false
group_target: ''
zone_only: true
input_zones:
- zone_yard
- zone_drain
- driveway
- walkway
- south_yard
zones:
- zone_yard
- zone_drain
- driveway
- walkway
- south_yard
input_labels: []
labels: []
presence_entity: ''
cooldown: 30
loiter_timer: 0
fps: 5
state_only: false
input_entity: ''
input_states: []
states_filter: []