yes, correct, the motion will trigger both. It's for my front door, I want the light to turn on at night when I'm at the door at night so it is easier to open the door, but i also want the video to record in case it would be someone else. Of course, after that, I want face recognition, with a record of everyone coming to my house and why not unlock the door automatically if the face recognition works well when someone from the family is standing in front of the door.
The more I look into this, the more I'm going toward something like an arduino and it's multiple add-ons sensor that can be used.