# Unifi to Discord Webhook

Unifi to Discord Webhook is a lightweight container that listens for Unifi Network webhook events and posts formatted messages to a Discord channel, using MAC-address variables to label alerts with device names. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2495/unifi-to-discord-webhook

## Description

Unifi to Discord Webhook is a lightweight container that listens for Unifi Network webhook events and posts formatted messages to a Discord channel, using MAC-address variables to label alerts with device names.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

49/100 (Fair), based on 3 of 4 factors.
- Maintained: 77 (last commit 26 days ago)
- Popular: 14 (4 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- GitHub: https://github.com/JZomDev/UnifiWebhookToDiscord
- Docker Hub: https://hub.docker.com/r/redzguilt/unifi-webhook-to-discord
- Unraid: https://ca.unraid.net/apps/unifi-to-discord-webhook-0mtvjf914dxcrd?q=Unifi-to-Discord-webhook

## Common questions

### Where should UniFi send its webhook events?

Point UniFi webhooks to the Docker container's IP address and port. The app listens there and forwards formatted messages to Discord.

### How do I include a readable device name in the Discord message?

Add the device's MAC address as a variable and set the variable name to the device name.

### How can I install it on Unraid?

Install Unifi-to-Discord-webhook from Community Apps on Unraid OS.

### Does UniFi Protect support sending alerts to a webhook service like this?

Yes, UniFi Protect custom webhooks can send alerts to external web services.

---
Source: Our Local Host (https://ourlocalhost.com/app/2495/unifi-to-discord-webhook), the self-hosted and open-source app directory.
