JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
953 stars 80 forks source link

Unknown error when trying to access files from a camera that's offline in the Media library #527

Closed vaihelvette closed 4 months ago

vaihelvette commented 4 months ago

Description

I get "Unknown error" when i try to access files from a camera that's offline in the Media library. I have "enabled media synchronisation". I have 2 cameras with media sync enabled and just one camera down at the moment. I can access the files with in the media library with no problem from the camera that is online. I have the files locally on the home assistant. I can ses the files from both cameras locally when i list them in a ssh terminal.

Reproduction Steps

Turn off one camera Go to the offline camera in the Media library in home assistant.

Expected behavior

View the recordings that is synced.

If applicable, add error logs.

fel_home

Device Firmware

1.3.11

Integration Version

5.4.14

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Generic x86-64

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 4 months ago

Recordings do not work when camera is offline by design. If you would like, please open new feature request, no promises on when it will be done though as by design, this is a sync, not a copy, so it always uses the latest information from camera and would require major rewrite.