Viewu Server is required to receive Apple Push Notifications. To set up notifications, you need to have a few things in place:
-
MQTT Broker: Ensure that an MQTT broker (Mosquitto) is running. Frigate will send events in the form of MQTT messages to this broker.
-
Viewu Server: Set up Viewu Server to listen to the broker for specific messages. When a message is received, Viewu Server will match it against its notification filtering template to determine if an Apple Push Notification should be sent.
-
HTTPS for Images: To include an image in a notification, Apple requires the image URL to use HTTPS. By default, Frigate does not provide this, so you need to set up Nginx as a reverse proxy on port 443 to access Frigate's images via HTTPS.
- Let's Encrypt: You can use Let's Encrypt to obtain a free, valid SSL certificate that lasts for 90 days.
- Paid Certificates: Alternatively, you can purchase a certificate, though this can be expensive.
By setting up Nginx with HTTPS using Let's Encrypt, you ensure that the images in your notifications meet Apple's requirements. Use a VPN like Tailscale for security.