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

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

Open
Mareckil opened this issue Sep 21, 2024 · 4 comments
Open

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

Mareckil opened this issue Sep 21, 2024 · 4 comments

Comments

@Mareckil
Copy link

Mareckil commented Sep 21, 2024

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
Copy link
Owner

0x2142 commented Sep 21, 2024

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
Copy link
Author

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.

@Mareckil
Copy link
Author

Is it possible that the problem is because my frigate works on different port (8971)?

@freefd
Copy link
Contributor

freefd commented Sep 26, 2024

@Mareckil, the different port should not impact the communications.

If this is still relevant, then could you please to:

  1. Restart the frigate-notify instance with debug logging enabled (https://frigate-notify.0x2142.com/latest/config/options/).
  2. Trigger an event in Frigate-notify (e.g., appearing in the camera FOV).
  3. Wait for about 3 minutes
  4. Collect the frigate-notify logs
  5. Anonymize the logs if required
  6. Attach logs here

If this issue is no longer relevant, can it be closed?

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

3 participants