sgtbatten / ha_blueprints Goto Github PK
View Code? Open in Web Editor NEWSomewhere to store automation blueprints
Somewhere to store automation blueprints
Describe what you are trying to accomplish and why in non technical terms
I want to be able to be notified in the browser. It would be nice to have the blueprint's granular options for Mobile and AndroidTV devices with the browser.
Describe the solution you'd like
Support HTML5 Push Notifications. The notification will have a notification title and message and attach an image of the object detected.
Describe alternatives you've considered
None
Additional context
https://www.home-assistant.io/integrations/html5/ I currently have a working notification automation using the Frigate HA Notification guide: https://docs.frigate.video/guides/ha_notifications
Describe what you are trying to accomplish and why in non technical terms
When an alert message is sent to Andriod, have the option to show it on Andriod Auto.
Describe the solution you'd like
Add a "Show on Andriod Auto" option with true/false. That would set the value of "car_ui" in the data for the notify service
action:
- service: notify.mobile_app_<your_device_id_here>
data:
message: Le garage est ouvert
data:
car_ui: true
notification_icon: mdi:garage-open
channel: garage opened
importance: high
actions:
- action: null
title: Ouvrir garage
Describe alternatives you've considered
Additional context
This link is the AA git repository, where someone was making the request to add it.
home-assistant/android#3520 (comment)
With AA rules, the images may not show up.
Right now I am on "Stable", but if you want to test let me know. I will be happy to help.
My camera are named doorbell-front
in Frigate. When I click the link for "View Stream", the camera in the link is named camera.doorbell-front
instead of camera.doorbell_front
.
I see that the link is generated using {{trigger.payload_json['after']['camera'].lower()}}
at line https://github.com/SgtBatten/HA_blueprints/blob/17e4d520d256ae48c4ad394c3318174acbf9e2e3/Frigate%20Camera%20Notifications/Stable#L392C67-L392C118
However, you can see at line
that you replace the-
by _
. I think this should also be used to generate the "View Stream" link.
0.12.0.1
alias: frigate_front_porch_notification
description: Notification for front porch event from Doorbell Front - When not home
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.doorbell_front
message: >-
A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the
{{ camera_name }} camera{{ ' in the ' + entered_zones if entered_zones
else '.'}}
attachment: snapshot
channel: camera
zone_filter: true
zones:
- zone_front_porch
button_1: View Stream
url_1: >-
{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera'].lower()}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}
notify_device: dc87cc80ffe34432c139133a8322cf53
No response
No response
I have the camera called 'driveway', with two zones marked, one for the driveway alone and another outside the driveway (that includes lawn, the road)
First started creating an automation, with just the camera name and tested it, I was all getting all notifications of vehicles, persons and so tagged zone_road and zone_driveway.
Then i added the zone in the automations to notify only when zone_driveway is triggered.
Issues: i still get zone_road and zone_driveway.
Then i added the object filter so i can be notifed only when Person is detected.
Issues: no notifications at all were coming, completed stopped. I tried it few times to remove object filter and add it again, it seem whenever anything i add to the object filter i get no notifications.
I also made sure the zone markings are not touching each other and are defined in the correct areas.
Finally, when i browse thru the snapshots, it seem tagged appropriated with clips tagged as zone_road, zone_driveway or some clips with both, and some with person and so.
(0.11.1-2eada21)
alias: Frigate Notifications (0.12.0.1a) - Driveway
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.driveway
notify_device: 08dbf356d6b4e693f57da44c7f209c0f
zones:
- zone_driveway
labels: []
zone_filter: true
icon: >-
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else
'home-assistant'}}
silence_timer: 15
cooldown: 60
zone_multi: false
mqtt:
host: 192.168.1.100
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
database:
path: /media/frigate/clips/frigate.db
cameras:
driveway:
ui:
order: 1
ffmpeg:
hwaccel_args: []
inputs:
- path: rtsp:<url here>
roles:
- detect
- rtmp
- record
- clips
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- person
- animal
- vehicle
snapshots:
enabled: True
timestamp: True
bounding_box: true
retain:
default: 7
objects:
person: 3
animal: 2
vehicle: 3
record:
enabled: true
retain:
days: 7
events:
#post_capture: 10
retain:
default: 1
objects:
person: 1
animal: 1
vehicle: 1
motion:
mask:
- 322,718,1051,907,1079,1030,1920,1029,1920,1080,1562,1080,1443,1080,1358,1080,957,1080,0,1080,0,700
- 0,0,0,336,1920,405,1920,213,1920,0,0,0
zones:
zone_driveway:
coordinates: 1554,598,1920,681,1920,986,1746,1042,1375,1042,1184,948,932,834,812,812,721,781,594,762,226,736,0,755,0,562
zone_road:
coordinates: 1658,377,1895,417,1895,510,1494,551,1018,547,561,556,34,542,45,391
detectors:
coral:
type: edgetpu
device: usb
No response
Hi,
Can't figure it out how to change mqtt topic - in multi frigate instance setup the client_id/topic_prefix should be unique.
The blueprint is using: frigate/events
Can you assist please - I didn't found a description of similar situation?
Do I need to update the blueprint or this could be done as configuration?
Thank you in advance
0.12
alias: Frigate Notifications - Maingate1
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.maingate1
notify_group: ALL_DEVICES
attachment: snapshot
labels:
- person
No response
No response
When I get a notification the alert shows the thumbnail just fine but when I click on the notification I get a black screen with a play button, no image or video.
If i press play nothing happens and eventually I get this error
0.12.0.1
alias: Person Driveway new
description: new automation w/ latest blueprint
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.frigate_driveway
notify_device: 6f22d8c0afe76c2e2dd14f4736c9a639
base_url: https://ha.xxxx.xxxxx
alert_once: true
update_thumbnail: true
ios_live_view: true
debug: false
cooldown: 0
silence_timer: 0
loiter_timer: 14
tap_action: "{{base_url}}/api/frigate/notifications/{{id}}/snapshot.jpg"
### Frigate Config
```yaml
# yaml-language-server: $schema=http://192.168.121.128:5000/api/config/schema.json
database:
# path: /config/db/frigate.db
path: /db/frigate.db
logger:
# Optional: default log level (default: shown below)
default: info
logs:
frigate.app: info
frigate.video: info
frigate.record: info
# frigate.mqtt: info
# frigate.edgetpu: info
# frigate.zeroconf: info
# frigate.record: info
# frigate.events: info
# peewee: info
detectors:
coral:
type: edgetpu
device: usb
mqtt:
host: 192.168.120.254
user: xxxxxx
password: xxxxxx
stats_interval: 60
snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: True
# Optional: print a timestamp on the snapshots (default: shown below)
timestamp: True
# Optional: draw bounding box on the snapshots (default: shown below)
bounding_box: True
# Optional: crop the snapshot (default: shown below)
crop: False
# Optional: height to resize the snapshot to (default: original size)
# height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
# required_zones:
# - entire_yard
# - front_yard_street
retain:
default: 5
objects:
person: 5
objects:
track:
- person
rtmp:
enabled: False
go2rtc:
stream:
office_high:
- rtspx://192.168.100.1:7441/zuqiocLfJeAXUCOP
office_low:
- rtspx://192.168.100.1:7441/OG10qvYd9TREkcFA
pool_high:
- rtspx://192.168.100.1:7441/ubxWpFU376QD1eOm
pool_low:
- rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
backyard_high:
- rtspx://192.168.100.1:7441/CwnySMZFN2rYoMvx
backyard_low:
- rtspx://192.168.100.1:7441/3Exd46wtOuVxMMk8
sideyard_high:
- rtspx://192.168.100.1:7441/1aUpwawO1EJUDUBT
sideyard_low:
- rtspx://192.168.100.1:7441/vL3uSs1fIHd8MQPJ
backdeck_high:
- rtspx://192.168.100.1:7441/JiCxVjTaor4ehjT1
backdeck_low:
- rtspx://192.168.100.1:7441/pDafClgV3eXexuM9
living_room_high:
- rtspx://192.168.100.1:7441/sIhqRkwMU9rrAS4w
living_room_low:
- rtspx://192.168.100.1:7441/tlNVjdkcR3ewlss3
garage_high:
- rtspx://192.168.100.1:7441/xO2din5BhB2N6HST
garage_low:
- rtspx://192.168.100.1:7441/gC3wfmI6ETE4pq7T
driveway_high:
- rtspx://192.168.100.1:7441/1KMFJohmtwFnFbiL
driveway_low:
- rtspx://192.168.100.1:7441/vg2bEQ1lGfMcsJrH
server_room_high:
- rtspx://192.168.100.1:7441/JGkidgpVPslCkgEQ
server_room_low:
- rtspx://192.168.100.1:7441/ZnTxwTIDWUOmrHIt
basement_high:
- rtspx://192.168.100.1:7441/n5tmrpmbDHJTALdz
basement_low:
- rtspx://192.168.100.1:7441/C9JgAAcM7030HL4P
upstairs_high:
- rtspx://192.168.100.1:7441/o8hn7teaizs3lW5y
upstairs_low:
- rtspx://192.168.100.1:7441/LzS1mD1lQoa8v0nY
grand_room_high:
- rtspx://192.168.100.1:7441/v0oq2YR9MYlZ8yZR
grand_room_low:
- rtspx://192.168.100.1:7441/yXCjrq2ywbx2yG4C
basement_unfinished_high:
- rtspx://192.168.100.1:7441/QEjQ1m3iQVkVQTeW
basement_unfinished_low:
- rtspx://192.168.100.1:7441/U9Hg1pTRlnnvB09z
front_door_high:
- rtspx://192.168.100.1:7441/K7yQEKu8n0RlBTWA
front_door_low:
- rtspx://192.168.100.1:7441/UoaMPaE8gILYfvcG
record:
enabled: True
retain:
days: 30
events:
pre_capture: 5
post_capture: 5
# Optional: Objects to save recordings for. (default: all tracked objects)
# objects:
# - person
required_zones: []
retain:
default: 5
# Optional: Per object retention days
objects:
person: 5
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
ffmpeg:
# hwaccel_args:
# - -hwaccel
# - vaapi
# - -hwaccel_device
# - /dev/dri/renderD128
# - -hwaccel_output_format
# - yuv420p
# Optional: global ffmpeg args (default: shown below)
global_args: -hide_banner -loglevel warning
input_args: >-
-c:v h264_cuvid -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport
tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -an
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac
rtmp: -c:v copy -f flv -ar 44100 -c:a aac
cameras:
###################
# office #
###################
frigate_office:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/zuqiocLfJeAXUCOP?enableSrtp
# rtsp://127.0.0.1:8554/office_high
# input_args: preset-rtsp-restream
#
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/OG10qvYd9TREkcFA?enableSrtp
#@- path: rtsp://127.0.0.1:8554/office_low
#@input_args: preset-rtsp-restream
#
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
# required_zones:
# - Front_Patio
# - Front_Steps
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
# required_zones:
# - Front_Patio
# - Front_Steps
# mqtt:
# required_zones:
# - Front_Patio
# - Front_Steps
# zones:
###################
# pool #
###################
frigate_pool:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920*1080
- path: rtsps://192.168.100.1:7441/ubxWpFU376QD1eOm?enableSrtp
# - path: rtsp://127.0.0.1:8554/office_high
input_args: preset-rtsp-restream
roles:
- record
# Low Resolution Stream 1280 * 720
- path: rtsps://192.168.100.1:7441/fD6ouM72bWoFijxK?enableSrtp
# - path: rtsp://127.0.0.1:8554/pool_low
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
# required_zones:
# - Front_Patio
# - Front_Steps
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
# required_zones:
# - Front_Patio
# - Front_Steps
# mqtt:
# required_zones:
# - Front_Patio
# - Front_Steps
# zones:
###################
# backyard #
###################
frigate_backyard:
objects:
track:
- person
- dog
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/CwnySMZFN2rYoMvx?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/3Exd46wtOuVxMMk8?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# Side Yard #
###################
frigate_sideyard:
objects:
track:
- person
- dog
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/1aUpwawO1EJUDUBT?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/vL3uSs1fIHd8MQPJ?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# backdeck #
###################
frigate_backdeck:
objects:
track:
- person
- dog
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/JiCxVjTaor4ehjT1?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/pDafClgV3eXexuM9?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
motion:
mask:
- 382,128,375,175,142,195,142,134
###################
# living_room #
###################
frigate_living_room:
objects:
track:
- person
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/sIhqRkwMU9rrAS4w?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/tlNVjdkcR3ewlss3?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# garage #
###################
frigate_garage:
objects:
track:
- person
- bicycle
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/xO2din5BhB2N6HST?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/gC3wfmI6ETE4pq7T?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# driveway #
###################
frigate_driveway:
objects:
track:
- person
- dog
- car
- bicycle
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/1KMFJohmtwFnFbiL?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/vg2bEQ1lGfMcsJrH?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# server_room #
###################
frigate_server_room:
objects:
track:
- person
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/JGkidgpVPslCkgEQ?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/ZnTxwTIDWUOmrHIt?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# basement #
###################
frigate_basement:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/n5tmrpmbDHJTALdz?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/C9JgAAcM7030HL4P?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 20
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# upstairs #
###################
frigate_upstairs:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/o8hn7teaizs3lW5y?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/LzS1mD1lQoa8v0nY?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# grand_room #
###################
frigate_grand_room:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/v0oq2YR9MYlZ8yZR?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/yXCjrq2ywbx2yG4C?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
##############################
# basement_unfinished #
##############################
frigate_basement_unfinished:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/QEjQ1m3iQVkVQTeW?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/U9Hg1pTRlnnvB09z?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# front_door #
###################
frigate_front_door:
ffmpeg:
inputs:
# High Resolution Stream 3840 * 2160
- path: rtsps://192.168.100.1:7441/K7yQEKu8n0RlBTWA?enableSrtp
roles:
- record
# Low Resolution Stream 1280 x 720
- path: rtsps://192.168.100.1:7441/UoaMPaE8gILYfvcG?enableSrtp
roles:
- detect
detect:
width: 1280
height: 720
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
objects:
track:
- person
- people
- dog
- car
- bicycle
- bus
zones:
front_yard_zone:
coordinates: 907,576,797,102,685,144,561,183,486,201,433,229,253,297,47,436,41,413,0,576,572,576,659,576,804,576
objects:
- bicycle
- people
- person
driveway_zone:
coordinates: 806,25,841,70,861,67,266,289,206,291,349,228,600,122
objects:
- car
- bicycle
- bus
- person
street_zone:
coordinates: 28,376,359,204,728,51,669,30,114,228,0,307
objects:
- car
- bicycle
- person
- bus
### Any other relevant information
_No response_
Describe what you are trying to accomplish and why in non technical terms
Update the notification once double-take has finished potentially identifying any persons in the image.
Describe the solution you'd like
Option to include and update the notification title/message as necessary, but only if there is a match.
Describe alternatives you've considered
I have an idea on what I need to do to make it work, I just don't have enough of an understanding how to grab the data required.
I had my camera firing a notification based on the state of my alarm panel. Originally it was triggering when my alarm was both disarmed and armed. I recently changed it to only fire when armed, yet its still sending the notification while disarmed. All my other cameras are set up exactly the same and respect their state filter, seems that changes after creation do not apply?
0.12.0.1
alias: SECURITY - Front Door Alert
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
tv_transparency: 0%
camera: camera.front_door
tv_size: large
tv_position: center
color: grey
cooldown: 300
labels:
- person
notify_group: notify.personalerts
state_filter: true
state_entity: alarm_control_panel.home_alarm
state_filter_states:
- armed_stay
- armed_away
- triggered
- pending
debug: true
No response
Frigate Notification DEBUG (in loop): Info: Last Zones: [], Current zones: [], sublabel: None, IOS sound: False, Android Sound: enabled, Triggers: New Snapshot: False, Presence Changed: False, stationary moved: False, entered zones changed: False, sublabel changed: False, Conditions: Loitering: 0 or Presence Entity not home: OFF - PASS, zone filter TEST: OFF - PASS, multi-zone filter: OFF - PASS, state filter TEST: ON - FAIL image: "/api/frigate/notifications/1685546679.713229-uzy6ji/thumbnail.jpg?format=android" triggered by automation SECURITY - Front Door Alert mqtt topic frigate/events
8:24:45 AM - 14 minutes ago
Frigate Notification DEBUG: Info: fps: 5, frigate event id: 1685546679.713229-uzy6ji, object (formatted): person (Person), Config: camera(formatted): front_door(Front Door), Base URL: , critical: False, alert once: False, Update Thumbnails: False, Target: group (input/formatted): notify.personalerts/personalerts, cooldown: 300s, loiter timer: 0s, color: grey, sound: default, Title: , Message: A Person was detected on the Front Door camera., tap_action: /api/frigate/notifications/1685546679.713229-uzy6ji/front_door/clip.mp4, button 1 Text/URL: View Clip (/api/frigate/notifications/1685546679.713229-uzy6ji/front_door/clip.mp4), button 2 Text/URL: View Snapshot (/api/frigate/notifications/1685546679.713229-uzy6ji/snapshot.jpg), button 3 Text/URL: Silence New Notifications (silence-front_door), icon: mdi:home-assistant tv: False, tv_position: center, tv_size: large, tv_duration: 10, tv_transparency: 0%, tv_interrupt: False, Filters: Zones: zone filter toggle on: False, Multi Zone toggle on: False, Required zones: [], Entered Zones: [], Zone Filter TEST: PASS, Required objects TEST: Input: ['person'], TEST: PASS presence entity (not home): Entity: TEST: PASS, disabled times: [], State Filter: state filter toggle on: True, state filter entity: alarm_control_panel.home_alarm, required states: ['armed_stay', 'armed_away', 'triggered', 'pending'], State Filter TEST: FAIL, triggered by automation SECURITY - Front Door Alert mqtt topic frigate/events
8:24:40 AM -
Seemingly randomly, when I get an Android notification, there is no thumbnail associated with it.
0.11.0.15b
alias: "[Alert] Frigate Cat Feeder"
description: ""
use_blueprint:
path: SgtB/frigate_0-11_notification_beta.yaml
input:
tv_transparency: 0%
camera: camera.cat_feeder
notify_device: 47119e198b28991dddf5d789f67df712
base_url: https://nabulolol.ui.nabu.casa
update_thumbnail: true
tv_size: large
tv_position: center
message: >-
A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the
{{ camera_name }} camera
color: grey
No response
Trace from failed run: https://pastebin.com/5NndWKCv
I want to have a message as part of the notification that is different based on what zone the object is in.
Example:
A person was detected on the Front Porch. (Likely would look something like this: "A {{ label }} was detected {{ 'on the Front Porch.' if zone = 'frontporcharea' 'in the Front yard.' if zone = 'frontyardarea' }}"
How would I do this?
0.12.0.1
My Frigate is working 100% but this blueprint for notifcations is giving me such headache. My Camera's are not displaying on the dropdown? Any advise gents?
Latest
Don't have any automation file yet as reason being my camera's are not displaying on dropdown
mqtt:
host: 192.168.0.4
user: admin
password: 5480477Tuna
cameras:
kitchen_camera:
ffmpeg:
inputs:
- path: rtsp://tunavis:BeMyGuest@[email protected]:554/stream1
roles:
- rtmp
detect:
width: 1280
height: 720
Garage_Door_Camera:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/H.264
roles:
- rtmp
- detect
rtmp:
enabled: False
detect:
width: 1280
height: 720
motion:
mask:
- 428,118,435,101,411,95
Describe what you are trying to accomplish and why in non technical terms
I would like to be able to include the confidence level in the notification text.
Describe the solution you'd like
I would like to have a template value {{confidence_level}} (or something) that way we can inject the confidence level into the notification somehow.
Examples:
A Person was detected on the Driveway camera (Person: %82)
'Driveway' (Person: %82) was detected and triggered at 9:07:26 AM
Person (%82) detected on Driveway camera
Describe alternatives you've considered
This idea comes from using Blue Iris for a while. I like that I can see how sure it is. I know I can have it overlay-ed in the snapshot but sometimes I don't get the overlay for some reason.
When clicking on the thumbnail photo received from HA for movement, the page that opens responds "Clip Not Available"
0.12.0.1
alias: Frigate Notifications (0.12.0.1f)
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.doorbell
notify_device: 879f68a656f3e2c63cc86c854a9d6ee4
base_url: https://[URL TO MY HA, also works externally]
mqtt:
host: 192.168.1.177
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt_user
password: password
stats_interval: 60
detectors:
# coral:
# type: edgetpu
# device: usb
cpu1:
type: cpu
cpu2:
type: cpu
ffmpeg:
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic
cameras:
doorbell:
enabled: true
objects:
track:
- person
- car
- package
- bus
- motorcycle
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/doorbell
roles:
- detect
- clips
detect:
enabled: true
width: 2560
height: 1920
fps: 5
motion:
mask:
- 0,761,2560,780,2560,0,0,0,0,0
- 303,1005,725,1033,758,704,402,729
- 0,1180,328,1176,353,838,0,809
- 2560,505,2560,1427,1739,1342,1686,501
#coordinates to ignore
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 3
go2rtc:
streams:
doorbell:
- rtsp://xxxxx:[email protected]:554/h264Preview_01_main
webrtc:
candidates:
- FRIGATE_IP:8555
No response
I have filled out the "Base URL (Optional)" field with https://ha.mydomain.net/. This resolves both inside and outside of my network and has been my HA URL for years.
Whenever a notification comes in, I can tap and hold and I'll see the live preview of the camera (which I must say is REALLY swank and I love it). But if I try to "View Clip" or "View Snapshot" I'll either see the play button with a line through it or a broken image icon, respectively. Also, I've set the color to amber
but no colors are different anywhere so I'm not entirely certain what that does.
I have to be doing something wrong, I just don't know what it is. Help?
v0.11.0.16
alias: Motion Detection - Driveway
description: Created 16APR2023
use_blueprint:
path: SgtBatten/frigate_0.11_notification.yaml
input:
tv_transparency: 0%
camera: camera.driveway
notify_group: movement_on_cameras
base_url: https://ha.mydomain.net/
alert_once: true
update_thumbnail: true
color: amber
icon: >-
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else
'home-assistant'}}
ios_live_view: true
debug: false
tv_size: large
tv_position: center
mqtt:
host: 192.168.1.230
user: homeassistant
password: [PASS]
logger:
default: info
birdseye:
mode: continuous
enabled: true
record:
expire_interval: 5
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
retain:
default: 7
mode: active_objects
snapshots:
enabled: true
retain:
default: 7
cameras:
Garage:
ffmpeg:
inputs:
- path: rtsp://[USER:PASS][email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
#- detect
- path: rtsp://[USER:PASS][email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- vehicle
- animal
snapshots:
enabled: true
timestamp: true
crop: false
#retain:
#default: 6
detect:
width: 720
height: 576
#detect:
#width: 2560
#height: 1920
motion:
mask:
- 1280,0,1280,344,837,335,669,338,615,369,352,383,0,411,0,0,751,0
Front_Door:
ffmpeg:
inputs:
- path: rtsp://[USER:PASS][email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
#- detect
- path: rtsp://[USER:PASS][email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- vehicle
- animal
snapshots:
enabled: true
timestamp: true
crop: false
#detect:
#width: 2560
#height: 1920
detect:
width: 720
height: 576
motion:
mask:
- 343,230,343,261,424,264,436,180,353,167
Driveway:
detect:
width: 708
height: 480
#detect:
#width: 3840
#height: 2160
ffmpeg:
inputs:
- path: rtsp://[USER:PASS]@192.168.1.108:554/live
roles:
- record
#- detect
- path: rtsp://[USER:PASS]@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- vehicle
- animal
record:
events:
required_zones:
- driveway_entrance
- entire_driveway
snapshots:
required_zones:
- driveway_entrance
- entire_driveway
enabled: true
timestamp: true
bounding_box: true
crop: false
motion:
mask:
- 0,0,80,117,534,65,578,0
zones:
driveway_entrance:
coordinates: 87,395,139,476,146,580,0,603,0,285
objects:
- person
- vehicle
- animal
entire_driveway:
coordinates: 614,720,772,720,846,662,1083,143,608,0,293,0,56,0,83,153,0,247,0,616,105,571
objects:
- person
- animal
- vehicle
Back_Deck:
detect:
width: 708
height: 480
#detect:
#width: 2592
#height: 1944
ffmpeg:
inputs:
- path: rtsp://[USER:PASS]@192.168.1.109:554/live
roles:
- record
#- detect
- path: rtsp://[USER:PASS]@192.168.1.109:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- animal
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
#retain:
#default: 4
motion:
frame_alpha: 0.3 #Hopefully reduce detection of shadows
mask:
- 0,0,0,224,436,100,796,21,1008,89,873,0,766,0
- 568,638,800,686,813,434,833,430,587,432
- 1280,720,1061,720,1088,499,1183,191,1280,247
Side_Yard:
detect:
width: 704
height: 480
#detect:
#width: 3840
#height: 2160
ffmpeg:
inputs:
- path: rtsp://[USER:PASS]@192.168.1.111:554/live
roles:
- record
#- detect
- path: rtsp://[USER:PASS]@192.168.1.111:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- animal
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
#retain:
#default: 4
motion:
mask:
- 0,0,744,0,558,266,373,497,133,651,0,667
Front_Yard:
detect:
width: 704
height: 480
#detect:
#width: 3840
#height: 2160
ffmpeg:
inputs:
- path: rtsp://[USER:PASS]@192.168.1.110:554/live
roles:
- record
#- detect
- path: rtsp://[USER:PASS]@192.168.1.110:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- animal
- vehicle
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
#retain:
#default: 4
motion:
mask:
- 479,367,439,253,401,175,333,164,432,113,444,0,0,0,0,287,0,411,140,295,172,308,170,419,271,496
- 891,0,782,51,735,124,587,178,484,201,409,123,415,0
model:
labelmap:
1: vehicle
2: vehicle
3: vehicle
5: vehicle
7: vehicle
15: animal
16: animal
17: animal
18: animal
19: animal
20: animal
21: animal
22: animal
23: animal
24: animal
ffmpeg:
input_args: preset-rtsp-generic
hwaccel_args: preset-intel-qsv-h264
detectors:
# Required: name of the detector
coral:
# Required: type of the detector
# Valid values are 'edgetpu' (requires device property below) and 'cpu'.
type: edgetpu
# Optional: device name as defined here: https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
device: usb
# Optional: num_threads value passed to the tflite.Interpreter (default: shown below)
# This value is only used for CPU types
num_threads: 3
No response
Describe what you are trying to accomplish and why in non technical terms
I want to have automatic backup of video clips imitated as soon as there is detection.
Describe the solution you'd like
A separate blueprint triggering on the same trigger as Frigate mobile notification (or can be in the same blueprint but there would a lot of options). First allow user shell command defined by themselves. Later version can allow to chose commons targets.
Describe alternatives you've considered
Regular backup has intervals that either are too slow or inefficiently uses system resources for folder monitoring.
Additional context
Google drive is an obvious target or B2 or S3 buckets (You just need to make a POST request with credentials). Beta version it would be find to define your own shell command I have rclone
mounted on my machine I would just need to trigger sync
command. I just need to a trigger when a clip is added.
Describe what you are trying to accomplish and why in non technical terms
Sticky notification - notification disappears when clicked. If viewing snapshot the notification disappears and unable to go back and view clip.
Describe the solution you'd like
configurable sticky notifications
Describe what you are trying to accomplish and why in non technical terms
I want to be able to set a period of time when regardless of the presence status the system will send alerts... so that I can say if no one is home send alerts but also send alerts during the hours of x and y when I will be home but want to know if anyone is in my garden etc
Describe the solution you'd like
A clear and concise description of what you want to happen. A time based override so that regardless of other setting it sends alerts during these hours
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Describe what you are trying to accomplish and why in non technical terms
Currently the icon option only works for Android, not IOS.
Describe the solution you'd like
IOS requires a different symbol set as per below.
Icons for notification actions are only allowed from the SF Symbols library, which is different than other icons in Home Assistant which come from Material Design Icons library. This is due to limitations placed on these actions from Apple.
icon
field in message data. easy to implementMy goal is to understand and then possibly create a PR to update the README / docs to explain in details how the notification sound option works.
Per the blueprint :
Notification Sound - IOS only (Optional):
You can specify a soud file on your device that will play for the notifications. You will need to import the sound file into home assistant.
Is the mentioned "import" related to "Home Assistant iOS app" or "Home Assistant server"?
IF related to the iOS app, going into "Notifications Settings -> Sounds" , there are 3 available tabs :
Imported
Bundled
System
Both Bundled & System shows a long list of sounds. The ones in Bundled all have extension ".wav" and the ones in System ends with ".caf" - only today I realized the difference into the extension.
Last night I tried to set the "Notification Sound" to:
Siren_Countdown_Major_Haptic.caf
That didn't work, then I removed the extension - still didn't work.
Perhaps .caf files aren't supported? Perhaps I need to import all of those sounds directly into the hass server, if so is it in .../config/www/ ?
Thanx.
0.11.0.16
alias: 5frontyard - person
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
tv_transparency: 0%
camera: camera.5frontyard
notify_device: a1aac1885481adc1579cabd10d5640f9
base_url: https://ha.xxxxxxxxxxx.ccccc/
title: FRONTYARD PRESENCE
critical: "true"
update_thumbnail: true
alert_once: true
ios_live_view: true
labels:
- person
zone_filter: true
cooldown: 60
silence_timer: 120
loiter_timer: 1
tv_size: large
sound: Siren_Countdown_Major_Haptic
tv_position: center
color: grey
zones:
- entrances
No response
No response
I am using 2 frigate servers which are integrated with HASS and working.
Also have 2 frigate notifications for 2 different cameres (every camera is on different frigate server)
Only the first frigate notification is working (Crosstreet), the second is not triggered at all (Mainstreet1).
My own Alexa notification is working fine for camera - Mainstreet1
Any suggestion?
0.12.0.1g
alias: Frigate Notification - Crosstreet
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.crosstreet
notify_group: ALL_DEVICES
mqtt_topic: frigatenvr1/events
client_id: frigatenvr1
critical: "false"
alert_once: true
attachment: snapshot
update_thumbnail: true
sticky: false
labels:
- person
alias: Frigate Notifications - Mainstreet1
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.maingate1
notify_group: ALL_DEVICES
mqtt_topic: frigatenvr3/events
client_id: frigatenvr3
alert_once: true
attachment: snapshot
labels:
- person
- car
debug: true
alias: Frigate NVR3 Person Notifications - Alexa
description: ""
trigger:
- platform: mqtt
topic: frigatenvr3/events
payload: new
value_template: "{{ value_json.type }}"
condition:
- "{{ trigger.payload_json['after']['label'] == 'person' }}"
action:
- service: notify.alexa_media_andrei_s_3rd_echo_dot
data:
message: >-
A {{trigger.payload_json["after"]["label"]}} was detected from
{{trigger.payload_json["after"]["camera"]}} camera.
data:
tag: "{{trigger.payload_json[\"after\"][\"id\"]}}"
when: "{{trigger.payload_json[\"after\"][\"start_time\"]|int}}"
entity_id: >-
camera.{{trigger.payload_json["after"]["camera"] | replace("-","_") |
lower}}
- service: notify.alexa_media_andrei_s_2nd_echo_dot
data:
message: >-
A {{trigger.payload_json["after"]["label"]}} was detected from
{{trigger.payload_json["after"]["camera"]}} camera.
data:
tag: "{{trigger.payload_json[\"after\"][\"id\"]}}"
when: "{{trigger.payload_json[\"after\"][\"start_time\"]|int}}"
entity_id: >-
camera.{{trigger.payload_json["after"]["camera"] | replace("-","_") |
lower}}
- service: notify.alexa_media_andrei_s_echo_dot
data:
message: >-
A {{trigger.payload_json["after"]["label"]}} was detected from
{{trigger.payload_json["after"]["camera"]}} camera.
data:
tag: "{{trigger.payload_json[\"after\"][\"id\"]}}"
when: "{{trigger.payload_json[\"after\"][\"start_time\"]|int}}"
entity_id: >-
camera.{{trigger.payload_json["after"]["camera"] | replace("-","_") |
lower}}
mode: single
No response
No response
No Notifications sent to iphone/ipad
0.12.0.1
alias: Frigate Notifications (0.12.0.1)
description: frontcam
use_blueprint:
path: SgtBatten/Stable.yaml
input:
tv_transparency: 0%
camera: camera.frontcam
tv_size: large
tv_position: center
notify_device: fd1b71c6bd19e7a3c0609a9dd32f1a81
color: grey
debug: true
mqtt:
enabled: False
host: homeassistant.local
user: m##qtt
password: #####
detectors:
coral:
type: edgetpu
device: usb
cameras:
# rear:
# ffmpeg:
# inputs:
# - path: rtsp://#####:######@192.168.0.79:554/cam/realmonitor?channel=1&subtype=3
# roles:
# - detect
# rtmp:
# enabled: False
frontcam:
ffmpeg:
inputs:
- path: rtsp://#####:####[email protected]:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- clips
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
rtmp:
enabled: False
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
fps: 5
stationary:
interval: 0
threshold: 50
objects:
track:
- person
- cat
motion:
mask:
- 755,154,399,153,175,169,0,282,0,0,1158,0,1164,209
zones:
zone_0:
coordinates: 0,371,190,180,474,149,1280,153,1280,720,0,720
Birdcam:
ffmpeg:
inputs:
- path: rtsp://#####:######@192.168.0.85/cam/realmonitor?channel=1&subtype=0
roles:
- detect
- clips
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
rtmp:
enabled: False
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
fps: 10
objects:
track:
- bird
motion:
mask:
- 302,720,0,720,0,479,0,302,0,0,188,0
- 1280,720,1280,0,954,0,1032,276,990,514,1008,646,1010,720
# Optional: Record configuration
# NOTE: Can be overridden at the camera level
record:
# Optional: Enable recording (default: shown below)
# WARNING: If recording is disabled in the config, turning it on via
# the UI or MQTT later will have no effect.
# WARNING: Frigate does not currently support limiting recordings based
# on available disk space automatically. If using recordings,
# you must specify retention settings for a number of days that
# will fit within the available disk space of your drive or Frigate
# will crash.
enabled: True
# Optional: Number of minutes to wait between cleanup runs (default: shown below)
# This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o
expire_interval: 60
# Optional: Retention settings for recording
retain:
# Optional: Number of days to retain recordings regardless of events (default: shown below)
# NOTE: This should be set to 0 and retention should be defined in events section below
# if you only want to retain recordings of events.
days: 0
# Optional: Mode for retention. Available options are: all, motion, and active_objects
# all - save all recording segments regardless of activity
# motion - save all recordings segments with any detected motion
# active_objects - save all recording segments with active/moving objects
# NOTE: this mode only applies when the days setting above is greater than 0
mode: all
# Optional: Event recording settings
events:
# Optional: Number of seconds before the event to include (default: shown below)
pre_capture: 5
# Optional: Number of seconds after the event to include (default: shown below)
post_capture: 5
# Optional: Objects to save recordings for. (default: all tracked objects)
objects:
- person
- bird
# Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)
required_zones: []
# Optional: Retention settings for recordings of events
retain:
# Required: Default retention days (default: shown below)
default: 5
# Optional: Mode for retention. (default: shown below)
# all - save all recording segments for events regardless of activity
# motion - save all recordings segments for events with any detected motion
# active_objects - save all recording segments for event with active/moving objects
#
# NOTE: If the retain mode for the camera is more restrictive than the mode configured
# here, the segments will already be gone by the time this mode is applied.
# For example, if the camera retain mode is "motion", the segments without motion are
# never stored, so setting the mode to "all" here won't bring them back.
mode: motion
# Optional: Per object retention days
objects:
person: 5
bird: 2
motorcycle: 1
snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: True
# Optional: save a clean PNG copy of the snapshot image (default: shown below)
clean_copy: True
# Optional: print a timestamp on the snapshots (default: shown below)
timestamp: False
# Optional: draw bounding box on the snapshots (default: shown below)
bounding_box: False
# Optional: crop the snapshot (default: shown below)
crop: False
# Optional: height to resize the snapshot to (default: original size)
height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
required_zones: []
# Optional: Camera override for retention settings (default: global values)
retain:
# Required: Default retention days (default: shown below)
default: 10
# Optional: Per object retention days
objects:
person: 5
Enable the unauthenticated notification event proxy enabled.
Other notifications work from HA just cant get frigate to work.
Describe what you are trying to accomplish and why in non technical terms
I want to be able to create one blueprint for two separate Frigate cameras that cover similar areas so that silence and cooldown functions will work for both cameras at the same time
Describe the solution you'd like
An option in the blueprint to be able to pull triggers from multiple frigate cameras
Describe alternatives you've considered
I could certainly use two seperate blueprints, one for each camera, but then I run into the issue of two simultaneous notifications that occur when objects enter the same area, and that cooldowns and silence commands will only affect one of the blueprints/cameras. I can't think of a way for cooldowns and silence commands to to interact with two blueprints at the same time.
Additional context
I have two cameras covering similar areas. One of them is a wifi doorbell camera covering the front door, and the other is a wired PoE camera covering the wider front porch area. I have been using one blueprint notification for the doorbell, but I would also like to leverage the wider coverage area and higher resolution of the PoE camera, and also use it as a hedge against situations where the doorbell disconnects from Wifi, however infrequently. However, if I enable two separate blueprints for each camera, I will naturally receive two notifications each time an object crosses a zone that overlaps in both cameras' fields of view. I also would like to be able to trigger a single silence command that will silence notifications from both cameras at the same time, not just the single camera tied to each blueprint. The same goes for cooldowns. I'm not sure that this modification is either feasible or a reasonable request/beyond the scope of your blueprint, but I figured I could ask. If you have any other suggestions for me to make this happen on my own, I would welcome them. Thanks for considering, and for your excellent work on this blueprint
Hello
I am really struggling with iOS notifications. I will admit my coding isn’t the best so do apologies.
I am using Nuba casa, so does the url need to be added or should it work with my HA app that is on my iOS device.
I have also added network storage on the new HA release so my frigate media is routing to that, so does the config for the automation need to change as getting “event not found” error messages. I am also getting notifications every 5 secs even the thought it show event not found.
12.1
alias: LR Motion1
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
tv_transparency: 0%
camera: camera.livingroom
notify_device: a2cf113808a839811c9c7824bbc3ad69
title: Living Room Motion
message: A Person was detected on the Living Room camera.
attachment: snapshot
tap_action: "{{base_url}}/api/frigate/notifications/{{id}}/{{camera}}/clip.mp4"
tv_size: large
tv_position: center
color: grey
url_1: "{{base_url}}/api/frigate/notifications/{{id}}/{{camera}}/clip.mp4"
url_3: silence-{{ camera }}
ios_live_view: true
update_thumbnail: true
icon: mdi:cctv
url_2: "{{base_url}}/lovelace"
tv_interrupt: false
mqtt:
host: 192.168.20.93
port: 1883
user: mqttuser
password: mqttuser
cameras:
Garage:
enabled: True
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/profile2
roles:
- detect
- snapshots
- record
detect:
enabled: True
width: 1280
height: 720
fps: 5
snapshots:
enabled: True
clean_copy: False
timestamp: True
bounding_box: True
retain:
default: 1
record:
enabled: True
retain:
days: 0
objects:
track:
- person
Kitchen:
enabled: True
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/live
roles:
- detect
- snapshots
- record
detect:
enabled: True
width: 1920
height: 1080
fps: 5
snapshots:
enabled: True
clean_copy: False
timestamp: True
bounding_box: True
retain:
default: 1
record:
enabled: True
retain:
days: 0
objects:
track:
- person
LivingRoom:
enabled: True
ffmpeg:
inputs:
- path: rtsp://Administrator:Brun4397!"[email protected]/stream1
roles:
- detect
- snapshots
- record
detect:
enabled: True
width: 1280
height: 720
fps: 5
snapshots:
enabled: True
clean_copy: False
timestamp: True
bounding_box: True
retain:
default: 1
record:
enabled: True
retain:
days: 0
objects:
track:
- person
No response
I am attempting to pass the image as an attachment to an already-configured SMTP integration setup as notify.email. It appears that all the Frigate integration seems to work fine, like the events trigger and we can see in the trace timeline that it's generating a link to an image.
Overall for email, text seems to work fine, for what it's worth, as I can control both the Subject and Body. It's just that the image attachment part doesn't come through.
0.12.0.1
alias: Frigate Notifications (0.12.0.1)
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.back_porch
notify_group: notify.email
title: Person sighted
message: >-
A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the
{{ camera_name }} camera{{ ' in the ' + entered_zones if entered_zones
else '.'}}
attachment: snapshot
debug: true
No response
Here's some trace info from a DEBUG level event where you can see some of the required info coming through:
Frigate Notification () DEBUG: Info: fps: 5, frigate event id: 1686784172.22988-elye99, object (formatted): person (Person), Config: camera(formatted): back_porch(Back Porch), Base URL: , critical: False, alert once: False, Update Thumbnails: False, Target: group (input/formatted): notify.email/email, cooldown: 30s, loiter timer: 0s, color: steelblue, sound: default, Title: Person sighted, Message: A Person was detected on the Back Porch camera., tap_action: /api/frigate/notifications/1686784172.22988-elye99/back_porch/clip.mp4, button 1 Text/URL: View Clip (/api/frigate/notifications/1686784172.22988-elye99/back_porch/clip.mp4), button 2 Text/URL: View Snapshot (/api/frigate/notifications/1686784172.22988-elye99/snapshot.jpg), button 3 Text/URL: Silence New Notifications (silence-back_porch), icon: mdi:home-assistant tv: False, tv_position: center, tv_size: large, tv_duration: 10, tv_transparency: 0%, tv_interrupt: False, Filters: Zones: zone filter toggle on: False, Multi Zone toggle on: False, Required zones: [], Entered Zones: [], Zone Filter TEST: PASS, Required objects TEST: Input: , TEST: PASS presence entity (not home): Entity: TEST: PASS, disabled times: [], State Filter: state filter toggle on: False, state filter entity: , required states: [], State Filter TEST: PASS,
The argument you pass to rstrip
in python is a set of characters
to strip, not a string
to strip.
Hence: rstrip('_1').rstrip('_2').rstrip('_3')
will replace any of these characters at the end of a string [123_]
So a camera which is named hello123_
would get changed to hello
technically rstrip('_123')
would do exact same as code you have in your BETA blueprint.
Anyways it's wrong.
Additionally the replace('camera.')
would also error on a camera named camera.outdoor.camera.321
would be replaced to outdoor.
To resolve, I've changed this code from
camera: "{{ input_camera.rstrip('_1').rstrip('_2').rstrip('_3') | replace('camera.', '') }}"
to
camera: "{{ input_camera | regex_replace('^camera\.|_\d+$') }}"
Docs: https://www.home-assistant.io/docs/configuration/templating/#regular-expressions
^camera\.
= ^
is saying only look at start of string. Then look for camera.
. You need to escape the period, hence the slash.
|
= checks for another regex
_\d+$
= look for underscore followed by any amount of digits [0-9]
. $
denotes, only look for this at end of the string.
Then replace either of those if found with blank string ''
I assume you also only want to strip this if it's at start of the string. I've added regex_replace in my code for this as well. This bug also exists in STABLE i assume and should also be fixed there.
I originally had my camera's named in frigate to their last 3 digits of their IPs because I'm lazy. This caused errors where python thought they were int
and not strings
I believe, causing other issues. I didn't debug this and instead just changed them to be prefixed with a string. This issue is not resolved (or may not even exist)
diff --git a/Frigate Camera Notifications/Beta b/Frigate Camera Notifications/Beta
index 2f77647..fb73870 100644
--- a/Frigate Camera Notifications/Beta
+++ b/Frigate Camera Notifications/Beta
@@ -679,7 +679,7 @@ blueprint:
mode: parallel
trigger_variables:
input_camera: !input camera
- camera: "{{ input_camera.rstrip('_1').rstrip('_2').rstrip('_3') | replace('camera.', '') }}"
+ camera: "{{ input_camera | regex_replace('^camera\.|_\d+$', '') }}"
mqtt_topic: !input mqtt_topic
trigger:
- platform: event
@@ -694,7 +694,7 @@ trigger:
id: frigate-event
variables:
input_camera: !input camera
- camera: "{{ input_camera | replace('camera.', '') }}"
+ camera: "{{ input_camera | regex_replace('^camera\.', '') }}"
camera_name: "{{ camera | replace('_', ' ') | title }}"
input_base_url: !input base_url
base_url: "{{ input_base_url.rstrip('/')}}"
@@ -705,7 +705,7 @@ variables:
update_thumbnail: !input update_thumbnail
ios_live_view: !input ios_live_view
group: !input notify_group
- group_target: "{{ group | lower | replace('notify.', '') | replace(' ','_') }}"
+ group_target: "{{ group | lower | regex_replace('^notify\.', '') | replace(' ','_') }}"
zone_only: !input zone_filter
input_zones: !input zones
zones: "{{ input_zones | list | lower }}"
import re
# https://www.home-assistant.io/docs/configuration/templating/#regular-expressions
entity_prefix = 'camera.'
camera_name = 'outdoor.camera.3'
camera = entity_prefix + camera_name
print(camera)
# wrong, replaces 3 at end of string
print(camera.rstrip('_1').rstrip('_2').rstrip('_3'))
# ^ same code as above, but still wrong
print(camera.rstrip('_123'));
# also wrong, as this will replace "camera." anywhere in camera name, not just at beginning
print(camera.rstrip('_1').rstrip('_2').rstrip('_3').replace('camera.', ''))
# using regex. Checks for "camera." at the start of string.
# AND Checks for _[AnyAmountOfNumbers] at end of string and replaces with blank
print(re.sub('^camera\.|_\d+$', '', camera))
dev
doesn't matter
doesn't matter
No response
Describe what you are trying to accomplish and why in non technical terms
I want to be able to use telegram to publish notifications instead of only app notifications.
Describe the solution you'd like
Use notify.telegram to publish notifications
Additional context
I set the notification_group to "notify.telegram" (that I set up) but I only receive a message saying "Motion was detected on the porch camera."
Thumbnails on Android notifications always work and send every time but on IOS sometimes they don't send for some reason, I mostly always get the thumbnail on Android.
0.12.0.1f
IOS:
alias: FRIGATE - SILENT TEST - GROUP - Porch ALL notifications
description: ""
trace:
stored_traces: 40
use_blueprint:
path: hunterjm/frigate_0.10.1_notification.yaml
input:
color: indigo
camera: camera.porch
notify_group: frigate_notify_group
critical: "false"
alert_once: true
update_thumbnail: true
zone_filter: true
zones:
- porch_deck
- porch_stairs
labels:
- person
title: Person • Porch
message: >-
A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the
{{ camera_name }} camera{{ ' in the ' + entered_zones if entered_zones
else '.'}}
custom_url: Dashboard
button_2: Stream
icon: >-
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else
'home-assistant'}}
tv_transparency: 0%
tv_size: large
tv_position: center
tap_action: /homekit-infused/cameras
url_2: >-
{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}
button_1: Clip
subtitle: Touch & hold notification for options
video: /api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
icon_1: sfsymbols:video
icon_2: sfsymbols:video.and.waveform
icon_3: sfsymbols:speaker.slash
base_url: (removed)
No response
No response
According to @Elder-HVAC-Man
My problem is that when I click on a notification on my iPads, HA tries to open, but crashes. Clicking on the same notification on my iPhone and I get the video.
On my iPad, if HA companion app “confirm before opening url” setting is ticked, the clip will work after you tell it is okay to open. If it is unticked, it doesn’t work. Also when asked whether you want to open the url, the option to always allow will untick the option and cause failure.
View Snapshot behaves in the same manner. Works if you “allow” it each time.
0.11.0.16a
N/A
No response
No response
After recieving a notification on my phone the action button set as view stream doesn't work, it points me to a error 404 web page.
Snaps and clips work.
Android 13
0.12.0.1 and 0.12.0.1f
alias: "Office Cam Notification "
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.office_cam
notify_device: 7815696ecbf1c96e6894b779456d330e
base_url: https://place.onThe.net/
mqtt_topic: frigate/events
message: >-
{{ label }} detected - {{ camera_name }} at
{{event['after']['start_time']|timestamp_custom('%H:%M')}}
critical: "true"
attachment: snapshot
update_thumbnail: true
video: /api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
sticky: true
presence_filter: person.bug23451
tap_action: /lovelace
url_3: >-
{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}
button_3: Stream
button_2: Snapshot
button_1: Clip
No response
No response
Describe what you are trying to accomplish and why in non technical terms
I want to be able to send the notification based on what zones have been entered and in what order so that I can determine an objects direction of travel and only be notified when cars are arriving at my house and not when leaving.
Describe the solution you'd like
Much like the option the filter zones for notifications I would like to be able to choose what order they where triggered.
Describe alternatives you've considered
Alternatively if I could just choose what zone must have been triggered first it would accomplish the same thing.
Additional context
On a frigate event under payload. the zones are listed 0. 1. 2. and so on and from this we should be able to determine the order of which they were entered.
I am having trouble setting up a notification group.
Specifically, in my configurations.yaml
file where I have added
notify:
- name: Notification_Group
platform: group
services:
- service:
- service:
I have no idea what to put for service, or where to look to get service. I have notifications setup already, pushing notifications to just my phone, and it works really well. But I want to create a notification group to push to both my phone and my wife's. The documentation at https://www.home-assistant.io/integrations/group/#notify-groups doesnt really help me, and I am still unsure what to put for each service entry.
0.12.0.1
- id: '1690399193051'
alias: 'Notify: Front Cam - Person'
description: Sends push notification on person detected at front camera
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.front
notify_device: 63fa2296a6448fb4f88ed5959ec20954
base_url: <redacted>
message: Person detected - {{camera_name}}
update_thumbnail: true
No response
No response
Describe what you are trying to accomplish and why in non technical terms
Source_URL:
To reflect this repo inside HA (share button), it could make sense to adapt the source_url.
To explain, where the initial idea comes from, you could add info pointing to Hunterjm's initial version
Describe the solution you'd like
From:
source_url: https://gist.github.com/hunterjm/8ff0005104dce3f28923294f49a443b1
To (not tested):
source_url: https://github.com/SgtBatten/HA_blueprints/blob/main/Frigate%20Camera%20Notificatons/Beta
or
source_url: https://github.com/SgtBatten/HA_blueprints/blob/main/Frigate%20Camera%20Notificatons/Stable
Additional idea:
Perhaps future versions might be formally released too... Then its easier to follow major versions (if subscribed to)
Describe alternatives you've considered
n/a
Additional context
n/a
Describe what you are trying to accomplish and why in non technical terms
I want to be able to set for how long notifications are muted.
Describe the solution you'd like
There are two options how to implement it that can both co-exist:
a) In notification action selection list add more options with predefined notification muting times (10 minutes; 1 hour; 3 hours; 6 hours... etc.)
b) In notification action selection list add Mute for...
and when it is elected a dialog pops up with a list of options.
Describe alternatives you've considered
Training AI to learn my face... takes time... needs plugins... later. Presence detection methods are... not consistent.
Additional context
This is functionality that I have seen in "Alfred" and Android app that turns your smartphone into a security web cam.
This suspension of of notifications is handy when place is not visited that often and presence detection is too slow.
I need help getting my frigate notifications working. I'm using the latest stable blueprint (0.12.0.1). I'm running frigate 0.12.0-DA3E197. I feel like its an issue with the blueprint somehow. If I manually create an automation to trigger based on if a person is detected or not, then it pushes the notification just fine. Weird thing is that even if I manually run the frigate blueprint automation it does not send my phone a notification at all. My manual automation does if I run it manually. I'm not sure what my issue is here. My mqtt seems to be working right based on my logbook that is reporting everything in real time. I made sure to have "Enable the unauthenticated notification event proxy" enabled on my frigate integration. I could not however tick this option until after I added my frigate integration. The only reason I saying that is because all the posts say it must be ticked during setup but I don't see any options to during setup. I only see it after I have it installed and I click "Configure" on it.
Frigate Notifications (0.12.0.1)
alias: Front Road - Car - Test - Stable 0.12
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.wahoo_house_front
notify_device: 886222a9632958b08806011435321f26
zones:
- front_road
labels:
- car
debug: true
detectors:
coral:
type: edgetpu
device: usb
mqtt:
host: 10.10.88.10
user: mqtt-user
password: mqtt-password
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
rtmp: -c:v copy -f flv -ar 44100 -c:a aac
go2rtc:
streams:
Wahoo-House-Front:
- rtsp://172.30.0.5:7447/6333ab58e4b042ee37865a9f_0
Wahoo-House-Back:
- rtsp://172.30.0.5:7447/6338897ee4b0e266ae3c47b7_0
Weston-Shop-Back:
- rtsp://172.30.0.5:7447/63388a22e4b0e266ae3c47cb_0
Weston-Shop-Front:
- rtsp://172.30.0.5:7447/63388a3ae4b0e266ae3c47e5_0
live:
# Optional: Set the height of the live stream. (default: 720)
# This must be less than or equal to the height of the detect stream. Lower resolutions
# reduce bandwidth required for viewing the live stream. Width is computed to match known aspect ratio.
height: 720
# Optional: Set the encode quality of the live stream (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 1
cameras:
Wahoo-House-Front:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Wahoo-House-Front
input_args: preset-rtsp-restream
roles:
- detect
- rtmp
- record
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
record:
enabled: True
events:
required_zones:
- front_driveway
- front_yard
- front_road
retain:
days: 90
mode: motion
detect:
width: 1920
height: 1080
fps: 5
snapshots:
enabled: True
motion:
mask:
- 517,31,409,246,223,45
- 0,0,331,0,332,87,0,87
- 703,236,814,252,886,205,853,106,694,100,640,172
- 0,111,27,116,91,152,126,224,123,321,0,376
- 569,101,1195,121,1190,0,703,0
objects:
track:
- person
- dog
- car
filters:
car:
mask: 266,1080,1920,1080,1920,374,819,215,0,535
zones:
front_yard:
coordinates: 797,238,563,199,490,199,427,195,379,189,304,181,187,219,113,253,0,370,0,505,140,537
objects:
- person
- dog
- car
front_driveway:
coordinates: 1920,416,1718,381,1300,320,898,222,849,233,397,330,37,557,24,663,238,1080,1920,1080
objects:
- person
- dog
front_road:
coordinates: 1508,0,1036,0,908,0,875,0,770,0,625,33,539,64,479,82,0,223,0,267,326,172,949,240,1920,358,1920,0,1920,39
objects:
- car
- person
Wahoo-House-Back:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Wahoo-House-Back
input_args: preset-rtsp-restream
roles:
- detect
- rtmp
- record
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
record:
enabled: True
events:
required_zones:
- backyard_pool
- hackberry_parking_lot
- hackberry_soccer_fields
- backyard
retain:
days: 90
mode: motion
detect:
width: 1920
height: 1080
fps: 5
snapshots:
enabled: True
objects:
track:
- person
- dog
- cat
motion:
mask:
- 683,444,590,468,562,399,662,349
- 0,0,331,0,328,84,0,78
- 1873,414,1920,446,1920,515,1920,655,1840,685,1681,660,1604,603,1583,508,1617,464,1779,402
- 1427,0,562,0,628,150,982,204,1196,183
- 446,316,597,203,575,106,530,0,340,0,176,33,172,216,296,304
- 1055,426,961,430,958,303,1034,294
- 658,357,670,410,730,459,843,429,792,318,676,294
- 0,583,278,496,437,460,612,449,547,357,437,372,103,423,0,492
zones:
backyard_pool:
coordinates: 473,802,751,760,970,655,959,565,827,496,572,475,304,498,65,610,40,718,164,783
objects:
- dog
- cat
- person
hackberry_parking_lot:
coordinates: 853,159,1624,198,1342,259,542,193
objects:
- person
hackberry_soccer_fields:
coordinates: 541,346,0,421,0,213,377,184,562,177,647,186,910,222,1358,250,1028,283,856,231,748,208,728,244,607,276,623,337
objects:
- person
- dog
- cat
backyard:
coordinates: 680,364,676,429,676,463,947,499,1021,654,814,783,236,852,0,765,0,1059,1895,1080,1920,511,1920,402,1898,319,1853,289,1600,279,1490,253,1391,313,1238,316,1034,325,830,268,633,278,641,316
objects:
- person
- dog
- cat
Weston-Shop-Back:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Weston-Shop-Back
input_args: preset-rtsp-restream
roles:
- detect
- rtmp
- record
rtmp:
enabled: False # <-- RTMP should be disabled if your stream is not H264
record:
enabled: True
retain:
days: 90
mode: motion
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- person
snapshots:
enabled: True
motion:
mask:
- 0,0,328,0,328,83,0,78
Weston-Shop-Front:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Weston-Shop-Front
input_args: preset-rtsp-restream
roles:
- detect
- rtmp
- record
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
record:
enabled: True
retain:
days: 90
mode: motion
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- person
snapshots:
enabled: True
motion:
mask:
- 0,0,328,0,328,83,0,78
No response
I have two identical automation setup. One to send my phone, a notification and one to send my Android TV. A notification the zone filters are working for the phone notification and not the Android TV notification.
0.11.0.16
alias: Frigate driveway TV notification
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
tv_transparency: 0%
camera: camera.frontdoor
notify_device: 09726b3238ec63f644a4c3ed6dc0b7e6
base_url: https://domain.com
message: "{{ label }} detected - {{ camera_name }}"
alert_once: true
update_thumbnail: true
zone_filter: true
zones:
- driveway
debug: true
tv_size: large
state_filter: true
state_entity: lock.front_door
state_filter_states:
- locked
tap_action: /ccab4aaf_frigate-proxy/dashboard
button_1: View Clip
url_1: "{{base_url}}/api/frigate/notifications/{{id}}/{{camera}}/clip.mp4"
url_2: "{{base_url}}/api/frigate/notifications/{{id}}/snapshot.jpg"
tv_position: bottom-right
color: grey
tv: true
tv_duration: "5"
notify_group: living_room_tv
frontdoor:
record:
enabled: True
retain:
days: 1
mode: motion
zones:
driveway:
coordinates: 470,82,400,79,318,95,322,139,386,165,507,130,593,120
street:
coordinates: 570,91,640,113,640,76,471,33,378,21,335,22,317,36
door:
coordinates: 124,386,286,320,241,21,165,38,99,64,25,88,81,275
objects:
- person
objects:
track:
- person
- dog
- cat
- car
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer+genpts+discardcorrupt
- -flags
- low_delay
- -strict
- experimental
- -analyzeduration
- 1000M
- -probesize
- 1000M
- -rw_timeout
- "5000000"
inputs:
- path: http://192.168.x.x/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=password
roles:
- record
- path: http://192.168.x.x/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=admin&password=password
roles:
- detect
detect:
width: 640
height: 480
No response
Hello, I receive notification from this automation, but not from blueprint automation. How can I debug this issue?
No logbook events found in the Logbook.
alias: Test Camera
description: ""
trigger:
- platform: mqtt
topic: frigate/events
action:
- device_id: 6dce10ffd83a731196bd0099e43709e2
domain: mobile_app
type: notify
message: Person at back door!
title: Test MQTT Notification
mode: single
0.12.0.1
alias: Frigate Notifications (0.12.0.1)
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
tv_transparency: 0%
camera: camera.basement
notify_device: 6dce10ffd83a731196bd0099e43709e2
labels:
- person
debug: true
tv_size: large
detectors:
ov:
type: openvino
device: AUTO
model:
path: /openvino-model/ssdlite_mobilenet_v2.xml
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
mqtt:
host: homeassistant
port: 1883
topic_prefix: frigate_basement
client_id: frigate_basement
user: admin
password: <redacted>
stats_interval: 60
cameras:
basement:
ffmpeg:
inputs:
# High resolution stream 1920x1080
- path: rtsp://192.168.0.3:554/rtsp_live0
roles:
- record
# Low resolution stream 640x480
- path: rtsp://192.168.0.3:554/rtsp_live1
roles:
- detect
detect:
width: 640
height: 480
fps: 30
objects:
track:
- person
- car
- bicycle
- motorcycle
- dog
- cat
snapshots:
enabled: true
timestamp: false
bounding_box: false
crop: false
height: 175
required_zones: []
retain:
default: 10
objects:
person: 15
No response
Describe what you are trying to accomplish and why in non technical terms
I want to be able to trigger additional actions on run so that I can send a message to google home or turn on a light based on occupacy for example
Describe the solution you'd like
Add an extra option to trigger a service / action or even a script in addition to sending a notification
Describe alternatives you've considered
Can't think of any while being able to utilise the benefits of this blueprint configuration. Option used currently is to create a separate automation triggered by the camera occupancy status but that doesn't easily provide the same filtering and options unless they are fully specified manually.
Additional context
Add any other context or screenshots about the feature request here.
Entering valid freetext into the input field in the automation UI is hampered by the input field clearing text every few seconds. You either have to type and hit enter extremely quickly, or edit the automation in yaml mode to be successful.
I have also noted that select selectors with multiple true but custom value false clear, but save a null entry unexpectedly.
When I click the iOS notification, the clip is takes me to is just a crossed out play button - no actual video plays.
0.12.0.1
alias: Front Door - Front Door Camera - Notification (Blueprint)
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.front_door
notify_device: f35621be2644c6418833fca46ca6914c
message: A {{label}} was detected on the {{ camera_name }}.
ios_live_view: true
base_url: https://[myurl].ui.nabu.casa
tap_action: /frigate/notifications/{{id}}/camera.front_door_2/clip.mp4
No response
For the tap action, I've tried just the regular "View Clip" drop down option, which yielded the same result except that it took me to the browser in my phone rather than the HA iOS app. I specified the name in the tap action as there is a related bug with this Blueprint - I already have a non-Frigate (Nest) camera called "Front Door", so when I gave the camera in Frigate the same name, Home Assistant assigned it the name "Front Door 2" within the HA Frigate integration. I had to manually update the camera name to match the name given in Frigate, as the drop down option didn't work.
Describe what you are trying to accomplish and why in non technical terms
Attempting to get TV alerts working with this blueprint. I've attempted to install the required apps for my Android TV Box, but they do not support my Android TV Box.
I've found this app PipUP which is available for my for TV Box and is open source. It's older, but seems to work fine on my TV.
Describe the solution you'd like
Alternate alerts using Open Source PipUp app. Instead of closed source current implementation.
Describe alternatives you've considered
Notifications for Android TV app is not available for my TV Box. Nor is it open source.
Notify Android/Fire TV devices using https://www.home-assistant.io/integrations/nfandroidtv/
I think the above apps only support Android 11 and my device is Android 10.
The device is some cheap android TV box my cable company provides for watching TV on my fiber line.
Additional context
Android App:
https://play.google.com/store/apps/details?id=nl.rogro82.pipup
Demo:
https://www.youtube.com/watch?v=j2tCamSDm7o
Discussions / Docs:
Bug Fix
In the Blueprint header documentation, please link to and explain that for TV Alerts to work, you need to install
https://www.home-assistant.io/integrations/nfandroidtv/
While you can find this information, it's not in the blueprint header docs and if it was, it's easier UI/UX for users to understand how to get this TV implementation working.
I am not sure if this is due to some issue with my config, but every time I receive a notification with a false positive because Frigate considers something (e.g. a jacket in a chair) a person, the same notification keep coming again and again, even after I click the "mute for 2 hours".
I have confirmed the "mute for 2 hours" disables the automation, but after debugging it, it seems the issue is the blueprint contains a repeat loop that keep sending the notification again and again as the event (false person) is still there.
0.12.0.1
alias: Someone detected in Kitchen
description: ""
use_blueprint:
path: SgtBatten/frigate_notification.yaml
input:
tv_transparency: 0%
camera: camera.dahua_6
notify_device: adc34abb277ac8cfb8227a9cdf8fcdaf
alert_once: true
update_thumbnail: true
state_entity: alarm_control_panel.ha_alarm
state_filter: true
state_filter_states:
- armed_night
- armed_away
cooldown: 300
tv_size: large
tv_position: center
color: grey
silence_timer: 120
button_3: Silence 2hours
No response
No response
I have an alert set up with a filter to only alert for a single zone "zonedriveway". In the blueprint utilization I have the filter turned on:
zone_filter: true
zones:
- zonedriveway
However, with a short couple tests, it was not triggering when I entered the zone. I didn't test thoroughly, but I think it triggered when I left the zone rather than when I entered it.
I was able to get the zone filter to work properly when I enabled the zone_multi option:
zone_filter: true
zone_multi: true
zones:
- zonedriveway
Haven't had time to dig more into it, but wanted to share this potential bug.
When configuring the blueprint, no entitles appear in the dropdown.
Any
alias: Frigate Notifications Beta
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera:
notify_device: abcdefghijklmnop1234567890
cameras configured in frigate with an _n suffix no longer trigger the automation
0.12.0.1a
alias: phone 1 cat
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.phone_1
notify_device:
base_url:
critical: "false"
alert_once: true
update_thumbnail: true
video: /api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
color: green
icon: mdi:cat
labels:
- cat
cameras:
phone_1:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/phone_1
input_args: preset-rtsp-restream
roles:
- detect
- record
...
No response
When I get the notification (which works perfectly) doesn’t matter what I press it just opens up home assistant companion app at the last thing I was looking at in the app, or the dashboard if the app wasn’t open.
For example, clicking on view snapshot doesn’t show me the snap shot. Clicking view clip doesn’t take me to a clip of the video, and clicking silent new notifications doesn’t take me…. Well I’m not sure where this should take me?
I should mention I am using IOS.
0.12.0.1
alias: Frigate Driveway Car
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.driveway_cam
notify_device: cd2fd539c594c8cb9fec4a007f3cf9bb
message: >-
A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the
{{ camera_name }} camera.
ios_live_view: true
debug: false
base_url: home.my domain.co.uk
update_thumbnail: false
zone_filter: true
zones:
- driveway_entrance
state_filter: false
zone_multi: false
labels:
- car
Don’t think you’ll need this?
No response
I saw a release announcement for 0.12.0.1 and went to install the updated version and was greeted with the description stating it version 0.11.0.17.
Stable (0.12.0.1 or 0.11.0.17???)
N/A - I didn't finish importing and it isn't broken
No response
No response
I have a camera in my driveway "camera.frigate_driveway" which I can see in frigate API is detecting movement and is publishing to the events mqtt topic.
0.12.0.1
alias: Person Driveway new
description: new automation w/ latest blueprint
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.frigate_driveway
notify_device: de18046673382edb91ca0c0341af7bf4
base_url: https://ha.xxxxx.xxxxx
alert_once: true
update_thumbnail: true
ios_live_view: true
debug: true
### Frigate Config
```yaml
# yaml-language-server: $schema=http://192.168.121.128:5000/api/config/schema.json
database:
# path: /config/db/frigate.db
path: /db/frigate.db
logger:
# Optional: default log level (default: shown below)
default: info
logs:
frigate.app: info
frigate.video: info
frigate.record: info
# frigate.mqtt: info
# frigate.edgetpu: info
# frigate.zeroconf: info
# frigate.record: info
# frigate.events: info
# peewee: info
detectors:
coral:
type: edgetpu
device: usb
mqtt:
host: 192.168.120.254
user: xxxxx
password: xxxx
stats_interval: 60
snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: True
# Optional: print a timestamp on the snapshots (default: shown below)
timestamp: True
# Optional: draw bounding box on the snapshots (default: shown below)
bounding_box: True
# Optional: crop the snapshot (default: shown below)
crop: False
# Optional: height to resize the snapshot to (default: original size)
# height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
# required_zones:
# - entire_yard
# - front_yard_street
retain:
default: 5
objects:
person: 5
objects:
track:
- person
rtmp:
enabled: False
go2rtc:
stream:
office_high:
- rtspx://192.168.100.1:7441/zuqiocLfJeAXUCOP
office_low:
- rtspx://192.168.100.1:7441/OG10qvYd9TREkcFA
pool_high:
- rtspx://192.168.100.1:7441/ubxWpFU376QD1eOm
pool_low:
- rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
backyard_high:
- rtspx://192.168.100.1:7441/CwnySMZFN2rYoMvx
backyard_low:
- rtspx://192.168.100.1:7441/3Exd46wtOuVxMMk8
sideyard_high:
- rtspx://192.168.100.1:7441/1aUpwawO1EJUDUBT
sideyard_low:
- rtspx://192.168.100.1:7441/vL3uSs1fIHd8MQPJ
backdeck_high:
- rtspx://192.168.100.1:7441/JiCxVjTaor4ehjT1
backdeck_low:
- rtspx://192.168.100.1:7441/pDafClgV3eXexuM9
living_room_high:
- rtspx://192.168.100.1:7441/sIhqRkwMU9rrAS4w
living_room_low:
- rtspx://192.168.100.1:7441/tlNVjdkcR3ewlss3
garage_high:
- rtspx://192.168.100.1:7441/xO2din5BhB2N6HST
garage_low:
- rtspx://192.168.100.1:7441/gC3wfmI6ETE4pq7T
driveway_high:
- rtspx://192.168.100.1:7441/1KMFJohmtwFnFbiL
driveway_low:
- rtspx://192.168.100.1:7441/vg2bEQ1lGfMcsJrH
server_room_high:
- rtspx://192.168.100.1:7441/JGkidgpVPslCkgEQ
server_room_low:
- rtspx://192.168.100.1:7441/ZnTxwTIDWUOmrHIt
basement_high:
- rtspx://192.168.100.1:7441/n5tmrpmbDHJTALdz
basement_low:
- rtspx://192.168.100.1:7441/C9JgAAcM7030HL4P
upstairs_high:
- rtspx://192.168.100.1:7441/o8hn7teaizs3lW5y
upstairs_low:
- rtspx://192.168.100.1:7441/LzS1mD1lQoa8v0nY
grand_room_high:
- rtspx://192.168.100.1:7441/v0oq2YR9MYlZ8yZR
grand_room_low:
- rtspx://192.168.100.1:7441/yXCjrq2ywbx2yG4C
basement_unfinished_high:
- rtspx://192.168.100.1:7441/QEjQ1m3iQVkVQTeW
basement_unfinished_low:
- rtspx://192.168.100.1:7441/U9Hg1pTRlnnvB09z
front_door_high:
- rtspx://192.168.100.1:7441/K7yQEKu8n0RlBTWA
front_door_low:
- rtspx://192.168.100.1:7441/UoaMPaE8gILYfvcG
record:
enabled: True
retain:
days: 30
events:
pre_capture: 5
post_capture: 5
# Optional: Objects to save recordings for. (default: all tracked objects)
# objects:
# - person
required_zones: []
retain:
default: 5
# Optional: Per object retention days
objects:
person: 5
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
ffmpeg:
# hwaccel_args:
# - -hwaccel
# - vaapi
# - -hwaccel_device
# - /dev/dri/renderD128
# - -hwaccel_output_format
# - yuv420p
# Optional: global ffmpeg args (default: shown below)
global_args: -hide_banner -loglevel warning
input_args: >-
-c:v h264_cuvid -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport
tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -an
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac
rtmp: -c:v copy -f flv -ar 44100 -c:a aac
cameras:
###################
# office #
###################
office:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/zuqiocLfJeAXUCOP?enableSrtp
# rtsp://127.0.0.1:8554/office_high
# input_args: preset-rtsp-restream
#
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/OG10qvYd9TREkcFA?enableSrtp
#@- path: rtsp://127.0.0.1:8554/office_low
#@input_args: preset-rtsp-restream
#
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
# required_zones:
# - Front_Patio
# - Front_Steps
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
# required_zones:
# - Front_Patio
# - Front_Steps
# mqtt:
# required_zones:
# - Front_Patio
# - Front_Steps
# zones:
###################
# pool #
###################
pool:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920*1080
- path: rtsps://192.168.100.1:7441/ubxWpFU376QD1eOm?enableSrtp
# - path: rtsp://127.0.0.1:8554/office_high
input_args: preset-rtsp-restream
roles:
- record
# Low Resolution Stream 1280 * 720
- path: rtsps://192.168.100.1:7441/fD6ouM72bWoFijxK?enableSrtp
# - path: rtsp://127.0.0.1:8554/pool_low
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
# required_zones:
# - Front_Patio
# - Front_Steps
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
# required_zones:
# - Front_Patio
# - Front_Steps
# mqtt:
# required_zones:
# - Front_Patio
# - Front_Steps
# zones:
###################
# backyard #
###################
backyard:
objects:
track:
- person
- dog
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/CwnySMZFN2rYoMvx?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/3Exd46wtOuVxMMk8?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# Side Yard #
###################
sideyard:
objects:
track:
- person
- dog
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/1aUpwawO1EJUDUBT?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/vL3uSs1fIHd8MQPJ?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# backdeck #
###################
backdeck:
objects:
track:
- person
- dog
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/JiCxVjTaor4ehjT1?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/pDafClgV3eXexuM9?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
motion:
mask:
- 382,128,375,175,142,195,142,134
###################
# living_room #
###################
living_room:
objects:
track:
- person
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/sIhqRkwMU9rrAS4w?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/tlNVjdkcR3ewlss3?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# garage #
###################
garage:
objects:
track:
- person
- bicycle
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/xO2din5BhB2N6HST?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/gC3wfmI6ETE4pq7T?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# driveway #
###################
driveway:
objects:
track:
- person
- dog
- car
- bicycle
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/1KMFJohmtwFnFbiL?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/vg2bEQ1lGfMcsJrH?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# server_room #
###################
server_room:
objects:
track:
- person
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/JGkidgpVPslCkgEQ?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/ZnTxwTIDWUOmrHIt?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# basement #
###################
basement:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/n5tmrpmbDHJTALdz?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/C9JgAAcM7030HL4P?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 20
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# upstairs #
###################
upstairs:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/o8hn7teaizs3lW5y?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/LzS1mD1lQoa8v0nY?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# grand_room #
###################
grand_room:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/v0oq2YR9MYlZ8yZR?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/yXCjrq2ywbx2yG4C?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
##############################
# basement_unfinished #
##############################
basement_unfinished:
objects:
track:
- person
- dog
- cat
ffmpeg:
inputs:
# High Resolution Stream 1920 * 1080
- path: rtsps://192.168.100.1:7441/QEjQ1m3iQVkVQTeW?enableSrtp
roles:
- record
# Low Resolution Stream 1024 x 576
- path: rtsps://192.168.100.1:7441/U9Hg1pTRlnnvB09z?enableSrtp
roles:
- detect
detect:
width: 1024
height: 576
fps: 15
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
###################
# front_door #
###################
front_door:
ffmpeg:
inputs:
# High Resolution Stream 3840 * 2160
- path: rtsps://192.168.100.1:7441/K7yQEKu8n0RlBTWA?enableSrtp
roles:
- record
# Low Resolution Stream 1280 x 720
- path: rtsps://192.168.100.1:7441/UoaMPaE8gILYfvcG?enableSrtp
roles:
- detect
detect:
width: 1280
height: 720
fps: 30
enabled: True
max_disappeared: 25
snapshots:
enabled: True
record:
enabled: True
retain:
days: 5
events:
retain:
default: 10
objects:
track:
- person
- people
- dog
- car
- bicycle
- bus
zones:
front_yard_zone:
coordinates: 907,576,797,102,685,144,561,183,486,201,433,229,253,297,47,436,41,413,0,576,572,576,659,576,804,576
objects:
- bicycle
- people
- person
driveway_zone:
coordinates: 806,25,841,70,861,67,266,289,206,291,349,228,600,122
objects:
- car
- bicycle
- bus
- person
street_zone:
coordinates: 28,376,359,204,728,51,669,30,114,228,0,307
objects:
- car
- bicycle
- person
- bus
### Any other information that may be helpful
I have tried debug mode but that didnt really help... only time the automation seems to trigger is when I manually trigger it from the automation panel . Any help would be appreciated
Problem:
I specified channel in the field 'Notification Channel - Android only (Optional)' and on my phone I get notifications that belong to 'General' Channel.
Expected behaviour:
After first notification in OS notification setting to see a new channel appear.
Additional information:
I created a simple clean automation to with only notification action and set it's data
field to channel: test
and ran the action. To validate that the app and the phone is working as intended. They do. A new channel appeared.
Version:
Script: 0.11.0.15
Phone: Android 11
HA: 2023.4.0
P.S. Thanks a lot for curating all those snippets! This and awesome resource.
I have installed Frigate in a Openmediavault Server in docker, it's configured and running.
Mosquitto broker addon in home assistant installed and configured.
Frigate integration in HA installed and working. I can view the cameras, toggle detections, snapshots, recordings, etc
MQTT integration in HA installed and configured with the same user and password. Broker: localhost
Enable the unauthenticated notification event proxy --> Enabled.
Frigate notification blueprint installed and automation created with one camera.
Problem: I'm not recieving notifications to Android mobile (Didn't check in IOS). In fact, the automation was never activated. When I pass in front of the camera, it detects me, make a snapshot and a recording in frigate.
PS: I had installed the Frigate addon in the passt. Now it's uninstalled. Maybe it has something to do, idk.
0.12.0.1
alias: Notificacion Intruso detectado Pasillo
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.pasillo_2
notify_device: 3353cbff554355eefe31298f6bd48eb0
message: Persona detectada
attachment: thumbnail
color: red
ios_live_view: false
labels: []
url_3: >-
{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}
button_3: View Stream
title: Intruso detectado en el pasillo
critical: "false"
update_thumbnail: false
loiter_timer: 0
debug: true
base_url: http://fakeforgithub.dyndns.org:8123
mqtt:
host: 192.168.1.24
port: 1883
user: Rafa2
password: fakeforgithub
cameras:
comedor:
ffmpeg:
inputs:
- path: rtsp://rafa:[email protected]:88/videoMain
roles:
- detect
hwaccel_args: preset-vaapi
detect:
enabled: true
width: 1920
height: 1080
snapshots:
enabled: True
record:
enabled: True
balcon:
ffmpeg:
inputs:
- path: rtsp://foscam:[email protected]:88/videoMain
roles:
- detect
hwaccel_args: preset-vaapi
detect:
enabled: true
width: 1920
height: 1080
snapshots:
enabled: True
record:
enabled: True
pasillo:
ffmpeg:
inputs:
- path: rtsp://foscam:[email protected]:88/videoMain
roles:
- detect
hwaccel_args: preset-vaapi
detect:
enabled: true
width: 1920
height: 1080
snapshots:
enabled: True
record:
enabled: True
go2rtc:
streams:
comedor:
- rtsp://rafa:[email protected]:88/videoMain
balcon:
- rtsp://foscam:[email protected]:88/videoMain
pasillo:
- rtsp://foscam:[email protected]:88/videoMain
webrtc:
candidates:
- 192.168.1.234:8555
detectors:
coral:
type: edgetpu
device: usb
I had installed the Frigate addon in the passt. Now it's uninstalled. Maybe it has something to do, idk.
I read in some forums that someone has the Frigate addon disabled and not uninstalled and he was having problem.
In my case the addon is already uninstall
Hi
I would love to be able to use discord as a notification platform, the same way you fixed it for Telegram
Just selection the channel ID where the push should go to.
Prereq: discord integraion fully functional.
config example:
platform: discord
name: discord
token: !secret discord_token
name: discord_channelName
platform: group
services:
Blueprint addition:
action:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.