Search found 5 matches

by igor
Thu Mar 27, 2008 8:45 pm
Forum: ZoneMinder Previous Versions
Topic: run command when an even ocurrs / trigger event with command
Replies: 12
Views: 14496

Thanks azir, you were right. www-data (my webserver user) had no access to /dev/ttyACM0, now I set the correct chmod and it works. :D
by igor
Thu Mar 27, 2008 6:28 pm
Forum: ZoneMinder Previous Versions
Topic: run command when an even ocurrs / trigger event with command
Replies: 12
Views: 14496

Created /tmp/somefile.log chmod 777 #!/bin/sh /usr/bin/gnokii --config /etc/gnokiirc --dialvoice 38070xxxxx date > /tmp/somefile.log echo "I was called as $@" >> /tmp/somefile.log When an the event occurs it writes somefile.log correctly and exit normally. This is the log output: 03/27/08 ...
by igor
Wed Mar 26, 2008 5:57 pm
Forum: ZoneMinder Previous Versions
Topic: run command when an even ocurrs / trigger event with command
Replies: 12
Views: 14496

I created /usr/share/zoneminder/zm_sendsms.sh that contains echo 'message here' | gnokii --config /etc/gnokiirc --sendsms 38070xxxxx with 755 permissions and created a filter: images in alarm >= 1, command to execute: "zm_sendsms.sh" I tried also the full path /usr/share/zoneminder/zm_send...
by igor
Wed Mar 26, 2008 3:48 pm
Forum: ZoneMinder Previous Versions
Topic: run command when an even ocurrs / trigger event with command
Replies: 12
Views: 14496

Hi, I have configured a filter that runs a command when an event occurs but it doesn't work. I need it for run gnokii that sends me an sms: $ echo 'message here' | gnokii --config /etc/gnokiirc --sendsms PhoneNumber I tried to run other command and it doesn't work yet but if I select the "Email...
by igor
Tue Mar 11, 2008 6:10 pm
Forum: ZoneMinder Translations
Topic: italian translation
Replies: 14
Views: 32829

Hi all, I'm ready to help in italian translation .
The new version of ZoneMinder has updated italian translation?