first commit
This commit is contained in:
8
on_event_start.sh
Executable file
8
on_event_start.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Debut event" >>/home/pi/motion/detection.log
|
||||
|
||||
|
||||
json="http://localhost:81/json.htm?type=command¶m=udevice&idx=240&nvalue=1"
|
||||
curl -s -i -H "Accept: application/json" $json >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user