[Config Support]: Automation is missing pictures/clips #13306
-
Describe the problem you are havingI have following automation that sends email with the attached image: I noticed that while sometime it does indeed attach snapshot with bounding box, most of the time no image attached. Version.14 Frigate config fileobjects:
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- car
- cat
- dog
Front_Door: # <--- this will be changed to your actual camera later
enabled: true
onvif:
host: 192.168.10.13
port: 80
user: admin
password: Camera123
ffmpeg:
inputs:
- path: rtsp://xxx:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://xxx:[email protected]/Streaming/Channels/101
roles:
- record
motion:
mask: 0.045,0.035,0.636,0.038,0.637,0.086,0.042,0.089
snapshots:
required_zones:
- frontYard
review:
alerts:
required_zones: frontYard
detections: {}
# mqtt:
# required_zones:
# - frontYard
zones:
frontYard:
coordinates:
0.519,0.065,0.625,0.078,0.625,0.163,0.626,0.182,0.69,0.186,0.741,0.363,0.835,0.698,0.888,0.91,0.907,0.981,0.337,0.994,0.015,0.981,0.012,0.032,0.395,0.022,0.4,0.471
loitering_time: 0
objects:
- person
- car
- catRelevant Frigate log outputhomeassistant | 2024-08-23 17:14:08.743 WARNING (SyncWorker_42) [homeassistant.components.smtp.notify] Attachment /media/clips/Front_Door-1724458448.266207-a4vtgj.jpg not found. Skipping
homeassistant | 2024-08-23 17:14:09.121 WARNING (SyncWorker_33) [homeassistant.components.smtp.notify] Attachment /media/clips/Front_Door-1724458448.266207-a4vtgj.jpg not found. Skipping
homeassistant | 2024-08-23 17:14:09.122 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'update' is undefined when rendering '{{ iif(update, 'none', sound) }}'
homeassistant | 2024-08-23 17:14:09.123 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'update' is undefined when rendering '{{ iif((update or sound == 'none'), 0, volume) }}'Relevant go2rtc log outputnaFrigate statsNo response Operating systemDebian Install methodDocker Compose Object DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
NickM-27
Aug 24, 2024
Replies: 1 comment 1 reply
-
|
The file will only exist in the file system when the event ends, this is why the api should be used |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
leonbrag
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The file will only exist in the file system when the event ends, this is why the api should be used