cancel
Showing results for 
Search instead for 
Did you mean: 

device.event.FaceUnfamiliarDetection doesn't seem to work

seando
Community Member

I tried setting up an automation to broadcast when a stranger is seen during the day but I get no broadcast message.  If I change it to person detected I do get the broadcast.  I do have the Aware subscription.  Is there something else I might be missing?

 

metadata:
name: daytime stranger seen
description: Notifies the home when a stranger is seen during the day
automations:
- starters:
- type: device.event.FaceUnfamiliarDetection
device: Front door camera - Front Entrance
- type: device.event.FaceUnfamiliarDetection
device: Backyard camera - Backyard
- type: device.event.FaceUnfamiliarDetection
device: Mud Room camera - Mud Room
condition:
# between 6 and 10
type: time.between
after: 06:00
before: 22:00
actions:
# broadcast
- type: assistant.command.Broadcast
devices:
- Desk - Downstairs Office
- Nightstand - Master Bedroom
- Spare Bedroom - Spare Bedroom
- Kitchen - Kitchen
message: A stranger was seen outside!
# Lock the doors
- type: device.command.LockUnlock
lock: true
devices:
- Front Door - Front Entrance
- Side Door - Mud Room

1 REPLY 1

JJsomanytabs
Community Member

Which model lock are you using?  In the official Script Editor Supported Devices list, some locks include both the  LockUnlockState starter and the LockUnlockCommand action, but other locks only seem to include the LockUnlockState starter

This wouldn't directly address your broadcast issue, but I wonder if it could be indirectly contributing to your script failing.