How do you turn on the Unifi floodlight for people only?

Also asked on the Unifi Forum

Hi there,

I have a Unifi Floodlight linked to a G4 doorbell. How do I activate the floodlight only when the camera detects a human? Currently it is activating for any movement, however I don’t,

  • care if cats or cars go past.
  • want to annoy my neighbours.

Bonus points:

How do you turn the floodlight on when the doorbell is rung? Hopefully the camera human detection should have already turned the floodlight on by that point, however, belt and braces…

Side note:

I don’t mind writing some Python that takes the smart detections as inputs and turns the floodlight on and off. I would have thought, however, that this would come built in.