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

Issue when disabling all cameras in zmES settings of zmNinja #1050

Closed
pliablepixels opened this issue Mar 7, 2021 · 0 comments
Closed

Issue when disabling all cameras in zmES settings of zmNinja #1050

pliablepixels opened this issue Mar 7, 2021 · 0 comments
Labels

Comments

@pliablepixels
Copy link
Member

pliablepixels commented Mar 7, 2021

As reported by a user:

Original Issue:

Could you please take a look at the attached logs. I can't see anything wrong yet I have an issue. Hitting "save" from the zmNinja settings fails to actually save changes made under Event Sever. It will not persist changes for "report events" for each of my 4 cameras.

More precisely:

  1. Use event server is enabled
  2. report events for all 4 cameras is checked.
  3. uncheck report events for all 4 camera (or any subset of the 4)
  4. click save
  5. recheck, and all cameras are still checked for report events.

The issue seems to be somewhat sporadic. Sometimes it works and sometimes it does not. Events are received so I know everything else seems to be working except for the ability to stop the reports. Unchecking "use event server" is persisted correctly. The attached logs were taken shortly after clicking "save" when the issue occurred.

Subsequent Analysis:

I've made progress in understanding the issue. The issue only occurs when disabling "report events" for all defined cameras. I have 4 cameras in the system.

Examples:
Only camera 1 is enabled. Disable camera 1. Recheck. All cameras are enabled. Unexpected result.
All 4 cameras enabled. Disable all 4 cameras. Recheck. All cameras are enabled. Unexpected result.
Camera 1 and 4 are enabled. Disable camera 1. Recheck. Only camera 4 enabled. Expected result.

The work around is easy: If you wish to disable event reporting on all cameras, simply uncheck "Use event server" instead of disabling event reporting for each camera. I suspect this may be enough of a clue for you to figure it out. I also suspect it may be repeatable with other systems. I've attached the zmNinja logs when only camera 1 was enabled and I disabled it. If you would still like to see the debug logs from the server side, please let me know and I'll provide that as well.

maymaymay added a commit to maymaymay/zmNinja that referenced this issue Mar 16, 2021
pliablepixels added a commit that referenced this issue Mar 17, 2021
#1050 don't allow all monitors to be disabled in ES, show monitor sub…
pliablepixels added a commit that referenced this issue Mar 17, 2021
#1050 don't allow all monitors to be disabled in ES, show monitor sub…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant