blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
16.24k stars 1.53k forks source link

[Support]: False positives triggering events and capturing snapshots (but no video) #3044

Closed jb773 closed 2 years ago

jb773 commented 2 years ago

Describe the problem you are having

I'm having a hard time using object filter masks to filter out false positives in a specific area of my camera. I created a mask on a camera and it seems to be discarding clips that contain false positives, but still creating the events themselves in Frigate. I'm not sure if this is a feature or a bug, but I'm trying to get it to where it doesn't create an event at all for false positives, but does create events (with clips) for true hits (active object)

I do NOT want 24/7 recording and I do not want Frigate to capture all motion - all I want Frigate to do is to create events/snapshots/clips of specific objects when detected.

My real-world use case I have a computer desk in a room which sometimes has a person working at it. I don't want Frigate to create events when that person is at their desk, even if they are moving around within their desk chair. I DO want Frigate to detect other person motion events in other areas of the room and to fire events and to capture clips. I DO NOT want Frigate to do anything (events, snapshots, clips, etc) if there is non-person motion or if the person motion is a false positive.

I've set up my object filter mask to surround the desk area. I'm capturing plenty of events of people walking in other areas of the room and it is correctly saving motion clips and snapshots of this activity. The problem though is that I am still capturing events and snapshots (but not saving clips) of motion within the desk area. In a few cases I'm also getting events (with snapshots but no video clips) of the person leaving the desk area where they should actually be captured as a person motion event. I'm unsure if Frigate thinks this is a false positive or if there is some other issue saving the clips.

I'm including relevant pieces of my configuration as well as log output from one of the recent events that was captured missing a video clip. Any suggestions are appreciated!

Version

0.10.1-83481AF

Frigate config file

mqtt:
  host: [redacted]
  user: [redacted]
  password: [redacted]

snapshots:
  enabled: True
  timestamp: False
  bounding_box: True
  crop: False
  required_zones: []
  retain:
    default: 2

record:
  enabled: True
  retain:
    days: 0
  events:
    max_seconds: 60
    pre_capture: 5
    post_capture: 5
    objects:
      - person
    required_zones: []
    retain:
      default: 2
      mode: active_objects

rtmp:
  enabled: True

cameras:
  downstairs:
    ffmpeg:
      inputs:
        - path: rtsp://[redacted]/cam/realmonitor?channel=1&subtype=1
          roles: 
            - detect
        - path: rtsp://[redacted]/cam/realmonitor?channel=1&subtype=0
          roles: 
            - record
            - rtmp
    detect:
      width: 640
      height: 480
      fps: 5
    objects:
      filters:
        person:
          mask:
            - 640,0,522,402,341,364,129,480,0,480,0,0
      track:
        - person

detectors:
  coral:
    type: edgetpu
    device: usb

database:
  path: /media/frigate/frigate.db

logger:
  default: debug
  logs:
    frigate.event: debug

objects:
  track:
    - person
  mask: 0,0,1000,0,1000,200,0,200
  filters:
    person:
      min_area: 5000
      max_area: 100000
      min_score: 0.5
      threshold: 0.7

motion:
  threshold: 15
  contour_area: 125
  delta_alpha: 0.15
  frame_alpha: 0.15
  frame_height: 180
  mask: 0,900,1080,900,1080,1920,0,1920

live:
  height: 720
  quality: 8

ffmpeg:
  global_args: -hide_banner -loglevel warning
  input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
  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: -c copy -f flv

Relevant log output

-- Journal begins at Fri 2022-02-18 12:51:47 UTC, ends at Fri 2022-04-01 19:34:03 UTC. --
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839241: New client connected from 10.0.90.72 as auto-62200AC1-BA29-7D60-9205-E37CDB1FEEE4 (p2, c1, k60, u'[redacted]').
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839241: Client auto-62200AC1-BA29-7D60-9205-E37CDB1FEEE4 disconnected.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839241: New connection from 10.0.0.2 on port 1883.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839241: New client connected from 10.0.0.2 as auto-5274BD51-36BF-EB42-B3CC-AF778995B9B7 (p2, c1, k60, u'[redacted]').
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839241: Client auto-5274BD51-36BF-EB42-B3CC-AF778995B9B7 disconnected.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839269: New connection from 172.30.32.2 on port 1883.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839269: Socket error on client <unknown>, disconnecting.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839301: New connection from 10.0.90.72 on port 1883.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839301: New client connected from 10.0.90.72 as auto-8CE8EE15-74A0-F79A-1021-5AE3B8869E1B (p2, c1, k60, u'[redacted]').
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839301: Client auto-8CE8EE15-74A0-F79A-1021-5AE3B8869E1B disconnected.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839301: New connection from 10.0.0.2 on port 1883.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839301: New client connected from 10.0.0.2 as auto-278304E6-8236-7208-4861-C57EEA5926ED (p2, c1, k60, u'[redacted]').
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839301: Client auto-278304E6-8236-7208-4861-C57EEA5926ED disconnected.
Apr 01 18:56:01 homeassistant homeassistant/amd64-addon-mosquitto:6.0.1/addon_core_mosquitto[337]: 1648839361: New connection from 10.0.90.72 on port 1883.
Apr 01 18:56:03 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:03] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839303.0])
Apr 01 18:56:03 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:03] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/stats.
Apr 01 18:56:08 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:08] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839313.0])
Apr 01 18:56:08 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:08] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:13 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:13] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839313.0])
Apr 01 18:56:13 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:13] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:18 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:18] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839323.0])
Apr 01 18:56:18 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:18] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:23 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:23] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839323.0])
Apr 01 18:56:23 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:23] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:28 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:28] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839333.0])
Apr 01 18:56:28 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:28] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:33 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:33] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839333.0])
Apr 01 18:56:33 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:33] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:38 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:38] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839343.0])
Apr 01 18:56:38 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:38] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:43 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:43] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839343.0])
Apr 01 18:56:43 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:43] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:48 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:48] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839353.0])
Apr 01 18:56:48 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:48] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:53 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:53] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839353.0])
Apr 01 18:56:53 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:53] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839354.0])
Apr 01 18:56:58 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839363.0])
Apr 01 18:56:58 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:56:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839364.0])
Apr 01 18:57:03 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:03] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839363.0])
Apr 01 18:57:03 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:03] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839364.0])
Apr 01 18:57:03 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:03] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/stats.
Apr 01 18:57:08 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:08] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839373.0])
Apr 01 18:57:08 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:08] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839374.0])
Apr 01 18:57:10 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:10] frigate.events                 DEBUG   : Event received: start downstairs 1648839430.366805-9ccovz
Apr 01 18:57:13 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:13] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839373.0])
Apr 01 18:57:13 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:13] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839374.0])
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] frigate.events                 DEBUG   : Event received: update downstairs 1648839430.366805-9ccovz
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] peewee.sqliteq                 DEBUG   : received query INSERT OR REPLACE INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] peewee                         DEBUG   : ('INSERT OR REPLACE INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json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2kyWowJk+eFj2Ydvx6fjXkluds5if7rnYfY9j+dc5qSA0uc0jKVYqeqnBoFIY7GamZwkIAPXrUQGajlyBQFjRtZySqLjngVs32j3LadJeWakTRoVcAfeQghv0zWBpUbTXsUa9dwNelRTLb2uAMliFH1JotYFG55GW2imhjkGtDXraO0128giGI0lO0eg6j+dUMVpbQz6nVv4pghtVMaNNMVGR0AOPWsG/1S71KQNcyEgfdQcKv0FQRRFztFSSWxj64qE7G3QgAyasRxYXJpsSbnxViX5FpXFYWNxu21PiqMTnzAa0F5FICJxilRd/Ap8ig1JHGEX3oHew3bgYqNqmaoWqrGbZJY3K2uoW1w4JWGZHYDqQCDX1DIqYJZQw9CM18qb/mzjOK+pLOZ7rS7SaTHmSwo7emSoJraL0Rm9z/2Q==', True, True, '[100, 160, 420, 480]', '[186, 361, 335, 475]', 16986])
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/downstairs/person/snapshot.
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] frigate.mqtt                   DEBUG   : MQTT payload for frigate/downstairs/person/snapshot wasn't text. Skipping...
Apr 01 18:57:15 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:15] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/downstairs/person.
Apr 01 18:57:18 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:18] frigate.events                 DEBUG   : Event received: start downstairs 1648839437.963877-d6h6x5
Apr 01 18:57:18 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:18] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839383.0])
Apr 01 18:57:18 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:18] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839384.0])
Apr 01 18:57:20 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:20] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
Apr 01 18:57:20 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:20] frigate.events                 DEBUG   : Event received: update downstairs 1648839430.366805-9ccovz
Apr 01 18:57:20 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:20] peewee.sqliteq                 DEBUG   : received query INSERT OR REPLACE INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)
Apr 01 18:57:20 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:20] peewee                         DEBUG   : ('INSERT OR REPLACE INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)', ['1648839430.366805-9ccovz', 'person', 'downstairs', 1648839425.366805, None, 0.796875, False, '[]', '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCACvAK8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDkRPLcqkkrl2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z3jXXBoug/ZIZNt7fDaMdUj/AIj+PQfj6UXutWul2xu7yQk/8s4wfmc+3+Nea6vqtzrGoyXt0+XfgAdEUdFHsKIRtqy5voilT0GTTBVq2TJ5ptmaLEUe0A1NkYpAMDFNPFQaJ2AnNFIBmnDk4pDuIF5ye1LQV4pBVoxk7s9ThY5Fcv4/0MXVqurwL88I2z47rng/hn8vpXRxNVsBJomikUMjqVZT0IPBpiPFrYbw8J6/eT6jt+I/kKcpq54i0qTQddktVfIUh4mzztPT8R0/Cq0oB2yKMLKN4HpyQR+YNDGhM0uM00U9akdixausaEkc0iSiQ5kAYdgaryEqpxTInO4U9xNG4lqZbBp4SY5Eb5dvFY+o3EdxeNNEpXeAz5/v4+Y/i2T+Nd94ds4/skTuMkjOK5HxjYraa9I0QCx3AEqgds9f1/nVRE1ZGEXJNblh4haw0kW8ce6ZWIUn7oHXPv3rDAqVFyKchQ3H3F1PeTGa4kaRz3Y9Pp6VFirP2Vgu44xUYT5sVFzSwRRbjz0qyhCcU5YwiVXZzupXAvryBSMOKIDuQZqRgMUDIF5OKmEe0URRg/MakamhNshamE4qR6gducUzNn//2Q==', True, True, '[64, 160, 384, 480]', '[173, 332, 317, 472]', 20160])
Apr 01 18:57:23 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:23] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839384.0])
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] frigate.events                 DEBUG   : Event received: end downstairs 1648839430.366805-9ccovz
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] peewee.sqliteq                 DEBUG   : received query INSERT OR REPLACE INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] peewee                         DEBUG   : ('INSERT OR REPLACE INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)', ['1648839430.366805-9ccovz', 'person', 'downstairs', 1648839425.366805, 1648839449.366291, 0.796875, False, '[]', '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCACvAK8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6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', True, True, '[64, 160, 384, 480]', '[173, 332, 317, 472]', 20160])
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/downstairs/person.
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/downstairs/person/snapshot.
Apr 01 18:57:24 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:24] frigate.mqtt                   DEBUG   : MQTT payload for frigate/downstairs/person/snapshot wasn't text. Skipping...
Apr 01 18:57:27 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:27] frigate.events                 DEBUG   : Event received: end downstairs 1648839437.963877-d6h6x5
Apr 01 18:57:28 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:28] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839433.0])
Apr 01 18:57:28 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:28] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839394.0])
Apr 01 18:57:33 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:33] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839394.0])
Apr 01 18:57:35 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:35] frigate.events                 DEBUG   : Event received: start downstairs 1648839454.956144-ijy4wp
Apr 01 18:57:38 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:38] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839443.0])
Apr 01 18:57:38 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:38] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839404.0])
Apr 01 18:57:40 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:40] frigate.events                 DEBUG   : Event received: end downstairs 1648839454.956144-ijy4wp
Apr 01 18:57:43 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:43] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839404.0])
Apr 01 18:57:48 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:48] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839453.0])
Apr 01 18:57:48 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:48] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839414.0])
Apr 01 18:57:53 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:53] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839453.0])
Apr 01 18:57:53 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:53] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839414.0])
Apr 01 18:57:58 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['downstairs', None, 1648839453.0])
Apr 01 18:57:58 homeassistant ccab4aaf/amd64-addon-frigate:3.1/addon_ccab4aaf_frigate[337]: [2022-04-01 14:57:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND (("t1"."end_time" IS ?) OR ("t1"."end_time" >= ?))) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['front_door', None, 1648839424.0])

FFprobe output from your camera

I don't think this is applicable as there is no issue with the camera feed reaching Frigate, but let me know if this is absolutely needed.

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

Amcrest IP5M

Any other information that may be helpful

No response

NickM-27 commented 2 years ago

Will need to see screenshot of the camera along with the object mask and then the event snapshot (with bounding box).

If an object is masked then it won't create an event at all if it doesn't move, but if it moves outside of the mask then it will create both snapshot and clip (depending on rules). Odds are the mask is defined incorrectly (remember that an object is only masked out if the mask covers the bottom center of the bounding box) and then the default motion for recording retain mode meant that the segment wasn't saved so no clip was created. Screenshots mentioned above will help confirm or deny this idea.

jb773 commented 2 years ago

Will need to see screenshot of the camera along with the object mask and then the event snapshot (with bounding box).

If an object is masked then it won't create an event at all if it doesn't move, but if it moves outside of the mask then it will create both snapshot and clip (depending on rules). Odds are the mask is defined incorrectly (remember that an object is only masked out if the mask covers the bottom center of the bounding box) and then the default motion for recording retain mode meant that the segment wasn't saved so no clip was created. Screenshots mentioned above will help confirm or deny this idea.

I prefer not to post them on the public Internet. Nothing overly sensitive but I don't want pictures of my house floating around online. I can email them to you if you would be okay with that.

I can tell you that the masked area is in the bottom right section of the camera's view. I looked at the snapshots now and in both cases the bottom center of the bounding box is located IN the masked area, but the upper portion of the bounding box is located OUT of the masked area. So this could very well be a case of the object leaving the masked area. But if that's the case, why is it saving an event and a snapshot but not a clip? Clips are working well on all the other person motion events (the ones entirely out of the masked area) but just these seem to be not saving clips.

NickM-27 commented 2 years ago

I prefer not to post them on the public Internet. Nothing overly sensitive but I don't want pictures of my house floating around online. If you have some kind of way I can contact you directly (no PMs seem to be available on Github) I can send them to you.

Yeah totally understand, works for me. You can email me nickmowen213@gmail.com if you'd like.

The masked area is in the bottom right section of the camera's view. I looked at the snapshots now and in both cases the bottom center of the bounding box is located IN the masked area, but the upper portion of the bounding box is located OUT of the masked area. So this could very well be a case of the object leaving the masked area. But if that's the case, why is it saving an event and a snapshot but not a clip? Clips are working well on all the other person motion events (the ones entirely out of the masked area) but just these seem to be not saving clips.

If the bottom center is within the mask that is all that matters. To clarify the thing about motion, I am saying that with your current setup will ONLY keep recordings with (motion + active_objects) (from the default record retain mode) and then ONLY with active_objects from the event retain mode (since both are still applied). So this results in no clips being saved for this false positive. (will see with images)

jb773 commented 2 years ago

Thanks... I just sent them to you. So it sounds like the real issue here is not that clips aren't being saved, but that the events are being created in the first place. If the bottom center is in the mask then that should be conclusive to not create an event at all, right? It seems to be correctly recognizing that a clip should not be saved, but I don't understand why an event and a snapshot are still being created.

Also, in one of the "false positives" I captured, the person was getting up from the desk and moving to another section of the room and walked around for about 10 seconds (well outside of the masked area). But Frigate didn't capture video of them being entirely out of the masked area at all. (I'm running Blue Iris in parallel so I was able to see the full recording.) What I would expect Frigate to do would be to ignore the person in the masked area, but start creating an event and recording video when the bottom center of bounding box leaves the masked area.

NickM-27 commented 2 years ago

I responded over email but to add context to others that could potentially be facing the same issue. The mask was inverted so like 80% of the frame was masked. This means for someone walking past only a frame or two would be within the zone so there is a chance that the object was never considered "active" for any segments and as such frigate cleared all clips as they didn't fit the config.

Once this is adjusted, should be fixed and if not will update 👍

jb773 commented 2 years ago

Thanks Nick for your help with this! The mask was definitely the cause of my issues.

What you are saying makes sense about maybe only getting one or two frames in the masked area... but in any case, if Frigate is discarding the clips, wouldn't it also know to discard the event? I don't want 24/7 recording so setting the retain and events modes to "all" won't work for my situation.

I'll run it with the mask corrected and then audit the results to see if I'm getting any more of these.

NickM-27 commented 2 years ago

Frigate is discarding the clips, wouldn't it also know to discard the event? I don't want 24/7 recording so setting the retain and events modes to "all" won't work for my situation.

No, the prerequisite for an event is snapshot or clip. If either of those things exist then an event is saved / created.

jb773 commented 2 years ago

No, the prerequisite for an event is snapshot or clip. If either of those things exist then an event is saved / created.

Aha. That's key to solving my issue then. So is there a way to make sure snapshots only get created for active objects? The official documentation on snapshots is very very light so I couldn't find the answer there. If snapshots and recordings are both only fired when there are active objects, then that should eliminate these cases of events with no clips.

NickM-27 commented 2 years ago

No, the prerequisite for an event is snapshot or clip. If either of those things exist then an event is saved / created.

Aha. That's key to solving my issue then. So is there a way to make sure snapshots only get created for active objects? The official documentation on snapshots is very very light so I couldn't find the answer there. If snapshots and recordings are both only fired when there are active objects, then that should eliminate these cases of events with no clips.

No, if an object is detected (outside of the mask) a snapshot will be created. And with a mask that isn't covering most of the screen a clip will also be created as expected. If you don't want events created when a person is outside a certain location in the frame then a zone should be used. The zone can be set as required_zones for both recordings and snapshots so events will not be created for detections outside of that zone. But again I think with the adjusted mask it will work exactly as you are wanting it to with no other changes.

blakeblackshear commented 2 years ago

I think object masks are just the wrong tool for the job here. Object masks are really designed to be used as filters for actual false positives, aka objects being detected as a person that are not actually a person. You are, in fact, a person, so an event of you in your chair is not a "false positive" in a true sense.

I would approach this by creating a zone and making sure that zone is listed for required_zones for snapshots and events. Don't think about snapshots and recordings as separate things. Everything centers around an object that is tracked over time. The criteria for whether or not to store a snapshot or recordings of the event are determined based on the entire lifetime of the tracked object. If either the criteria for storing a snapshot or the recordings are met, it will create an event and the associated snapshot or footage.

I have a door on one side of my office, and I would create a zone on that side since it's the only side you can enter from. This will capture events for anyone entering or leaving, but not for objects that never enter that zone.

PXL_20220401_212550095_2

Then I would combine this with active_objects mode for recordings of events.

Let's say the following chain of events happens:

8AM: I enter my office 10AM: I get up to get more coffee

Based on the settings I described, I would expect to have a single "event" (aka tracked object) from 8AM to 10AM. When viewing the footage, I would only see the segments where I am active or changing positions. All of the footage of me sitting in my chair in the same position would be dropped (some exceptions for big stretches possibly).

Others who enter the room would be recorded as separate events. If they happened to stand still for a while, all the footage of them standing still would be dropped, but the footage of them walking in and out of the room would be captured.

You can use masks to try and trick frigate into thinking that any detected people in the area of your chair are not actually people, and that might work well for what you are trying to do. Just be aware that is not how things were designed to work.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.