Replies: 2 comments
-
Can you run the tool with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing due to lack of response |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have an apparently working install which is triggered by events but does not download and subsequently upload the recording.
This is a great tool that fixes a massive deficiency from ubiquiti that should have been baked in from day one.
I have everything installed, user accounts set up, rclone installed and working but for some reason the event videos are not downloading when the events are triggered.
If anyone can see anything obvious in the logs below that could point me in the right direction that would be very much appreciated.
Thanks
DEBUG LOG
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: Config:
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: address='..**'
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: port=443
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: username='***'
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: password=REDACTED
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: verify_ssl=False
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: rclone_destination='onedrive:/CCTV/'
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: retention='7d'
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: rclone_args=''
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: ignore_cameras=()
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: verbose=2
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: detection_types=['motion', 'person', 'vehicle', 'ring']
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: file_structure_format='{camera_name}/{event.start:%Y-%m-%d}/{event.end:%Y-%m-%dT%H-%M-%S} {detection_type}.mp4'
2022-06-20 20:24:32 [INFO]:unifi_protect_backup.unifi_protect_backup: Starting...
2022-06-20 20:24:32 [INFO]:unifi_protect_backup.unifi_protect_backup: Checking rclone configuration...
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: rclone found: /usr/bin/rclone
2022-06-20 20:24:32 [EXTRA_DEBUG]:unifi_protect_backup.unifi_protect_backup: stdout:
onedrive:
2022-06-20 20:24:32 [EXTRA_DEBUG]:unifi_protect_backup.unifi_protect_backup: stderr:
2022/06/20 20:24:32 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "listremotes" "-vv"]
2022/06/20 20:24:32 DEBUG : Using config file from "/home/****/.config/rclone/rclone.conf"
2022/06/20 20:24:32 DEBUG : rclone: Version "v1.58.1" finishing with parameters ["rclone" "listremotes" "-vv"]
2022-06-20 20:24:32 [DEBUG]:unifi_protect_backup.unifi_protect_backup: ffprobe found: /usr/bin/ffprobe
2022-06-20 20:24:32 [INFO]:unifi_protect_backup.unifi_protect_backup: Connecting to Unifi Protect...
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: Found cameras:
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: - 615553ee: 3_Car_Port
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: - 62005277: AI 360
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: - 615ca447: 1_Driveway
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: - 6157c952: 4_Deck
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: - 6173b43c: 5_Garden
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: - 61556440: 2_Front_Door
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: Setting up purge task...
2022-06-20 20:24:33 [INFO]:unifi_protect_backup.unifi_protect_backup: Listening for events...
EVENT LOG
2022-06-20 20:34:00 [EXTRA_DEBUG]:unifi_protect_backup.unifi_protect_backup: Websocket is connected.
2022-06-20 20:34:59 [WEBSOCKET_DATA]:unifi_protect_backup.unifi_protect_backup: WSSubscriptionMessage(action=<WSAction.ADD: 'add'>, new_update_id=UUID('83d46b7f-d79c-****-aadd-37014c'), changed_data={'model': <ModelType.EVENT: 'event'>, 'id': '62b0141a', 'type': <EventType.ACCESS: 'access'>, 'start': datetime.datetime(2022, 6, 20, 10, 34, 59, 479000, tzinfo=datetime.timezone.utc), 'end': None, 'score': 0, 'heatmap_id': None, 'camera_id': None, 'smart_detect_types': [], 'smart_detect_event_ids': [], 'thumbnail_id': None, 'user_id': '62afe69b0193c103e7029e21', 'timestamp': None, 'metadata': {'client_platform': 'web', 'reason': None, 'app_update': None, 'light_id': None, 'light_name': None, 'type': None, 'sensor_id': None, 'sensor_name': None, 'sensor_type': None, 'doorlock_id': None, 'doorlock_name': None, 'from_value': None, 'to_value': None, 'mount_type': None, 'status': None, 'alarm_type': None}}, new_obj=Event(model=<ModelType.EVENT: 'event'>, id='62b040141a', type=<EventType.ACCESS: 'access'>, start=datetime.datetime(2022, 6, 20, 10, 34, 59, 479000, tzinfo=datetime.timezone.utc), end=None, score=0, heatmap_id=None, camera_id=None, smart_detect_types=[], smart_detect_event_ids=[], thumbnail_id=None, user_id='62afe6*********29e21', timestamp=None, metadata=EventMetadata(client_platform='web', reason=None, app_update=None, light_id=None, light_name=None, type=None, sensor_id=None, sensor_name=None, sensor_type=None, doorlock_id=None, doorlock_name=None, from_value=None, to_value=None, mount_type=None, status=None, alarm_type=None)), old_obj=None)
2022-06-20 20:35:00 [EXTRA_DEBUG]:unifi_protect_backup.unifi_protect_backup: Checking the status of the websocket...
2022-06-20 20:35:00 [EXTRA_DEBUG]:unifi_protect_backup.unifi_protect_backup: Websocket is connected.
Beta Was this translation helpful? Give feedback.
All reactions