Frigate + face recognition : “Is it me at the door” routine possible?

I am using Frigate on my HA alongside Deepstack/Compreface and DoubleTake.

A sensor is being generated, recognizing my face.

I am hoping to create an automation that checks if it’s me at the front door camera.

My plan was to use:

  • Triggered by person detection
  • Verify the person is me
  • (use additional security features like: Car is home, Cell Phone is home, etc…)

The issue I am running with with the face recognition sensor coming from doubletake.

If I understand it correctly, all it is returning is the latest camera that picked up this particular face. If that’s the case, and the last camera to see my was the front door camera, then any “person detection” will trigger this automation and return true.

Does anyone know of a way to trigger off a face recognition event, or time box the face recognition sensor somehow so I can check for a “now” state?

I’m hoping I’m just missing something, as this seems to be a core type use case of a face recognition sensor.

1 Like

I’d recommend instead of using the doubletake sensor to instead use the frigate mqtt events directly along with the sub_label field in the payload and whatever other fields to filter for the automation.

Unless I’m misunderstanding the intent, the Frigate sensors don’t carry a facial identification payload. IE, who the face actually is.
That’s currently coming from DeepStack and CompreFace through a DoubleTake sensor.

Hi Nicolas - why do you recommend that, is it faster ?
Would you have any example of this?

because it is less complicated

just saw this, but what you are saying is incorrect. DoubleTake sends the face name to frigate and frigate saves this information and sends it inside the mqtt /events payload