Hi all!
Hi everyone, I had an odd event with Alarmo+Frigate.
Currently, I have Frigate, with two cameras + Alarmo + Home Assistant OS.
So far, the Alarm component has NEVER triggered without reason, as I have configured Alarmo with the “binary_sensor.frigate_camera01_person_occupancy” and another sensor from the other camera “binary_sensor.frigate_camera02_person_occupancy”.
Checking Frigate’s events, there’s nothing that Frigate has incorrectly detected as a “person,” only animals (cats). So, why was “person_occupancy” triggered?
Checking the LogBook I found this:
Alarm changed to Triggered
06:21:31 - 11 hours ago -->20 seconds after detection as configured in Alarm per Entry delay
Frigate Domo02 person occupancy cleared (no occupancy detected)
06:21:15 - 11 hours ago
Frigate Domo02 all occupancy cleared (no occupancy detected)
06:21:15 - 11 hours ago
Domo02 Animal turned on
06:21:13 - 11 hours ago
Domo02 Motion detected motion
06:21:13 - 11 hours ago
Domo02 Motion cleared (no motion detected)
06:21:11 - 11 hours ago
Alarm changed to Pending
06:21:11 - 11 hours ago
Frigate Domo02 all occupancy detected occupancy
06:21:11 - 11 hours ago
Frigate Domo02 person occupancy detected occupancy
06:21:11 - 11 hours ago
Also, here is my frigate config:
mqtt:
host: aXmqx
user: frigate
password: XXXXXXXX
detectors:
coral:
type: edgetpu
device: usb
objects:
track:
- person
- car
- cat
- dog
- motorcycle
logger:
# Optional: default log level (default: shown below)
default: info
go2rtc:
streams:
frigate_noct01_main:
- ffmpeg:http://192.168.0.32/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=XXXXX#video=copy#audio=copy#audio
frigate_noct01_sub:
- ffmpeg:http://192.168.0.32/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=XXXXX
frigate_domo01_main:
- ffmpeg:http://192.168.0.104/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=XXXXXX#video=copy#audio=copy#audio
frigate_domo01_sub:
- ffmpeg:http://192.168.0.104/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=XXXXX
frigate_domo02_main:
- ffmpeg:http://192.168.0.113/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=XXXXXX#video=copy#audio=copy#audio
frigate_domo02_sub:
- ffmpeg:http://192.168.0.113/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=XXXXXXX
frigate_dual01_main:
- rtsp://admin:[email protected]:554/
frigate_dual01_sub:
- rtsp://admin:[email protected]:554/Preview_01_sub
webrtc:
candidates:
- 192.168.0.109:8555
- stun:8555
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
cameras:
frigate_noct01:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/frigate_noct01_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/frigate_noct01_main?video=copy
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 896
height: 512
fps: 12
objects:
track:
- person
- car
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 2
record:
enabled: true
retain:
days: 7
mode: motion
events:
retain:
default: 30
mode: motion
frigate_dual01:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/frigate_dual01_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/frigate_dual01_main?video=copy
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 896
height: 512
fps: 12
objects:
track:
- person
- car
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 2
record:
enabled: true
retain:
days: 7
mode: motion
events:
retain:
default: 30
mode: motion
frigate_domo01:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/frigate_domo01_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/frigate_domo01_main?video=copy&audio=opus
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 640
height: 480
fps: 10
objects:
track:
- person
- cat
- dog
- car
- motorcycle
filters:
person:
min_score: 0.76
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 10
record:
enabled: true
retain:
days: 3
mode: motion
events:
retain:
default: 30
mode: motion
frigate_domo02:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/frigate_domo02_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/frigate_domo02_main?video=copy&audio=opus
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 640
height: 480
fps: 10
objects:
track:
- person
- cat
- dog
- car
- motorcycle
filters:
person:
min_score: 0.76
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 10
record:
enabled: true
retain:
days: 3
mode: motion
events:
retain:
default: 30
mode: motion
version: 0.14
camera_groups:
General:
order: 1
icon: LuAirplay
cameras:
- frigate_domo01
- frigate_domo02
Any ideas? Thanks !!