nymea/tests/getsupporteddevices.sh

4 lines
100 B
Bash
Executable File

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