Hi
I am not sure what the issue is with x10 under Zoneminder I mean the options are there under the the config but it simply does not work.
I have writen a bash script that starts a Forced alarm that I wanted to start from the zmx10.pl script, but when I start the bash script I noticed that the zmx10.pl script stops the recording.
Code: Select all
#!/bin/bash
set `zmu -m 1 -s` 'zmu -m 1 -a'
if [ $1 -eq 0 ]; then $2
else
echo "not recording"
fi
14/12/2008 11:23:06.417773 zmx10[5332].DBG [cam-0 has active string '1']
14/12/2008 11:23:06.418014 zmx10[5332].DBG [Adding to device list, uc:1, ev:ON, mo:1, fu:start_active, li:0]
14/12/2008 11:23:06.418222 zmx10[5332].DBG [Adding to device list, uc:1, ev:OFF, mo:1, fu:stop_active, li:0]
14/12/2008 11:23:06.418407 zmx10[5332].DBG [cam-0 has alarm input string '1']
14/12/2008 11:23:06.418589 zmx10[5332].DBG [Adding to device list, uc:1, ev:ON, mo:1, fu:start_alarm, li:0]
14/12/2008 11:23:06.418775 zmx10[5332].DBG [Adding to device list, uc:1, ev:OFF, mo:1, fu:stop_alarm, li:0]
14/12/2008 11:23:28.947848 zmx10[5332].INF [Got event - A01 ON]
14/12/2008 11:24:03.746723 zmx10[5332].DBG [Applying ON_list for 1]
14/12/2008 11:24:06.746760 zmx10[5332].DBG [Loading tasks]
14/12/2008 11:24:06.747756 zmx10[5332].DBG [cam-0 has active string '1']
14/12/2008 11:24:06.748002 zmx10[5332].DBG [Adding to device list, uc:1, ev:ON, mo:1, fu:start_active, li:0]
14/12/2008 11:24:06.748210 zmx10[5332].DBG [Adding to device list, uc:1, ev:OFF, mo:1, fu:stop_active, li:0]
14/12/2008 11:24:06.748398 zmx10[5332].DBG [cam-0 has alarm input string '1']
14/12/2008 11:24:06.748583 zmx10[5332].DBG [Adding to device list, uc:1, ev:ON, mo:1, fu:start_alarm, li:0]
14/12/2008 11:24:06.748777 zmx10[5332].DBG [Adding to device list, uc:1, ev:OFF, mo:1, fu:stop_alarm, li:0]
14/12/2008 11:24:16.737879 zmx10[5332].INF [Got event - A01 ON]
14/12/2008 11:24:18.536702 zmx10[5332].DBG [Applying OFF_list for 1]
What does need to happen for the config via web frontend to actually work.
now this makes me think that the zmx10.pl list only works when already recording or something in that lines.
Here is my monitor config:
Code: Select all
sudo zmu -m 1 -q
Id : 1
Name : cam-0
Type : Local
Device : /dev/video0
Channel : 0
Format : 0
Width : 640
Height : 480
Palette : 4
Colours : 3
Event Prefix : Event-
Label Format : %N - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Stream Replay Buffer : 1000
Alarm Frame Count : 1
Section Length : 600
Maximum FPS : 5.00
Alarm Maximum FPS : 25.00
Reference Blend %ge : 7
Track Motion : 0
Function: 6 - Externally Triggered only, no Motion Detection
Zones : 1
Id : 1
Label : All
Type: 1 - Active
Shape : 4 points
0: 0,0
1: 639,0
2: 639,479
3: 0,479
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 9216
Max Alarm Pixels : 230400
Filter Box : 3,3
Min Filter Pixels : 9216
Max Filter Pixels : 230400
Min Blob Pixels : 6144
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0
Please assist if posible.
Thank you
Kind Regards