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

Snapshot api url not found #680

Closed
SmokeyBR opened this issue May 18, 2024 · 2 comments
Closed

Snapshot api url not found #680

SmokeyBR opened this issue May 18, 2024 · 2 comments
Labels

Comments

@SmokeyBR
Copy link

SmokeyBR commented May 18, 2024

i cannot figure it out why the notifications api url for snapshots are silmply not there i can go to the clip.mp4 url just fine however the snapshot.jpg is not there and im also getting notifications without the snapshot.
Media browser shows all the files if that has anything to do with it, i can browse clips, snapshots and recordings.

service: notify.alldevices
metadata: {}
data:
  message: >-
    A {{ trigger.payload_json.after.label }} was detected at {{
    now().strftime('%H:%M:%S') }}
  title: '{{ trigger.payload_json.after.camera }} Motion'
  data:
    image: >-
      /api/frigate/notifications/{{ trigger.payload_json.after.id }}/{{
      trigger.payload_json.after.camera }}/snapshot.jpg
    url: >-
      /api/frigate/notifications/{{ trigger.payload_json.after.id }}/{{
      trigger.payload_json.after.camera }}/clip.mp4
    clickAction: >-
      /api/frigate/notifications/{{ trigger.payload_json.after.id }}/{{
      trigger.payload_json.after.camera }}/clip.mp4
    priority: high
@SmokeyBR
Copy link
Author

ok i feel stupid the path was wrong its /api/frigate/notifications/event-id/snapshot.jpg and not /api/frigate/notifications/event-id/cameraname/snapshot.jpg (no "/cameraname/" in url path).

thou clip does have a path with "/cameraname/" in it.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jun 21, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant