tools
This commit is contained in:
7
exec_script
Executable file
7
exec_script
Executable file
@ -0,0 +1,7 @@
|
||||
#!/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 .
|
||||
|
Reference in New Issue
Block a user