More than 5 views in the montage for zmninja?

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

More than 5 views in the montage for zmninja?

Post by michaelh99 »

I've got a zm configuration with 7 active monitors but only 5 show up when go into the montage view.

I can't find any settings to control the number of view available. Oddly enough my wife's phone shows all the views.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: More than 5 views in the montage for zmninja?

Post by asker »

michaelh99 wrote:I've got a zm configuration with 7 active monitors but only 5 show up when go into the montage view.

I can't find any settings to control the number of view available. Oddly enough my wife's phone shows all the views.

1) Try hitting the refresh button in montage (two circular arrows) at the top
2) Go to developer settings, make sure Max monitors in montage is not 5
3) If you and your wife are using different login accounts in ZoneMinder, make sure your account does not have restricted monitors specified in ZM web console settings (not zmNinja)

That's all I can think of
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
clumsy
Posts: 5
Joined: Tue Nov 16, 2010 3:49 pm

Re: More than 5 views in the montage for zmninja?

Post by clumsy »

Hi

I have a similar issue. However it shows all selected cams (>20) but only 5 across. How can I tell zmNinja to arrange more than 5 cameras in one line? I'd like something as a 10 x 2 layout at the bottom of the screen...

I just realised this is about the mobile app... I try to do this on a MAC desktop.... any help appreciated!

thx, regards, and keep up the good work, great SW!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: More than 5 views in the montage for zmninja?

Post by asker »

This is a different issue. zmNinja uses 20% as the minimum scale for each image - hence 20% * 5 = 100%, which is why you can't have more than 5 monitors across. How many monitors are you looking to organize per row?
clumsy wrote:Hi

I have a similar issue. However it shows all selected cams (>20) but only 5 across. How can I tell zmNinja to arrange more than 5 cameras in one line? I'd like something as a 10 x 2 layout at the bottom of the screen...

I just realised this is about the mobile app... I try to do this on a MAC desktop.... any help appreciated!

thx, regards, and keep up the good work, great SW!
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

Re: More than 5 views in the montage for zmninja?

Post by michaelh99 »

I see what's wrong. You're counting disabled monitors when deciding how many to show in the montage.

For example, I have:

Camera1
Camera2
Camera3 (disabled)
Camera4 (disabled)
Camera5
Camera6
Camera7 (disabled)
Camera8
Camera9
Camera10

I had 10 monitors in dev settings but only 7 were showing when I opened the montage. I'm not sure how the count went from 5 to 7 except perhaps I'd rearranged the cameras in ZM, resulting in more showing up.

When I changed the max monitors to 12, all my enabled cameras showed up.

My recommendation is to not count disabled monitors in the montage. You're already filtering them out for display but you're still incrementing the counter you're using to track against the max allowed.
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

Re: More than 5 views in the montage for zmninja?

Post by michaelh99 »

One request...

When the montage view is refreshed, you maximize the views to occupy the whole screen. Could you also do this when the montage is first opened?
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: More than 5 views in the montage for zmninja?

Post by asker »

michaelh99 wrote:I see what's wrong. You're counting disabled monitors when deciding how many to show in the montage.

.

Argh. Yes, you're right
https://github.com/pliablepixels/zmNinj ... ml#L56-L57
the limit is applied before my ng-if

Good catch. I'm not a good coder, so I need good testers :)
Can you please create an issue here https://github.com/pliablepixels/zmNinja
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
clumsy
Posts: 5
Joined: Tue Nov 16, 2010 3:49 pm

Re: More than 5 views in the montage for zmninja?

Post by clumsy »

asker wrote:This is a different issue. zmNinja uses 20% as the minimum scale for each image - hence 20% * 5 = 100%, which is why you can't have more than 5 monitors across. How many monitors are you looking to organize per row?
Probably around 10 or so (meaning beeing able to go to 10% minimum scale)...

It would be grat to have 2 rows of cams on the bottom of our monitoring screen and therefore see 20 cams in total.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: More than 5 views in the montage for zmninja?

Post by asker »

done - the next release will allow you upto 10
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
clumsy
Posts: 5
Joined: Tue Nov 16, 2010 3:49 pm

Re: More than 5 views in the montage for zmninja?

Post by clumsy »

asker wrote:done - the next release will allow you upto 10
great!

BTW: why is it limited at all? Why not just make a configuration for "A x B" grid?
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: More than 5 views in the montage for zmninja?

Post by asker »

clumsy wrote: BTW: why is it limited at all? Why not just make a configuration for "A x B" grid?
long story...
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: More than 5 views in the montage for zmninja?

Post by SteveGilvarry »

I've got time :-)
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: More than 5 views in the montage for zmninja?

Post by asker »

SteveGilvarry wrote:I've got time :-)
Answer:
https://github.com/pliablepixels
Image
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply