blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
17.7k stars 1.62k forks source link

[Support]: API in Safari (macos, ios) not showing thumbnails in Home Assistant #8837

Closed rici44 closed 9 months ago

rici44 commented 9 months ago

Describe the problem you are having

API in Safari (macos, ios) not showing thumbnails in Home Assistant. In Google Chrome and Safari thumbnails are working correctly. The same situation is when using LAN and also external url. Home Assistant and Frigate are installed in docker under Ubuntu linux.

Version

0.12.1-367D724

Frigate config file

Frigate is working correctly, but thumbnails are not showing in Safari browser.

Relevant log output

Frigate is working correctly, but thumbnails are not showing in Safari browser.

FFprobe output from your camera

Frigate is working correctly, but thumbnails are not showing in Safari browser.

Frigate stats

Frigate is working correctly, but thumbnails are not showing in Safari browser.

Operating system

Other Linux

Install method

Docker Compose

Coral version

USB

Network connection

Wired

Camera make and model

On any camera

Any other information that may be helpful

No response

NickM-27 commented 9 months ago

Where are you looking for thumbnails in home assistant?

rici44 commented 9 months ago

Settimg > Devices > Frigate > Cam1 (see attached screenshot)

On Sat, 2 Dec 2023 at 19:18, Nicolas Mowen @.***> wrote:

Where are you looking for thumbnails in home assistant?

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/8837#issuecomment-1837220672, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4JDDSGAJZBHMMUKBRQIQ53YHNWGZAVCNFSM6AAAAABAEFOKMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGIZDANRXGI . You are receiving this because you authored the thread.Message ID: @.***>

NickM-27 commented 9 months ago

I don't see any attached screenshot

rici44 commented 9 months ago

From Safari browser image

From Chrome browser

Screenshot 2023-12-02 at 22 05 34
NickM-27 commented 9 months ago

what about Cam1 Dog in chrome?

rici44 commented 9 months ago

without thumbnail

On Sat, 2 Dec 2023 at 22:23, Nicolas Mowen @.***> wrote:

what about Cam1 Dog in chrome?

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/8837#issuecomment-1837256979, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4JDDSAAGQGXLVZGJOOGLW3YHOL5BAVCNFSM6AAAAABAEFOKMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGI2TMOJXHE . You are receiving this because you authored the thread.Message ID: @.***>

rici44 commented 9 months ago

in chrome with thumbnail in safari without

On Sat, 2 Dec 2023 at 22:39, Richard Hlavňa @.***> wrote:

without thumbnail

On Sat, 2 Dec 2023 at 22:23, Nicolas Mowen @.***> wrote:

what about Cam1 Dog in chrome?

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/8837#issuecomment-1837256979, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4JDDSAAGQGXLVZGJOOGLW3YHOL5BAVCNFSM6AAAAABAEFOKMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGI2TMOJXHE . You are receiving this because you authored the thread.Message ID: @.***>

NickM-27 commented 9 months ago

not seeing any examples in your last messages

rici44 commented 9 months ago

In Safari

Screenshot 2023-12-02 at 22 53 23

in chrome

Screenshot 2023-12-02 at 22 53 34
NickM-27 commented 9 months ago

Okay thanks for confirming, I would suggest creating an issue on home assistant frontend as frigate does not control what is displayed there

https://github.com/home-assistant/frontend

rici44 commented 9 months ago

Thanks @NickM-27 I will.

rici44 commented 8 months ago

@NickM-27 I tested other thumbnails in HA using Safari browser and same Street Cam Car detection with these results:

HA > Media > Camera > Street Car (no thumbnail)

Screenshot 2023-12-03 at 09 30 55

HA > Media > Frigate > Snapshots > Today > Street Car (with thumbnail)

Screenshot 2023-12-03 at 09 31 44

HA > Cam Page (view on lovelace) > Street Car Cam (no thumbnail)

Screenshot 2023-12-03 at 09 38 30

Could the problem not showing thumbnails be connected to Safari and API of Frigate if other thumbnails from media folders are showing correctly?

NickM-27 commented 8 months ago

The integration connects to frigate's API and the fact that it works in chrome confirms thar works. At that point it's either a browser or home assistant issue

blakeblackshear commented 8 months ago

Could be something like this: https://stackoverflow.com/questions/57874197/base64-image-not-showing-up-breaking-in-safari