Search found 2 matches

by oscar69
Wed Feb 20, 2013 4:04 pm
Forum: ZoneMinder 1.24.x
Topic: Power off Cam & Signal lost
Replies: 0
Views: 2259

Power off Cam & Signal lost

I have 2 cams in my house as security surveillance, but I don't like to be monitored while I'm at home :) So, I builded a system to activare/deactivate zm, based on iButton. When the iButton is present and recognized as allowed, I power on|off the power-over-ethernet cams, and also start|stop the zm ...
by oscar69
Wed Feb 20, 2013 3:37 pm
Forum: ZoneMinder 1.24.x
Topic: HTTP post commands for ZM
Replies: 2
Views: 4190

Re: HTTP post commands for ZM

I'm doing something like that with curl. I switch the the cam from Function "Modect" to Function "None" via curl. Here is my script "controlcam.sh" : #!/bin/bash JOB="$0" COMMAND="$1" shift case $COMMAND in on) curl -s -c /tmp/curl_coockie_zm.txt "http ://127.0.0.1/zm/index.php" -d "action=login ...