Page 1 of 1

If one monitor detects motion, record on all monitors. Allow circular dependencies with linked monitors

Posted: Sun Jan 14, 2024 5:17 pm
by smoothmission
Linked Monitors does not allow circular dependencies, which could be useful. If two monitors are linked together, both ways, ZM should allow that if one of them detects motion, the other will get alarmed and vice-versa.

Unrelated question: Why does zm poll onvif every ten seconds and not more frequently, doesn't this mean events will get 10 second delay at times?
zm_monitor.cpp:1908

Code: Select all

  std::this_thread::sleep_until(loop_start_time + std::chrono::seconds(10));

Re: If one monitor detects motion, record on all monitors. Allow circular dependencies with linked monitors

Posted: Sun Jan 14, 2024 10:24 pm
by iconnor
There is nothing stopping you from setting up the circular dependency, but you will find in 1.36 that once one fires, they will all just keep triggering each other and endlessly recording.

In 1.37, you can actually link to a specific zone, which should prevent the endless recording.

Re: If one monitor detects motion, record on all monitors. Allow circular dependencies with linked monitors

Posted: Mon Jan 15, 2024 12:47 am
by smoothmission
I solely use ONVIF motion events so zones are not relevant, or could they still be used somehow?
I'd prefer if linked alarms were flagged and looked for to not cause any circular alarms.

Re: If one monitor detects motion, record on all monitors. Allow circular dependencies with linked monitors

Posted: Mon Jan 15, 2024 10:30 pm
by iconnor
I'm happy to accept PRs.