Opened 16 years ago
Closed 16 years ago
#5276 closed enhancement (fixed)
Allows Monitor function changes (modect, monitor, none,...)
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythzoneminder | Version: | 0.21-fixes |
Severity: | medium | Keywords: | monitor function zoneminder |
Cc: | Ticket locked: | no |
Description
This patch allows you to change the cameras Monitor function from mythzoneminders console screen. The functions available are the same as available in the default zoneminder web interface.
- Monitor
- Modect
- Nodect
- Record
- Mocord
- None
I found this handy as i sometimes wanted to quickly disable motion detection from within myth without having to open a browser and log into the zm web interface. Any suggestions greatly appreciated :)
Attachments (3)
Change History (6)
Changed 16 years ago by
Attachment: | zoneminder_monitor_function_v1.patch added |
---|
Changed 16 years ago by
Attachment: | zoneminder_monitor_function_v2.patch added |
---|
mythzoneminder monitor function patch v2 - commented code slipped in in v1 patch. Now removed.
comment:1 Changed 16 years ago by
Jim, thanks for the patch.
I have one question though. Is setting the monitor function in the database enough? Don't you have to restart the daemons for the new function to take effect?
I think you may be able to do that by running 'zmdc.pl'.
comment:2 Changed 16 years ago by
Yep...your spot on. Of course the daemons need to be refreshed. What was i thinking (ok...don't answer that) :)
So zoneminder_monitor_function_v3.patch should take care of the stopping/(re)starting of the relevant daemons. Basically just ported the logic from the zm_funcs php script.
New patch also adds the ability to enable/disable the monitor from the popup, as well as select the function.
More suggestions appreciated.
Changed 16 years ago by
Attachment: | zoneminder_monitor_function_v3.patch added |
---|
Adds zm daemon stop/(re)start upon function change. Enable/disable of monitor from popup.
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
mythzoneminder monitor function patch