I have an IP based intercom, whenever someone calls, that triggers an alarm in zoneminder by calling:
Code: Select all
echo '7|on+60|255|intercom_pressed|intercom'|nc 192.168.0.12 6802
However, many times (not always) the alarm state is not cancelled after 60 seconds (as requested) but goes on forever.
Here are some logs
Code: Select all
11:35:47 localhost zmtrigger[7807]: INF [Trigger 'on' 'intercom_pressed']
11:35:47 localhost zma_m7[19851]: INF [Calle: 1952582 - Gone into alarm state]
11:35:47 localhost zma_m7[19851]: INF [Calle: 1952582 - Opening new event 94141, alarm start]
11:35:50 localhost zmdc[10308]: ERR ['zmtrigger.pl ' exited abnormally, exit status 9]
11:35:50 localhost zmdc[10308]: INF [Starting pending process, zmtrigger.pl]
11:35:50 localhost zmdc[10462]: INF ['zmtrigger.pl' started at 12/03/20 11:35:50]
11:35:50 localhost zmdc[10308]: INF ['zmtrigger.pl' starting at 12/03/20 11:35:50, pid = 10462]
11:35:52 localhost zmtrigger[10462]: INF [Trigger daemon starting]
11:35:52 localhost zmtrigger[10462]: INF [Opening connection 'Chan1']
11:35:52 localhost zmtrigger[10462]: INF [Opening connection 'Chan2']
Any help is greatly appreciated.
Thanks.