Recorded videos in Lovelace? #642
-
IssuesI'd like to use gallery card to display a gallery of recorded videos in Lovelace, but I cannot find a way to make it works.
Attempt instructions
homeassistant:
media_dirs:
tapo: /config/www/tapo_control
type: custom:gallery-card
entities:
- path: media-source://media_source/tapo
recursive: true
show_controls: true
include_images: false
include_video: true
autoplay: true
interval: 5000 ResultsThe folder is automatically emptied, so I'm unable to see any video listed in the gallery card integration unless I recently played one from the media sources or it's being synchronized. Expected resultsHaving a folder with 1h of videos synced, accessible from the gallery card integration. I'm sure I'm missing something super obvious, but I'm bashing my head in circle without reaching any solution. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This works like this on purpose because of privacy reasons. Hot storage /config/www/tapo_control will be always emptied out after 1 hour and has further obfuscation in place to prevent anyone guessing the file name and path. |
Beta Was this translation helpful? Give feedback.
This works like this on purpose because of privacy reasons. Hot storage /config/www/tapo_control will be always emptied out after 1 hour and has further obfuscation in place to prevent anyone guessing the file name and path.
What you can do is set cold storage to something else, like /config/www/tapo_control_cold_storage and then it will stay but your recordings will be accessible WITHOUT authorization to everyone who can access your HA host, provided they know the path to the cold storage "/config/www/tapo_control_cold_storage" so I recommend setting it to a random folder string name at least.