shelly_pool/inspect_script

7 lines
130 B
Bash
Executable File

#!/bin/bash -e
source $(dirname $0)/shelly.conf
./eval_script 'JSON.stringify(status)'
curl -s $SHELLY_RPC/Sys.GetStatus | jq .