This object is in archive! 
Camera motion detection arm / disarm within rules ?
Need Answer
Hi,
I'd like Zipabox to send a MOTION_ARMED=1 to my camera when Zipabox Alarm is turned on, and MOTION_ARMED=0 when Zipabox Alarm is turned off.
Meaning: when alarm is on, my camera detects moves, when off, not.
I can do this manually from my PC, I have the right URL for the camera, but when executed from the zipabox rules, it doesn't work.
URL :
(off course, replace "x" with right values)
There is also no API to do this.
Any idea ?
No connection
Real-time notifications may not work
Hi!
You should create a rule like this:
WHEN alarm any
IF alarm arm
http request (put the url to activate motion sensor on your ip cam)
ELSE
http request (put the url to stop motion sensor on your ip cam)
Hi!
You should create a rule like this:
WHEN alarm any
IF alarm arm
http request (put the url to activate motion sensor on your ip cam)
ELSE
http request (put the url to stop motion sensor on your ip cam)
Tried, and it's not working. Just like the zipabox can't talk to my cam.
Tried, and it's not working. Just like the zipabox can't talk to my cam.
Zipabox is executing rules from within a local network (as it is par of local network), and it seems you are trying to configure it to talk to camera as it is outside of the local network.
Try to get appropriate URL which works from within a local network and use this URL in the rule similar to the one which thomas described to you...
Zipabox is executing rules from within a local network (as it is par of local network), and it seems you are trying to configure it to talk to camera as it is outside of the local network.
Try to get appropriate URL which works from within a local network and use this URL in the rule similar to the one which thomas described to you...
I started with local network settings, and, didn't worked. Then I tried like if it is launched from outside my LAN, and didn't worked too...
I started with local network settings, and, didn't worked. Then I tried like if it is launched from outside my LAN, and didn't worked too...
maybe you were not using username/password within a URL, when you were trying localy. Compering to you when trying from your PC, Zipabox is not logged in to your camera when trying the same URL.
maybe you were not using username/password within a URL, when you were trying localy. Compering to you when trying from your PC, Zipabox is not logged in to your camera when trying the same URL.
OK, I did that, and now it's working. Can't believe it, but, it's working. I could swear I had tested that already!
Thanks a lot guys!!!
So, for the record, URL should look like that :
http://192.168.0.1/set_alarm.cgi?motion_armed=1&user=admin&pwd=password
(change IP, and user/password, of course)
OK, I did that, and now it's working. Can't believe it, but, it's working. I could swear I had tested that already!
Thanks a lot guys!!!
So, for the record, URL should look like that :
http://192.168.0.1/set_alarm.cgi?motion_armed=1&user=admin&pwd=password
(change IP, and user/password, of course)
Replies have been locked on this page!