question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Config Support]: Come someone help me with recording events in a zone?

See original GitHub issue

Describe the problem you are having

I cannot figure out why events aren’t being recorded in my zones. The camera in the area has three zones. The first zone is driveway and I want to capture any person, car, dog or bicycle that enters that zone. Basically anything that enters that zone. The second zone is Garage and I only want to capture persons or dogs in that zone (but keeps capturing cars). Finally is the Grass zone and I only need to capture persons or dogs in that zone. I have attached the section of my config that deals with that zone. The camera that deals with these zones is “back_yard” I’ve attached my config. At the moment no .

Version

0.10.1-83481AF

Frigate config file

mqtt:
  host: 192.168.1.6
  user: homeassistant
  password: xxxxxxxxxxx

cameras:

  front_porch:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxxxxxx@192.168.1.230:554/live
          roles:
            - detect
    detect:
      width: 1920
      height: 1080
      fps: 5
    motion:
      mask:
        - 0,755,317,484,750,193,909,147,1065,147,1060,0,0,0
        - 1920,1080,1233,1080,1332,0,1920,0
    objects:
      track:
        - person
        - dog
    record:
      enabled: True
      retain_days: 0
      events:
        retain:
          default: 7

  back_porch:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxxxxxx@192.168.1.84:554/live
          roles:
            - detect
    detect:
      width: 1920
      height: 1080
      fps: 5
    objects:
      track:
        - person
        - dog
    record:
      enabled: True
      retain_days: 7
      events:
        retain:
          default: 7

  back_yard:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxxxxxxxxx@192.168.1.122:554/live
          roles:
            - detect
    motion:
      mask:
        - 392,197,496,227,874,235,959,0,0,0,0,335
        - 1518,244,1920,418,1920,0,1535,0
    zones:
      driveway:
        coordinates: 629,332,823,340,830,226,558,226,390,331
        objects:
          - car
          - person
          - dog
          - bicycle
      garage:
        coordinates: 1733,1080,1461,578,1165,348,279,339,0,486,0,1080
        objects:
          - dog
          - person
      grass:
        coordinates: 1920,1080,1920,449,1535,281,1499,424,1337,433
        objects:
          - dog
          - person
    detect:
      width: 1920
      height: 1080
      fps: 5
    record:
      enabled: True
      retain_days: 7
      events:
        required_zones:
          - driveway
          - garage
          - grass
        retain:
          default: 7

#snapshots:
#  enabled: True
#  timestamp: True
#  bounding_box: True
#  retain:
#    default: 7

objects:
 track:
   - person
   - car
   - dog
   - bicycle

record:
  enabled: True
  retain_days: 7
  events:
    retain:
      default: 7

ffmpeg:
  hwaccel_args:
    - -hwaccel
    - vaapi
    - -hwaccel_device
    - /dev/dri/renderD128
    - -hwaccel_output_format
    - yuv420p

detectors:
  coral:
    type: edgetpu
    device: usb

birdseye:
  enabled: True
  width: 1280
  height: 720
  quality: 8
  mode: continuous

live:
  height: 720
  quality: 8

Relevant log output

Nothing relevant

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
mlittle408commented, Jun 14, 2022

Ok for now I am going to do some more testing. I’ll close this out and open a new issue once I have more data.

0reactions
stale[bot]commented, Jul 15, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing the Configuration Recorder - AWS Config
AWS Config uses the configuration recorder to detect changes in your resource configurations and capture these changes as configuration items.
Read more >
Recording settings in Logic Pro - Apple Support
In the Logic Pro Recording settings, set the recording file type and determine how Logic ... only where audio material or MIDI events...
Read more >
Event and 24/7 video history - Google Nest Help
How your Nest camera records and saves video depends on whether it has event video history, 24/7 video history, or both: With event...
Read more >
Changing basic and advanced cloud recording settings
As a host, you can apply specific settings to your cloud recordings, such as the type of view, whether public chat messages are...
Read more >
Sysmon - Sysinternals - Microsoft Learn
Optionally takes a configuration file. -m, Install the event manifest (implicitly done on service install as well). -s, Print configuration ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found