Closed unhuzpt closed 3 hours ago
Sorry forgot to add: in file: /homeassistant/custom_components/tapo_control/utils.py
Thank you, you can just remove the last / in your cold path if it causes issues on your os.
I will this open so that we can do it in the code instead if the user puts in / at the end.
I had tested defining the path with /media/TapoRecordings/office and /media/TapoRecordings/office/ and always got the same error when it would put on the end of the path office// and then something like /thumbs@we or something
Hello ! Same problem for me.
Is a fix planned ? Thx in advance.
Description
Hi I am not a coder or anything like it but i kept stumbling to an issue and "solved" it after checking the error and code.
Setup: HA 2024.2.3 Tapo Control latest version 4 TP-Link C100 cameras HA running in a VM in a NAS with Skyconnect
I enabled mediasync and mapped on HA storage a NFS shared folder on the nas. All the time (sorry i do not have the error i was getting errors about the addon routine about deleting existing recordings with the time defined on the media sync. The path in the error had always double // and after i made the change below the errors stopped and media sync is working.
Reproduction Steps
Expected behavior
No errors about media deletion and path to media files after configuration is done.
If applicable, add error logs.
Sorry cleared the logs
Device Firmware
1.3.9 Build 231019 Rel.40264n(4555)
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
Synology NAS
Search for similar issues
Yes
Additional information