[Config Support]: Always detect but only alert when switch is flipped in HA #14316
-
Describe the problem you are havingI am using Firgate as an NVR with 24/7 recording. and, I want to actualy make use of the Version0.14.1-f4f3cfa Frigate config filemqtt:
enabled: true
record:
enabled: true
retain:
days: 2
go2rtc:
streams:
Living_Room: tapo://[email protected]
Bedroom: tapo://[email protected]
webrtc:
candidates:
- stun:8555
database:
path: /config/frigate.db
ffmpeg:
hwaccel_args: preset-rpi-64-h264
detectors:
coral:
type: edgetpu
device: usb
cameras:
Living_Room: # <------ Name the camera
enabled: true
onvif:
host: 192.168.1.190
port: 2020
user: REDACTED
password: REDACTED
ffmpeg:
inputs:
- path: rtsp://REDACTED:[email protected]:554/stream2 # <----- The stream you want to use for detection
roles:
- audio
- detect
- record
detect:
enabled: true # <---- disable detection until you have a working camera feed
width: 1280
height: 720
motion:
mask: 0.361,0.05,0.238,0.06,0.219,0.055,0.211,0.096,0,0.101,0,0,0.356,0
threshold: 48
contour_area: 63
improve_contrast: true
Bedroom: # <------ Name the camera
enabled: true
onvif:
host: 192.168.1.200
port: 2020
user: REDACTED
password: REDACTED
ffmpeg:
inputs:
- path: rtsp://REDACTED:[email protected]:554/stream2 # <----- The stream you want to use for detection
roles:
- audio
- detect
- record
detect:
enabled: true # <---- disable detection until you have a working camera feed
width: 1280
height: 720
motion:
mask: 0.361,0.05,0.238,0.06,0.219,0.055,0.211,0.096,0,0.101,0,0,0.356,0
threshold: 48
contour_area: 63
improve_contrast: true
zones: {}
version: 0.14 Relevant Frigate log outputNA Relevant go2rtc log outputNA Frigate statsNo response Operating systemHassOS Install methodHassOS Addon docker-compose file or Docker CLI commandNA Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What do you mean by "only alert when switch is flipped"? If you're referring to notifications, yes - this is possible. Use the sgtbatten Frigate blueprint: https://github.com/SgtBatten/HA_blueprints If you're referring to saving "alerts" in the Frigate UI's review screen, then no - this is not possible. |
Beta Was this translation helpful? Give feedback.
-
Sorry. Could have clarified that better. |
Beta Was this translation helpful? Give feedback.
No that's not currently supported, there is a feature request for it