Thoughts? Some...
I’m going to assume you’re referencing the HomeKit Facial Recognition support, and not to Apple TV. Maybe using Apple TV as the hub, though.
Details: Set up and use Face Recognition - Apple Support
How to set up notifications: Get notifications for your HomeKit accessories - Apple Support
Scenes: Create scenes and automations with the Home app - Apple Support
A tool such as Pushcut may be of interest, though I’ve not used that.
And Apple has a few technical videos on HomeKit: https://developer.apple.com/videos/frameworks/homekit
As for alternatives, there’s open-source code that can sometimes sort-of do recognition, though the accuracy there can leave something to be desired.
For other readers that might arrive here for different facial-related info or questions, or be confused about HomeKit recognition and Face ID recognition, Face ID uses camera and depth and the neural engine to determine identity, and does not export that information. And doesn’t tie it to HomeKit.