hey guys
need some help figuring something out.
i wanted to add a zone to one of my cameras to work as an additional “motion sensor”.
meaning - regardless of the “normal” camera operation (which works fine for many months now), i want to add a “zone” to specifically spot a door within the frame, and have that as separated motion sensor within home assistant to trigger when the door open/close (dont care “what” changed it state - “person” or else)
i thought adding a zone will do the trick, but now i think that the “general” camera settings, that only detects “person” with 70% or more, are getting in the way.
this is the code, any help will be gr8
cameras:
g3:
ffmpeg:
inputs:
- path: rtsp://10.0.150.151:554/s1
roles:
- detect
- record
record:
enabled: True
retain:
days: 1
mode: motion
events:
retain:
default: 1
mode: active_objects
detect:
width: 640
height: 360
objects:
track:
- person
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 1
objects:
filters:
person:
mask:
- 349,0,362,175,222,165,231,0
- 640,0,640,239,446,146,466,0
motion:
mask:
- 332,0,336,93,234,93,233,0
- 640,0,640,184,465,136,473,0
zones:
entrance:
coordinates: 137,360,218,360,207,30,99,38
cheers