ep1cman / unifi-protect-backup

Python tool to backup unifi event clips in realtime
MIT License
577 stars 25 forks source link

Handle new cameras being added #51

Closed ep1cman closed 1 year ago

ep1cman commented 1 year ago

Since this is intended to be a long running service, it’s not unlikely that a new camera might be added while it is running.

we should listen for events in the websocket and detect a new camera being added to backup its events. We should also periodically poll the system for new cameras in case we missed the message