script towards domoticz
Posted: Mon Sep 10, 2018 12:56 pm
Hi all,
Hopefully there is someone who can help me out here.
I am fairly new to zoneminder bu I am already hooked. I got my first camera up and running and its working like a charm.
I've read a lot of things about setting up filters that start a script but I have no ide how to set this up.
I set a filter that when detection is noticed a scripts needs to be run towards domoticz.
the idea is to set a virtual switch when zoneminder is sees movement.
The curl that needs to be run is as follows:
curl http://DOMOTICZIP:PORT/json.htm?param=switchlight&type=command&idx=58&switchcmd=On
can someone tell me how to set this up?
thanks in advance!
Hopefully there is someone who can help me out here.
I am fairly new to zoneminder bu I am already hooked. I got my first camera up and running and its working like a charm.
I've read a lot of things about setting up filters that start a script but I have no ide how to set this up.
I set a filter that when detection is noticed a scripts needs to be run towards domoticz.
the idea is to set a virtual switch when zoneminder is sees movement.
The curl that needs to be run is as follows:
curl http://DOMOTICZIP:PORT/json.htm?param=switchlight&type=command&idx=58&switchcmd=On
can someone tell me how to set this up?
thanks in advance!