0x2142 / frigate-notify

Event notifications for a standalone Frigate NVR instance
https://frigate-notify.0x2142.com/
MIT License
107 stars 9 forks source link

send image in notification instead of URL #101

Closed ProductiveAsparagus56 closed 4 months ago

ProductiveAsparagus56 commented 4 months ago

This is very similar to #98 but i think it is easier and faster to implement as it doesn't require transcoding or uploading a lot of data.

I would like this project to be able to send a picture instead of the frigate url.

0x2142 commented 4 months ago

Hi there - Which notification provider are you using? By default, all notifications will include sending the actual picture that Frigate has saved as a snapshot. The only one that sends a link instead is Gotify, but it doesn't support attaching images.

ProductiveAsparagus56 commented 4 months ago

Yes i use gotify, i will close this issue then.

freefd commented 4 months ago

@ProductiveAsparagus56, the only thing I can advise here: switch to Ntfy. It's more flexible and human-friendly.

ProductiveAsparagus56 commented 4 months ago

@freefd

It's more flexible and human-friendly.

I've tried ntfy before and the main difference I saw was that gotify had good working authentication. Anyone could access ntfy. Maybe ntfy has changed by now, so I'll give it a try.

freefd commented 4 months ago

@ProductiveAsparagus56,

Anyone could access ntfy.

You can check the Ntfy docs about ACL for users and roles. The second part is the authentication from a client, it's already supported by custom headers for Ntfy notifier in the frigate-notify.