Yes. It works most of the time.
edit: yay, cake day for me!
Yes. It works most of the time.
edit: yay, cake day for me!
this is the Frigate Notifications (0.12.0.4h)
this is my automation that give me the snampshot
data:
title: âSource: {{trigger.payload_json["after"]["camera"]}}â
message: A {{trigger.payload_json[âafterâ][âlabelâ]}} was detected.
data:
image: >-
http://192.168.1.12:5000/api/{{trigger.payload_json[âafterâ][âcameraâ]}}/person/best.jpg
clickAction: /lovelace/frigate
color: â#2DF56Dâ
ttl: 0
priority: high
channel: motion
importance: high
vibrationPattern: 100, 1000, 100, 1000, 100
ledColor: red
They arenât invalid, they are just presets to make selecting easier. You can write your own url if you prefer something else
Probably my fault, let me try one more time.
I want to use it and Iâm good with the configuration, the automation runs, but I canât see the picture on the notification and if I click on the action button I canât open the link
I checked the trace and the url seems correct
But if I try to open the URL it seems that it doesnât exist, I donât understand how to troubleshoot it
I use the current stable version.
Sometimes I get this empty message - strangely only with cats.
Does anyone have an idea why this is so?
Iâm also getting 404s on every notification regardless of whether I select Thumbnail, Snapshot or Snapshot with bounding box. Iâve tried the Stable, Beta and 0.14 pull request version. All the same.
Will post some traces/config tonight.
Not sure why, but I get empty messages sometimes too. When I look in Frigate, there is no event at that time.
Although I think I mentioned it on in this thread, just canât remember the answer.
Sound alike the frigate integration is not setup properly.
Can you access videos and events normally using the http API from the frigate docs? Guessing not.
Same as above. Something outside the blueprint is not configured properly.
Frigate 0.14 should resolve ghost events
Got no ghost Events ⊠in frigate Snapshot and Video is available.
Thats the Integration âŠ. should work âŠ.
With âoldâ Like 12.0.2 BP , Never get such messages âŠ
I was replying to Dave who does have them.
Only thing I can think of is to add an initial delay. Your phone might be trying to download the image before it exists
Iâm not sure what it could be. The integration points to port 5000 on the machine Iâm running Frigate. It detects all the cameras, sensors, switches etc and brings them into HA.
Here is my Frigate conf.
Here is a trace using the 0.14 version of the Blueprint.
No, I canât access the snapshot URL directly. But if I tap and hold the notification, a live stream loads in the iOS notification.
My HA external URL is set manually in YAML and itâs correct to the nginx proxy in front of my HA.
Iâm in the same situation, where the event/snapshot etc exists in Frigate. I can see them under the device in HA or in the Frigate UI.
You can try with other event IDs also but you need to be able to access this url once you complete it
HOMEASSISTANT_URL/api/frigate/notifications/1724760099.166398-tncf8o/thumbnail.jpg
Yes, I can access the thumbnail. But here is what the notification looks like. FYI my blueprint is set to âSnapshot with bounding boxâ and not Thumbnail.
Iâve just tested again with the same result. When I tap and hold then tap âView Clipâ I get the error
{âmessageâ: âEvent not foundâ, âsuccessâ: false}
It then downloads a 46kb clip.mp4 file which doesnât open.
The URL is https://HA_URL/api/frigate/notifications/1724764042.629519-wtz660/driveway/clip.mp4?external_auth=0
The following does work for the same alert. https://HA_URL/api/frigate/notifications/1724764042.629519-wtz660/thumbnail.jpg
Ok , will give a try âŠ
[EDIT2] I just had to completely remove old phone from integration etc. Everything works.
How/what do I debug, if I donât get notified?
[EDIT]: Actually this:
Do I need to setup something else?
Or how do I understand traces in general?
(Not sure if just screenshot of traces is enough to give info)
HI
I checked, this is what I see in the trace
thumb_path: /media/frigate/clips/review/thumb-camera1-1724778537.821825-f96xkg.webp
and I see the file on disk
then when I check the URL
http://X.X.X.X:5000/api/frigate/notifications/1724778537.821825-f96xkg/review_preview.gif?format=ts
I get the error
do you know where is the map between the API/FRIGATE and the path on disk?
this is my mounting point
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- /mnt/wwn-0x5002538e00000000-part1:/media
Use the home assistant base url, not frigate