hey all
sometimes the the two binary sensor entities the frigate installation brought to HA - the ones that uses the camera feed as “person detector” - turns from “clear” (off), to “detected” (on), by a person that moved there, and get stuck this way although the person had left the detection zone i had configured.
when looking into the camera feed within the frigate webpage under “debug” mode, i see the “motion box” were the person was detected, but there is no one there anymore.
bounding box pic:
bounding with masks:
as you can see, the sensor history can be “as expected” in some occasions, and sometime just stuck on “detected”.
sensor history:
I configured the camera not to detect anything on the masked zones (no movement and no person), and also disabled the stationary detection (or at least, i think so…).
i figured maybe it has something to do with that, and tried to disable it, for the entire set up (on top), and for that specific camera (within its on config parameters), but with no luck so far.
this is my configuration yaml for this camera.
any pointers will be great.
detect:
stationary:
interval: 0
cameras:
g3:
ffmpeg:
inputs:
- path: rtsp://10.0.150.151:554/s2
roles:
- detect
- record
record:
enabled: True
retain:
days: 1
mode: motion
events:
retain:
default: 2
mode: active_objects
detect:
width: 1024
height: 576
stationary:
interval: 0
objects:
track:
- person
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 1
objects:
filters:
person:
mask:
- 360,0,357,171,587,165,588,0
- 0,168,0,0,205,0
- 1024,0,1024,576,761,576,799,388,844,379,741,285,662,188,693,0
motion:
mask:
- 360,0,357,171,587,165,588,0
- 0,168,0,0,205,0
- 1024,0,1024,576,761,576,799,388,844,379,741,285,662,188,693,0
needless to say that not going back to “clear” is messing up my automations that are triggered by this sensor going from “off” to “on”…
and another thing - although the HA binary sensor says “detected”, frigate will keep recognizing new “person” entering the detection zone and record it as a “person” event. i can go into frigate page and see new “events” generating.
cheers!