0x2142 / frigate-notify

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

notifications doesn't work, what I am doing wrong. #134

Open Mareckil opened 5 hours ago

Mareckil commented 5 hours ago

Hello, I am trying to set up notifications from my frigate 0.14.1. I did try smtp and now I am trying discord none of them worked at all

frigate:
  server: https://192.168.1.160:8971
  ignoressl: true
  public_url:
  headers:
  startup_check:
    attempts:
    interval:

  mqtt:
    enabled: true
    server: 192.168.1.160
    port: 1883
    clientid: frigate_notify
    username: xxxxx
    password: xxxxx
    topic_prefix: frigate_1

alerts:
  general:
    title: Frigate Alert
    timeformat: Mon, 02 Jan 2006 15:04:05 MST
    nosnap:
    snap_bbox: true
    snap_timestamp: true
    snap_crop:

  zones:
    unzoned: allow
    allow:
    block:

  labels:
    allow:
     - person
     - car
    block:

  smtp:
    enabled: false
    server: smtp.op.tld
    port: 465
    tls: true
    user: xxxxxx@op.tld
    password: xxxxxxxxxxx
    recipient: xxxxxx@op.tld
    template: "Looks like {{ .Camera }} spotted a {{ .Label }}!!"

  discord:
    enabled: true
    webhook: https://discord.com/api/webhooks/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    template: "Looks like {{ .Camera }} spotted a {{ .Label }}!!"
0x2142 commented 4 hours ago

Hi there, I've copied your config file (and updated the values to use my lab, of course) - and this is working for me. Can you try enabling debug logging & share a copy of the log once Frigate-Notify receives an event that should notify you?

Mareckil commented 2 hours ago

tanks for quick response. I think I do have debug active but how to filter it to get just necessary information. I am sorry but I am not fluent in linux yet.