derekgottlieb / frigate-discord.go

Send camera snapshots to Discord in response to Frigate events labeled with person

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frigate-discord.go

App connects to an MQTT broker, listens for new messages on the frigate/events topic. For events with a label of "person", retrieves latest snapshot for that camera/label via the frigate API and sends to a Discord webhook.

Env vars:

  • DISCORD_WEBHOOK
  • FRIGATE_API
  • MQTT_BROKER

References:

About

Send camera snapshots to Discord in response to Frigate events labeled with person

License:MIT License


Languages

Language:Go 95.7%Language:Dockerfile 4.3%