shelly_pool/inspect_script

7 lines
130 B
Plaintext
Raw Permalink Normal View History

2022-04-21 09:32:57 +02:00
#!/bin/bash -e
2022-04-24 16:19:59 +02:00
source $(dirname $0)/shelly.conf
2022-04-21 09:32:57 +02:00
./eval_script 'JSON.stringify(status)'
2022-04-24 16:19:59 +02:00
curl -s $SHELLY_RPC/Sys.GetStatus | jq .