Files
Domoticz/on_event_start.sh
2025-03-06 11:09:58 +01:00

9 lines
205 B
Bash
Executable File

#!/bin/bash
echo "Debut event" >>/home/pi/motion/detection.log
json="http://localhost:81/json.htm?type=command&param=udevice&idx=240&nvalue=1"
curl -s -i -H "Accept: application/json" $json >/dev/null