Picture Entity Card - Create thumbnail on server

I setup 4 hikvision cameras using the generic camera config with a snapshot URL. The UI automatically created picture entity cards that show a thumbnail. Correct me if I’m wrong, but it appears that the thumbnail is simply the full sized image resized on the client. This is very bandwidth intensive and I’d prefer to have thumbnails created server side and only request a full image when I click on it. Is there a supported setup that accomplishes this? Thanks.

The picture is refreshed once every 10 sec so it shouldn’t eat your bandwidth…

Thanks for the response.

They’re high resolution pictures and there are 4 of them loading over a cell link. Link speed aside, the difference in size of the original 1920x1080 and 3840 x 2160 images vs the thumbnail size is an order of magnitude or more. It just seems sensible to resize the images before sending them to the client for thumbnail views. Surely there’s some facility in HA to do this.

How about you use the lower Res channel for the still picture and the higher res channel for the stream?


Most hikvision cameras have more than one channel (all of mines do)

Thanks. I’ve created new camera entities pointing to the low-res images. I had to use the NVR as I couldn’t find an address on the cameras to fetch a low-res image. I can get the video sub-stream, though. I guess I’ll maintain both low res and high res entities for the same cams.

How difficult would it be to add a thumbnail processing option in the config and a PIL.resize call on the server side?