disabling individual camers via CLI?
disabling individual camers via CLI?
New ZM user here. While I've found that zmpkg.pl does what I need for stopping and starting ZM from a command line, I'd like to be able to script the enabling / disabling of individual cameras, also from a command line but am unsure how. Is this possible?
Re: disabling individual camers via CLI?
If all you want to do is enable/disable, explore zmu
Code: Select all
zmu --help
marcjw wrote:New ZM user here. While I've found that zmpkg.pl does what I need for stopping and starting ZM from a command line, I'd like to be able to script the enabling / disabling of individual cameras, also from a command line but am unsure how. Is this possible?
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
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
Re: disabling individual camers via CLI?
After a lengthy hiatus I'm now finally able to properly tend to my ZM once again.
Unfortunately, it appears that zmu won't or can't suspend or disable individual cameras. The help screen has commands for both --suspend and --disable but neither seem to work. No error (or success) is returned and MODECT continues on as if nothing changed. I tried this on all 5 cameras with the same results.
There has to be a way to perform an individual camera disable (or suspend or run state) from the command line that I'm just not seeing, doesn't there?
Unfortunately, it appears that zmu won't or can't suspend or disable individual cameras. The help screen has commands for both --suspend and --disable but neither seem to work. No error (or success) is returned and MODECT continues on as if nothing changed. I tried this on all 5 cameras with the same results.
There has to be a way to perform an individual camera disable (or suspend or run state) from the command line that I'm just not seeing, doesn't there?
asker wrote:If all you want to do is enable/disable, explore zmuCode: Select all
zmu --help
marcjw wrote:New ZM user here. While I've found that zmpkg.pl does what I need for stopping and starting ZM from a command line, I'd like to be able to script the enabling / disabling of individual cameras, also from a command line but am unsure how. Is this possible?
Re: disabling individual camers via CLI?
Never mind, I'm a moron. I discovered that zmu requires root. sudo zmu -m etc works fine.