surveillance-card icon indicating copy to clipboard operation
surveillance-card copied to clipboard

Feature Request: Cycle Cameras and set main view size.

Open Tovrin opened this issue 4 years ago • 15 comments

As I don't motion control with my cameras, it would be handy just to be able to cycle through the cameras, and set the interval.

The second one, I'm not sure if it's already possible, but the picture size is only very small. Is it possible to set the size, or have it dynamically sized to take up space available (and maintain aspect ratio, of course)

Tovrin avatar Jun 06 '20 01:06 Tovrin

+1 for this

nagyrobi avatar Jun 07 '20 14:06 nagyrobi

It would be great if it could switch to cycle some time after the last motion.

ielbury avatar Jun 15 '20 15:06 ielbury

Yes, I second that. Cycle a set of cameras ever n time, then when there is motion switch to the camera with motion and follow it from camera to camera till some sort of timeout after motion stops, then back to cycling.

gbdesai2004 avatar Jun 30 '20 18:06 gbdesai2004

Good idea, any takers for submitting a pr once #28 is merged in?

niemyjski avatar Jul 03 '20 19:07 niemyjski

I have made some changes to my local file to enable automatic transitioning to the next camera in the list, controlled by a new attribute in the lovelace yaml file. I'm quite happy to create a PR for it, but I don't have motion sensors on my cameras so cannot test how that would work with my new code.

I think that it will switch to the motion-detected camera and then move on after n time to the next in the list...

stingly avatar Sep 16 '20 09:09 stingly

I attempted to push my branch to the repository but I guess I need to be allowed to do that as I get this error:

ERROR: Permission to custom-cards/surveillance-card.git denied to stingly.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

stingly avatar Sep 16 '20 10:09 stingly

@stingly really sorry I just saw this. Please open a pr for this, you can do so by forking this repo and pushing to your fork. GitHub will then open a pr for this.

niemyjski avatar Oct 15 '22 12:10 niemyjski

Sí, secundo eso. Realice un ciclo de un conjunto de cámaras cada n tiempo, luego, cuando haya movimiento, cambie a la cámara con movimiento y sígalo de cámara en cámara hasta algún tipo de tiempo de espera después de que el movimiento se detenga, luego vuelva al ciclo.

Does anyone know if this improvement has been made? It would be very good for me.

Pilarmb93 avatar Oct 17 '22 08:10 Pilarmb93

As I don't motion control with my cameras, it would be handy just to be able to cycle through the cameras, and set the interval.

The second one, I'm not sure if it's already possible, but the picture size is only very small. Is it possible to set the size, or have it dynamically sized to take up space available (and maintain aspect ratio, of course)

Regarding the resizing to fit the available space, is there any progress?

Pilarmb93 avatar Oct 17 '22 08:10 Pilarmb93

@Pilarmb93 no, there hasn't been any pr's for this opened.

niemyjski avatar Oct 17 '22 12:10 niemyjski

@Pilarmb93 no, there hasn't been any pr's for this opened.

What a pity. This is very necessary. Hopefully @stingly sees it and shares his changes with us.

Pilarmb93 avatar Oct 19 '22 14:10 Pilarmb93

I've pushed up my changes (I think) - PR #59 - My code is probably very out of date now though as I solved this 2 years ago... I've not been using Home Assistant for over a year at this point, so I apologise if the code is unusable

stingly avatar Oct 19 '22 15:10 stingly

I've pushed up my changes (I think) - PR #59 - My code is probably very out of date now though as I solved this 2 years ago... I've not been using Home Assistant for over a year at this point, so I apologise if the code is unusable

@niemyjski the PR is already

Pilarmb93 avatar Oct 21 '22 12:10 Pilarmb93

@stingly @Pilarmb93 there are merge conflicts. I also feel like this may need a setting to enable it. Can you please work on fixing this @Pilarmb93

niemyjski avatar Oct 21 '22 13:10 niemyjski

@niemyjski I don't know how to do that, sorry. I will continue to search for an integration that can offer me what I need. Thanks.

Pilarmb93 avatar Oct 27 '22 09:10 Pilarmb93