This repository was archived by the owner on Mar 19, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 69
This repository was archived by the owner on Mar 19, 2023. It is now read-only.
Not always take new photo #67
Copy link
Copy link
Open
Description
I have the next script, but for some reason sometimes it don´t take a photo when it is executed and use the last time execution photo
`alias: Face Recognition Timbre
sequence:
- service: image_processing.scan
data: {}
target:
entity_id: image_processing.face - delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0 - service: notify.mobile_app_androidluis
data_template:
message: >-
{{state_attr('image_processing.face', 'faces').0.name }} fue detectado
con un nivel de precición de {{state_attr('image_processing.face',
'faces').0.confidence | round(1) }}
data:
image: /media/local/deepstack/snapshots/face_latest.jpg - service: notify.mobile_app_iphone_luis
data_template:
message: >-
{{state_attr('image_processing.face', 'faces').0.name }} fue detectado
con un nivel de precición de
{{state_attr('image_processing.face','faces').0.confidence | round(1) }}
data:
image: /media/local/deepstack/snapshots/face_latest.jpg - service: notify.mobile_app_ipad_de_luisr
data_template:
message: >-
{{state_attr('image_processing.face', 'faces').0.name }} fue detectado
con un nivel de precición de
{{state_attr('image_processing.face','faces').0.confidence | round(1) }}
data:
image: /media/local/deepstack/snapshots/face_latest.jpg
mode: single`
This script is executed when my doorbell is press, so in theory every time it is a person
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels