dermotduffy / frigate-hass-card

A Lovelace card for Frigate in Home Assistant
MIT License
559 stars 59 forks source link

Show Clips and Snapshots without a reverse proxy #20

Closed corgan2222 closed 3 years ago

corgan2222 commented 3 years ago

Describe the solution you'd like It would be great if the card could use the clips and snapshot that already exists in HA (Media Browser). ATM i could only use the live view from the frigate camera entity. The clips and Snapshots can't be displayed. I don't want to expose the frigate URL to the internet (as I'm using haproxy on pfsense) only to show the latest clips, or install a seperate proxy.

Additional context I'm running frigate as an unraid docker container and use the integration in HA. HA running via haproxy on pfsense on ha.mydomain.url The frigate URL is http://192.168.x.x:5005

corgan2222 commented 3 years ago

As the request was posted at the same time, I think this is the same request https://github.com/dermotduffy/frigate-hass-card/issues/19

dermotduffy commented 3 years ago

I think it's different. #19 is about fetching the event metadata via HA, this one is about fetching the event contents via HA media browser. I had the same idea! I couldn't immediately find a way to extract the media out of the media browser to play via another means (i.e. NOT the media browser), but I'll try harder as it's a good idea.

corgan2222 commented 3 years ago

Thanks a lot! Hit me, if I can help to test!

dermotduffy commented 3 years ago

Hi all, I have a fairly complete fix for this ready. I hope to have a pre-release in the next few days.

dermotduffy commented 3 years ago

FYI: The new pre-release is available for testing

Please open new bugs/requests as appropriate