Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me get a proper notification #99

Closed
RebeliusGaming opened this issue Jun 21, 2024 · 4 comments
Closed

Help me get a proper notification #99

RebeliusGaming opened this issue Jun 21, 2024 · 4 comments

Comments

@RebeliusGaming
Copy link

RebeliusGaming commented Jun 21, 2024

Hello.
First of all, thank you for developing this tool. Even someone as me managed to configure it.

I created my config.yml to send notifications to telegram, but instead of recieveing them as you show in the readme, I only get a simple line text.
How can I configure it to send me the Snapshot and also the links to view the camera or the clip?

I commented an open issue asking to be able to directly attach the video in the telegram message. It would be awesome, but meanwhile, can you help me ?

frigate:
  server: httXXXXXXXXXXX3:5000/
  ignoressl: false
  public_url: httX.XXXXXXXXXX.ud
  headers: 
  startup_check:
    attempts: 5
    interval: 30

  webapi:
    enabled: true
    interval: 

  mqtt: 
    enabled: false
    server: 
    port:
    clientid:
    username: 
    password: 
    topic_prefix: 

  cameras:
    exclude:
  
alerts:  
  general:
    title: Alerta Alarma
    timeformat: Mon, 02 Jan 2006 15:04:05 MST
    nosnap:

  zones:
    unzoned: allow
    allow:
     - zone_0
     - zone_1
    block:

  labels:
    allow:
     - person
     - dog
    block:
     - bird

  discord:
    enabled: false
    webhook: 
    template:

  gotify:
    enabled: false
    server:
    token: 
    ignoressl:
    template:

  smtp:
    enabled: false
    server: 
    port: 
    tls: 
    user:
    password:
    recipient:
    template:

  telegram:
    enabled: true
    chatid: 2XXXXXXXXXXXXXXXX
    token: 73XXXXXXXXXXXXXXXXXXXXXXXXXQZHiFtYI
    template: Detección en {{ .Camera }}. Parece {{ .Label }}!! 

  pushover:
    enabled: false
    token:
    userkey:
    devices:
    priority:
    retry:
    expire:
    ttl:
    template:

  ntfy:
    enabled: false
    server:
    topic:
    ignoressl:
    headers:
    template:

  webhook:
    enabled: false
    server: 
    ignoressl:
    headers:
    template:

monitor:
  enabled: false
  url: 
  interval: 
  ignoressl:
@RebeliusGaming
Copy link
Author

Well. I managed to get the snapshot enabling them in frigate itself. Nice.

@0x2142
Copy link
Owner

0x2142 commented Jun 21, 2024

Hi there - Thanks for your interest in this app!

So in your config, it looks like you've specified a custom template: template: Detección en {{ .Camera }}. Parece {{ .Label }}!!

In this case, that will override the default & you'll no longer get the messages as shown in the README. If you leave template blank, it will default to the template as shown in the README. If you would like to build your own message template, the docs have some information & you can find the default template used by Telegram here

@RebeliusGaming
Copy link
Author

Nice. Thank you :)

@RebeliusGaming
Copy link
Author

All I needed was to read a bit more. Sorry for the inconvenience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants