04-15-2024 09:56 PM - edited 04-15-2024 09:57 PM
I'm attempting to create a starter in automation for PersonDetection. Unfortunately, the cameras think they see a person a lot, but it's incorrect. Therefore, I'm trying to identify if the person has been "seen" for more than 5 seconds and if so, send a notification. The part that I am struggling with is what "eventData" represents in this event. I'm not sure what it's supposed to be and cannot find any documentation to figure this out. Please help me with a link or something pointing to where this information is as it's not on the help page for that event.
starters:
- type: device.event.PersonDetection # A person has been detected by the camera.
device: Back Room camera - Back Room
eventData: ???
greaterThanOrEqualTo: 5 seconds
.
yesterday
same issue by trying to count the number of person detected
starters:
- type: device.event.PersonDetection # A person has been detected by the camera.
device: Office - Office
eventData: count
greaterThanOrEqualTo: 2
the validation system answer :
La combinaison de champs optionnels de la struct n'est pas éligible.
[count] n'est pas un champ avec état valide pour [PersonDetectionEvent]. Liste des chemins d'accès valides : [].
@nickfromgoogle could we have items of the eventData struct (FieldPath) ?