This commit is contained in:
2022-04-21 09:32:57 +02:00
parent a09fd25462
commit bcc945137c
9 changed files with 121 additions and 0 deletions

7
exec_script Executable file
View 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 .