ep1cman / unifi-protect-backup

Python tool to backup unifi event clips in realtime
MIT License
635 stars 31 forks source link

Notifications #77

Closed ep1cman closed 1 year ago

ep1cman commented 1 year ago

Discussed in https://github.com/ep1cman/unifi-protect-backup/discussions/62

Originally posted by **Swallowtail23** December 8, 2022 The buffer size causing unifi-protect-backup to hang for me on the 342MB video got me thinking... No matter the limit, at some point someone is going to have a Unifi video that is too big... Feature request: As this is ideally run "headless", configure options for SMTP alert notification, or some other way for push notifications in event of a failed download/upload, or perhaps a "daily digest" style end of day container/app health update/stats summary to ensure ongoing successful function / recovery from failure.

https://github.com/caronc/apprise < Implement using this

ep1cman commented 1 year ago

implemented in 0.9.0

Swallowtail23 commented 1 year ago

With this in docker command: -e APPRISE_NOTIFIERS='pover://<user key in here>/<api token in here>' ...I get errors and the container won't run...

What is the format it is looking for? I also tried -e APPRISE_NOTIFIERS='ERROR,WARNING=pover://<user key in here>/<api token in here>'

Swallowtail23 commented 1 year ago

Ignore that, it needed an @ in the middle not the slash... I think it's going now :)