dermotduffy / frigate-hass-card

A Lovelace card for Frigate in Home Assistant
MIT License
470 stars 52 forks source link

Allow camera to start with predefined pan/zoom settings #1427

Closed Lockie85 closed 3 weeks ago

Lockie85 commented 1 month ago

Is your feature request related to a problem? Please describe. Im uncertain if this feature already exists but I'd like to be able to define a Frigate Card to be zoomed to a specific level by default. Right now you can zoom manual on a camera via scroll. However, I'd like to be able to predefine the setting so on loading a camera view it's already zoom on the area I want at the level I want.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like Within the Frigate Card settings I can define a zoom level and a point of the screen to define the centre. I assume this is roughly how the manual zoom works.

Many Thanks

Lockie85 commented 1 month ago

Can anyone help define if this is an enhancement (feature request) or already possible?

dermotduffy commented 1 month ago

Can anyone help define if this is an enhancement (feature request) or already possible?

This does not already exist and is an enhancement that needs prioritization. I have been thinking about how to do it ...

It's related to https://github.com/dermotduffy/frigate-hass-card/issues/1393 . If implemented the way I had intended in that issue, we wouldn't be able to "zoom back out" from the "pre-zoomed position" -- so now thinking maybe this way is the better choice.

Lockie85 commented 1 month ago

Can anyone help define if this is an enhancement (feature request) or already possible?

This does not already exist and is an enhancement that needs prioritization. I have been thinking about how to do it ...

It's related to #1393 . If implemented the way I had intended in that issue, we wouldn't be able to "zoom back out" from the "pre-zoomed position" -- so now thinking maybe this way is the better choice.

Thanks for the info.

"If implemented the way I had intended in that issue, we wouldn't be able to "zoom back out" from the "pre-zoomed position"" This sounds fine from my perspective, if you need to zoom all the way out then you can make another card for the same camera I guess.

dermotduffy commented 3 weeks ago

This is now implemented, and will be in the next build. As a nice side effect, you can now do things like this.

Lockie85 commented 2 weeks ago

Amazing, thanks very much!

Lockie85 commented 1 week ago

@dermotduffy out of interest, when will the next build be released?

dermotduffy commented 1 week ago

When this milestone is complete. It's slow going, but I'm hoping it won't be too long, really want to get this out the door...