File size: 314 Bytes
d725335
 
 
 
 
f005306
d725335
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
rules:
  - name: person-near-steering-wheel
    when:
      all:
        - present: {label: person, min_count: 1}
        - near: {a: person, b: steering wheel, max_gap_percent: 8}
    gate:
      enabled: true
      cooldown: {key: turn-on-pc, minutes: 5}
    then:
      - type: webhook
        name: turn on pc