cancel
Showing results for 
Search instead for 
Did you mean: 

FaceFamiliarDetectionEvent - eventData

ScottyDoo
Community Member

Hi, 

I am trying to create some home automation scripts using the FaceFamiliarDetectionEvent. 

Ideally I want to announce who has been seen at the front door camera but I can't seem to get the script to validate. Could anyone post an example of either an automation where a particular person is detected or a FaceFamiliarDetectionEvent when the familiarFace is announced. Here is what the Script helper suggests:

automations:
  - starters:
      - type: device.event.FaceFamiliarDetection
        device: Front door camera - Front door
        familiarFace: Mum
    actions:
      - type: assistant.command.Broadcast
        message: Mum's home.
        devices:
          - Living Room speaker - Living Room

but field [familiarFace] is unexpected in the Struct.

 

The documentation  seems to say I need to use eventData but I cant get it working. 

Thanks

0 REPLIES 0