Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Cycle Cameras and set main view size. #27

Open
Tovrin opened this issue Jun 6, 2020 · 15 comments
Open

Feature Request: Cycle Cameras and set main view size. #27

Tovrin opened this issue Jun 6, 2020 · 15 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Tovrin
Copy link

Tovrin commented Jun 6, 2020

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)

@nagyrobi
Copy link

nagyrobi commented Jun 7, 2020

+1 for this

@ielbury
Copy link

ielbury commented Jun 15, 2020

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

@gbdesai2004
Copy link

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.

@niemyjski
Copy link
Collaborator

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

@niemyjski niemyjski added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jul 3, 2020
@stingly
Copy link

stingly commented Sep 16, 2020

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
Copy link

stingly commented Sep 16, 2020

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.

@niemyjski
Copy link
Collaborator

@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.

@Pilarmb93
Copy link

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
Copy link

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?

@niemyjski
Copy link
Collaborator

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

@Pilarmb93
Copy link

@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.

@stingly
Copy link

stingly commented Oct 19, 2022

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

@Pilarmb93
Copy link

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

@niemyjski
Copy link
Collaborator

@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

@Pilarmb93
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants