nymea/tests/getconfigureddevices.sh

4 lines
101 B
Bash
Executable File

#!/bin/bash
(echo '{"id":1, "method":"Devices.GetConfiguredDevices"}'; sleep 1) | nc localhost 1234