Everything works, but X10 won't fire alarm

Support and queries relating to all previous versions of ZoneMinder
Locked
themediageek
Posts: 2
Joined: Mon Dec 13, 2010 5:01 am

Everything works, but X10 won't fire alarm

Post by themediageek »

Noob here. I've setup ZM several times and settled on 1.23.3 on Ubuntu 9.0.4.
I've got two monitors running on two BTTV cards. Monitor 1 is MODECT on a camera and triggers are working nicely. Monitor 2 is NODECT with X10 activation string is 3+2 and alarm string is 3+2. I've enabled external triggers in the options. I've run

Code: Select all

tail -f /tmp/*.log
and gotten this:

Code: Select all

==> /tmp/zmtrigger.log <12> /tmp/zmx10.log <12> /tmp/zmdc.log <12> /tmp/zmx10.log <12> /tmp/zmdc.log <12> /tmp/zmx10.log <12> /tmp/zmtrigger.log <12> /tmp/zmx10.log <12>/dev/null)
Dec 12 20:50:07 roy zmc_dvideo0[1499]: INF [Split: 18000 - Capturing at 5.00 fps]
Dec 12 20:50:07 roy zma_m1[1504]: INF [Split: 18000 - Processing at 5.00 fps]
Dec 12 20:50:13 roy nullmailer[2435]: Rescanning queue.
Dec 12 20:50:13 roy nullmailer[2435]: Starting delivery: protocol: smtp host: mail.X0x0x0x0x0.dyndns-home.com file: 1292165338.25708
Dec 12 20:50:13 roy nullmailer[2386]: smtp: Failed: Connect failed
Dec 12 20:50:13 roy nullmailer[2435]: Sending failed:  Host not found
Dec 12 20:50:13 roy nullmailer[2435]: Delivery complete, 1 message(s) remain.
Dec 12 20:50:36 roy zmc_dvideo1[745]: INF [Front: 82000 - Capturing at 10.00 fps]
Dec 12 20:50:37 roy zma_m2[747]: INF [Front: 82000 - Processing at 9.90 fps]
Dec 12 20:51:13 roy nullmailer[2435]: Rescanning queue.
Dec 12 20:51:13 roy nullmailer[2435]: Starting delivery: protocol: smtp host: mail.X0x0x0x0x0.dyndns-home.com file: 1292165338.25708
Dec 12 20:51:13 roy nullmailer[2397]: smtp: Failed: Connect failed
Dec 12 20:51:13 roy nullmailer[2435]: Sending failed:  Host not found
Dec 12 20:51:13 roy nullmailer[2435]: Delivery complete, 1 message(s) remain.
I'm not too concerned with nullmailer failing at the moment, but I just can't seem to figure out how to get an X10 motion sensor trigger a recording.
Also, regarding zmtrigger.pl, I can't seem to figure out how to fire that from command line. Are the two related? I enter:

Code: Select all

zmtrigger.pl '"1|on||100|test||'
Repsonse is :

Code: Select all

Can't bind: Address already in use at /usr/share/perl5/ZoneMinder/Trigger/Connection.pm line 87
So after this mammoth post my question is this: Am I missing something on the X10 side? Is the trigger problem related? Do I need to have the External Trigger Option turned on or off in options?
One last bit of info, I am able to force an alarm from the web interface. Thanks in advance for the help.
EDIT: Sorry that's the tail from syslog, here's the tail from /tmp/*.log:

Code: Select all

==> /tmp/zmtrigger.log <12> /tmp/zmx10.log <12> /tmp/zmdc.log <12> /tmp/zmx10.log <==
12/12/2010 21:41:00.049604 zmx10[756].DBG [Loading tasks]
12/12/2010 21:41:00.050752 zmx10[756].DBG [Split has active string '3+2']
12/12/2010 21:41:00.050997 zmx10[756].DBG [Adding to device list, uc:3, ev:ON, mo:1, fu:start_active, li:2]
12/12/2010 21:41:00.051174 zmx10[756].DBG [Split has alarm input string '3+2']
12/12/2010 21:41:00.051325 zmx10[756].DBG [Adding to device list, uc:3, ev:ON, mo:1, fu:start_alarm, li:2]
12/12/2010 21:42:00.227600 zmx10[756].DBG [Loading tasks]
12/12/2010 21:42:00.228685 zmx10[756].DBG [Split has active string '3+2']
12/12/2010 21:42:00.228926 zmx10[756].DBG [Adding to device list, uc:3, ev:ON, mo:1, fu:start_active, li:2]
12/12/2010 21:42:00.229101 zmx10[756].DBG [Split has alarm input string '3+2']
12/12/2010 21:42:00.229252 zmx10[756].DBG [Adding to device list, uc:3, ev:ON, mo:1, fu:start_alarm, li:2]
12/12/2010 21:43:00.401761 zmx10[756].DBG [Loading tasks]
12/12/2010 21:43:00.402882 zmx10[756].DBG [Split has active string '3+2']
12/12/2010 21:43:00.403123 zmx10[756].DBG [Adding to device list, uc:3, ev:ON, mo:1, fu:start_active, li:2]
12/12/2010 21:43:00.403296 zmx10[756].DBG [Split has alarm input string '3+2']
12/12/2010 21:43:00.403444 zmx10[756].DBG [Adding to device list, uc:3, ev:ON, mo:1, fu:start_alarm, li:2]
Debug level is 9 on zmtrigger and zmx10.
themediageek
Posts: 2
Joined: Mon Dec 13, 2010 5:01 am

Correction: X10 Fires trigger, the instantly stops it

Post by themediageek »

After more debugging on the zmx10.pl script, it seems to fire the trigger script then instantly cancel the trigger.
Any thoughts?
Does anyone have x10 motion working?
candice
Posts: 1
Joined: Thu Dec 23, 2010 7:57 am

Post by candice »

I just joined this forum. I do not know why. I'm sorry. :lol:
Anything one man can imagine, tote bags other men can make real.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Locked