Start commande after alarm

Forum for questions and support relating to the 1.27.x releases only.
Post Reply
fennec
Posts: 39
Joined: Thu Mar 20, 2014 1:17 am

Start commande after alarm

Post by fennec » Fri Sep 26, 2014 4:46 pm

Hi

I have two cam

When alarm is detected on camera "derriere"

I wan t to start this command

Code: Select all

#!/usr/bin/python
import urllib2
urllib2.urlopen("http://10.0.0.1:8080/json.htm?type=command&param=switchlight&idx=43&switchcmd=On")
So i create filters and start command but nothing

Do you have a example for start command after alarm

Thanks

bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Start commande after alarm

Post by bb99 » Sun Sep 28, 2014 2:35 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests