Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Unifi Protect media in Gallery #43

Open
wvdeadhead opened this issue Sep 21, 2022 · 3 comments
Open

Question: Unifi Protect media in Gallery #43

wvdeadhead opened this issue Sep 21, 2022 · 3 comments

Comments

@wvdeadhead
Copy link

Are you aware of a way to integrate the media from the Unifi Protect integration into the card? I would love to use this for my Unifi cameras and have an integration similar to https://github.com/dermotduffy/frigate-hass-card.

I've tried multiple media-source paths but can't quite seem to figure it out.

@TarheelGrad1998
Copy link
Owner

I'm not familiar with Unifi Protect explicitly. Are the videos somewhere you can add a symbolic link or similar?

This is what I have done for Synology Surveillance Station:
First, added the volume link into the docker container
Then add that volume as a media source in confinguration.yaml:

  media_dirs:
    surveillance: /mnt/media/surveillance

Then add that media source as an entity on the card:

entities:
  - path: media-source://media_source/surveillance/
    recursive: true

I have on my to-do list adding other media source, such as from the media browser, but haven't gotten around to that yet.

@wvdeadhead
Copy link
Author

Thanks @TarheelGrad1998, I was trying to use the built in media sources paths from the HASS gui. I'll see if there's a way I can map the directory in the config like you mentioned.

Nice project btw. I appreciate people like you helping out the community.

@stefanschaedeli
Copy link

Thanks @TarheelGrad1998, I was trying to use the built in media sources paths from the HASS gui. I'll see if there's a way I can map the directory in the config like you mentioned.

I fully agree, would be nice if this galary card could display the content of the media browser (where other integrations did all the work already to make it available :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants