zmtrigger can't find monitor

Forum for questions and support relating to the 1.30.x releases only.
Locked
ianj001
Posts: 3
Joined: Sun Oct 30, 2016 9:53 pm

zmtrigger can't find monitor

Post by ianj001 »

I have a working installation of zoneminder 1.30 on Ubuntu 16.04LTS I am using a Wansview NCB541W camera and both the stream and PTZ are working great (after lots of learning iterations).

I want to be able to cause the camera to record from Openhab2 using the exec binding and a zmtrigger. I have researched the triggers and it seems simple enough to call with the following syntax:

2|on+10|1|text|showtext

Where the '2' is the MonitorID.

I found the monitor id by both looking in my syslog and seeing this: zmc_m2[4033]: INF [Living-Room: 35000 - Capturing at 9.26 fps]
and hovering over the monitor in zoneminder and looking at the bottom of the browser page to see view=watch&mid=2

When I run the command, I get the following entry in my syslog (and other zoneminder logs)

zmtrigger[1305]: WAR [Can't find monitor '2' for message '2|on+10|1|text|showtext']

I set up a script that would allow me to try ID's from 1 to 10 and each time I got the same result.

What am I doing wrong?
Is there a way to get the zmtrigger to confirm what monitors are available?
I only have one set up at the moment and I can't seem to get this zmtrigger to work.
Any and all help is greatly appreciated.
ianj001
Posts: 3
Joined: Sun Oct 30, 2016 9:53 pm

Re: zmtrigger can't find monitor

Post by ianj001 »

I figured it out for myself. I reread the material and you must have the camera function as "nodect" or it won't work.
I am not sure why not having it in nodect made it unable to find the monitor.

It works like a champ now, I can cause the camera to record from OpenHab2
Locked