mirror of https://github.com/nymea/nymea.git
add iscloudconnected script
parent
71cc5452fc
commit
a29c8fe55d
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -z $1 ]; then
|
||||
echo "usage $0 host"
|
||||
else
|
||||
(echo '{"id":1, "method":"JSONRPC.IsCloudConnected"}'; sleep 1) | nc $1 2222
|
||||
fi
|
||||
Loading…
Reference in New Issue