inspect outputs system status

This commit is contained in:
Gilles Grandou 2022-04-24 16:19:59 +02:00
parent 729dad3fe9
commit 33d79e48f2

View File

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