Closed honeyfairy closed 11 months ago
I noted the following in the changelog:
Beta Changes: Add 10s delay to final notification update to ensure frigate has time to save snapshot edits (crop, bounding box etc) if update thumbnail is enabled.
I enabled the Update image feature, still does not work
Please share your automation config
Please share your automation config
Here is my automation config:
alias: Yard Notifications to Telegram group
description: ""
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera: camera.mpcam_fullview
notify_device: f8480a01ed1c29d3ca2af2d781feea53
notify_telegram_chat_id: "-123123"
base_url: http://ip:8123
message: >-
{{ label }} detected - {{ camera_name }} at
{{event['after']['start_time']|timestamp_custom('%H:%M')}}
attachment: /api/frigate{{client_id}}/notifications/{{id}}/snapshot.jpg
video: >-
{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
zones:
- yard
zone_filter: true
labels:
- person
- cat
Can you try setting the attachment url to one with bounding box in the dropdown?
Can you try setting the attachment url to one with bounding box in the dropdown?
Is this something that can be set in the ui editor of the blueprint? I am not seeing it. I am not getting bounding boxes in the notifications sent to my Google pixel phone. I think it would help me tune my settings better and reduce false positives
You may need to update to a newer version of the beta, but yes
You may need to update to a newer version of the beta, but yes
I am on 0.12.0.2 of your card, I am on the 0.13 beta Frigate and the beta 5 of the Frigate HA integration and I do not see it. The OP says that is the current version. So what am I missing?
The beta blueprint.
The beta blueprint.
Thank you. So I updated to the beta blueprint and found in the ui the setting and I enabled it. Unfortunately I am still not getting any bounding boxes on my snapshots in my notifications
Unless frigate changed the urls it should work. I'm not using latest frigate as I've had no time to check anything out.
Can you please share your automation config from yaml mode into he UI, not from automations.yaml like you have initially.
Unless frigate changed the urls it should work. I'm not using latest frigate as I've had no time to check anything out.
Can you please share your automation config from yaml mode into he UI, not from automations.yaml like you have initially.
alias: Frigate Notifications description: "" use_blueprint: path: SgtBatten/Beta.yaml input: camera: camera.front_doorbell_cam notify_group: Frigate Notifications base_url: https://homeassistant.(domain).duckdns.org/ title: Person was detected message: Person was detected on the Front Doorbell Cam update_thumbnail: true attachment: snapshot.jpg?bbox=1 tv: true notify_device: fddac319b1405d2cb9ae95a8bf7766c7
I just did a very basic new blueprint with just my device camera and snapshot with bounding box set. It worked.
I just did a very basic new blueprint with just my device camera and snapshot with bounding box set. It worked.
that is awesome for you but how do i troubleshoot why mine is not working?
It only works for in progress events. So you are going to have to go stand in front of your camera and trigger an event and manually go to the url for that event (use the blueprint to give you the snapshot url) and add the bbox query parameter to it. See if it works like that.
Maybe it doesn't work on groups. Try a single device also. If I find time I'll try a group.
Maybe it doesn't work on groups. Try a single device also. If I find time I'll try a group.
That must be it. I removed the notification group and left a single device and I have the bounding boxes in snapshots. Thanks for the suggestion. Would be nice if I could send to my group that way but this will work for now
Honestly I can't explain why it would be different. But thanks for letting me know that was the issue.
Just another interesting discovery...from the pull down menu on my notification I see the bounding box but if I click the view snapshot button it is gone from that view
That's expected as they aren't the same image. The notification thumbnail bounding box is generated in real time when the message is sent. the other one is the stored snapshot that frigate will show in it's UI. You can configure the latter within the frigate config independently.
You can configure the latter within the frigate config independently.
Where in the config is this? i am looking the config example and not seeing it (i am sure i am not looking at the right spot)
https://docs.frigate.video/configuration/
Under the snapshot section midway down.
Describe the problem you are having or the outcome you are trying to achieve.
How can I add bounding boxes of detected objects to the snapshots sent to Telegram?
I have set bounding boxes to True in the config, and the snapshots in Frigate>Snapshots does have the bounding boxes drawn on it, however the snapshots sent to Telegram does not.
Version
0.12.1-367d724
Automation config file
Frigate Config
Any other information that may be helpful
No response