shelly_pool/exec_script
2022-09-01 21:29:38 +02:00

8 lines
159 B
Bash
Executable File

#!/bin/bash
source $(dirname $0)/shelly.conf
curl -s "$SHELLY_RPC/Script.Stop?id=$SCRIPT_ID" | jq .
curl -s "$SHELLY_RPC/Script.Start?id=$SCRIPT_ID" | jq .