shelly_pool/exec_script

8 lines
159 B
Plaintext
Raw Normal View History

2022-04-21 09:32:57 +02:00
#!/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 .